Skip to content

Commit 5326cf1

Browse files
author
Andrew Delikat
committed
Initial commit
0 parents  commit 5326cf1

39 files changed

+3158
-0
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-pro

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.idea/*
2+
/.bundle/
3+
/.yardoc
4+
Gemfile.lock
5+
/_yardoc/
6+
/coverage/
7+
/doc/
8+
/spec/reports/
9+
/tmp/
10+
*.DS_Store
11+
.ruby-version

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule ".arcanist-extensions"]
2+
path = .arcanist-extensions
3+
url = https://github.com/tagview/arcanist-extensions.git

.rspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
--format documentation
2+
--color

.rubocop.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Metrics/AbcSize:
2+
Enabled: false
3+
4+
Metrics/CyclomaticComplexity:
5+
Enabled: false
6+
7+
Metrics/PerceivedComplexity:
8+
Enabled: false
9+
10+
Metrics/ClassLength:
11+
Enabled: false
12+
13+
Metrics/LineLength:
14+
Max: 120
15+
16+
Metrics/MethodLength:
17+
Enabled: false
18+
19+
Style/AccessorMethodName:
20+
Enabled: false
21+
22+
Style/Documentation:
23+
Enabled: false
24+
25+
Style/FormatString:
26+
Enabled: false
27+
28+
Style/SignalException:
29+
EnforcedStyle: only_raise
30+
31+
Style/SpaceInsideHashLiteralBraces:
32+
EnforcedStyle: no_space
33+
34+
Style/WordArray:
35+
Enabled: false

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: ruby
2+
rvm:
3+
- 2.0.0
4+
before_install: gem install bundler -v 1.10.6
5+
branches:
6+
only:
7+
- master
8+
install:
9+
- bundle install
10+
- bundle exec rake install
11+
script: "rake spec"
12+
after_success: "coveralls"

CHANGELOG

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-------------------------------------------------------------------------------
2+
0.1.1
3+
* Add option to skip JSON schema validation of datafile.
4+
* Update datafile JSON schema.
5+
-------------------------------------------------------------------------------
6+
7+
-------------------------------------------------------------------------------
8+
0.1.0
9+
* Beta release of the Node SDK for server-side testing.
10+
* Properly handle tracking events without valid experiments attached.
11+
-------------------------------------------------------------------------------

CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#Contributing to the Optimizely Ruby SDK
2+
We welcome contributions and feedback! Please read the [README](README.md) to set up your development environment, then read the guidelines below for information on submitting your code.
3+
4+
##Development process
5+
6+
1. Create a branch off of `master`: `git checkout -b YOUR_NAME/branch_name`.
7+
2. Commit your changes. Make sure to add tests!
8+
3. `git push` your changes to GitHub.
9+
4. Make sure that all unit tests are passing and that there are no merge conflicts between your branch and `master`.
10+
5. Open a pull request from `YOUR_NAME/branch_name` to `master`.
11+
6. A repository maintainer will review your pull request and, if all goes well, merge it!
12+
13+
##Pull request acceptance criteria
14+
15+
* **All code must have test coverage.** We use rspec. Changes in functionality should have accompanying unit tests. Bug fixes should have accompanying regression tests.
16+
* Tests are located in `/spec` with one file per class.
17+
* Please don't change the Rakefile or VERSION. We'll take care of bumping the version when we next release.
18+
* Lint your code with our [RuboCop rules](.rubocop.yml) before submitting.
19+
20+
##Style
21+
To enforce style rules, we use RuboCop. See our [rubocop.yml](.rubocop.yml) for more information on our specific style rules.
22+
23+
##License
24+
25+
By contributing your code, you agree to license your contribution under the terms of the [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0).
26+
27+
##Contact
28+
If you have questions, please contact developers@optimizely.com.

Gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in optimizely-sdk.gemspec
4+
gemspec
5+
gem 'coveralls', require: false
6+
gem 'murmurhash3'
7+
gem 'webmock'

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2016 Optimizely
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

0 commit comments

Comments
 (0)