eight_ball 1.0.0 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e72251f479d9b7709d48d560535bb28b72692a7893e2de3d196967eb4915509
4
- data.tar.gz: 72721d1bb8447908b7241fa1545fe4d59073e2a951982f231de1e32bf11c6d85
3
+ metadata.gz: eabee3041028eda40c2773fbbf543c90acf5b96a3433b061e7955bd9ef617742
4
+ data.tar.gz: 044cfffe29fa8f4f6aca313dd720f2a86f9c497f6450c13c0a043715232dd0a4
5
5
  SHA512:
6
- metadata.gz: bc07aa302ce37b33da32b8943c4dfae7b7db392d4e028f148500ff95a667999c07cdf0fcd0bd09676e6349f9f20ebc1457d515b72e1dca27c72318e4fb1bc929
7
- data.tar.gz: e34699163e898d44ad6d7d832470785b9208383b08a089f5badec06b16bd55929d5bc1410ec1748921852ed1c465b84ad60b175ba66a26014a6b13829deb6657
6
+ metadata.gz: '02996ea7f5974cebd0611b8bf3cc204e1cbbce2576df86434e53550b732b3897dcb6da9877ef0857bd7c1a3c4a8a375333d5c371e735f07e21b27c31bc6e5e57'
7
+ data.tar.gz: 0d1d97fa17de0e9fcf0e3c81d9b0d4cc2130dc5b00bd820038ec2eefc46cb262d9398ca2df3343b3becd6f4152d6163fdc37884ec5a06d8ff8ed84461a420810
data/.travis.yml CHANGED
@@ -3,11 +3,11 @@ language: ruby
3
3
  cache: bundler
4
4
  rvm:
5
5
  - 2.5.0
6
- before_install: gem install bundler -v 1.17.1
6
+ before_install: gem install bundler -v 1.17.2
7
7
  deploy:
8
8
  provider: rubygems
9
9
  api_key:
10
- secure: t7jNoz9Ct19jfGikW2lxK39aNPbvbFTwkhvVQ4ZlSAn+0iUWSmcTDFnh6MiSJFi9PEGvH3AUIrs6s7p6vhWUB8ll3S1UpC+34izUQZjUUHssJ+tf+A9q27OtX/O9PUsoOkHiq8/3F8SRT1OqyKb9+DR6i/M9MpHgWKLVEmXq3MXn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AtMVzQ7qKSUSZYXc7Aw+YUALnHYO3TStfDToHH46lo0eRN/O/SzFe54WAd4oblYoglwf9htdc+59bhAfG4B4gM3J/k9TCXEoi8iKREjy4d8kVRdSImpKoGM4kx0Xyk=
11
11
  gem: eight_ball
12
12
  on:
13
13
  tags: true
data/CHANGELOG.md CHANGED
@@ -1,4 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.4]
4
+ Update .travis.yml
5
+
6
+ ## [1.0.3]
7
+ Update .travis.yml
8
+
9
+ ## [1.0.2]
10
+ Update .travis.yml
11
+
12
+ ## [1.0.1]
13
+ Security: Update yard 0.9.16 -> 0.9.20
14
+
3
15
  ## [1.0.0]
4
16
  Initial release!
17
+
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- eight_ball (1.0.0)
4
+ eight_ball (1.0.4)
5
5
  plissken (~> 1.2)
6
6
 
7
7
  GEM
@@ -29,7 +29,7 @@ GEM
29
29
  ruby-progressbar
30
30
  mocha (1.7.0)
31
31
  metaclass (~> 0.0.1)
32
- plissken (1.2.0)
32
+ plissken (1.3.0)
33
33
  pry (0.12.2)
34
34
  coderay (~> 1.1.0)
35
35
  method_source (~> 0.9.0)
@@ -51,7 +51,7 @@ GEM
51
51
  term-ansicolor (1.7.0)
52
52
  tins (~> 1.0)
53
53
  tins (1.20.2)
54
- yard (0.9.16)
54
+ yard (0.9.20)
55
55
 
56
56
  PLATFORMS
57
57
  ruby
@@ -69,4 +69,4 @@ DEPENDENCIES
69
69
  simplecov-console (~> 0.4)
70
70
 
71
71
  BUNDLED WITH
72
- 1.17.1
72
+ 1.17.2
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # EightBall
2
- [![Build Status](https://travis-ci.com/rewindio/eight_ball.svg?token=2toDwh2UkVcJs8RE5coA&branch=dev)](https://travis-ci.com/rewindio/eight_ball)
2
+ [![Build Status](https://travis-ci.org/rewindio/eight_ball.svg?branch=dev)](https://travis-ci.org/rewindio/eight_ball)
3
3
 
4
4
  EightBall is a feature toggle querying gem
5
5
 
data/eight_ball.gemspec CHANGED
@@ -15,7 +15,9 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/rewindio/eight_ball'
16
16
  spec.license = 'MIT'
17
17
 
18
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.required_ruby_version = '>= 2.5.0'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|.github|examples)/}) }
19
21
  spec.bindir = 'exe'
20
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
23
  spec.require_paths = ['lib']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EightBall
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eight_ball
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rewind.io
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-06 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plissken
@@ -157,7 +157,6 @@ executables: []
157
157
  extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
- - ".github/CODEOWNERS"
161
160
  - ".gitignore"
162
161
  - ".travis.yml"
163
162
  - CHANGELOG.md
@@ -169,8 +168,6 @@ files:
169
168
  - bin/console
170
169
  - bin/setup
171
170
  - eight_ball.gemspec
172
- - examples/http_provider.rb
173
- - examples/static_provider.rb
174
171
  - lib/eight_ball.rb
175
172
  - lib/eight_ball/conditions/always.rb
176
173
  - lib/eight_ball/conditions/base.rb
@@ -196,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
196
193
  requirements:
197
194
  - - ">="
198
195
  - !ruby/object:Gem::Version
199
- version: '0'
196
+ version: 2.5.0
200
197
  required_rubygems_version: !ruby/object:Gem::Requirement
201
198
  requirements:
202
199
  - - ">="
@@ -204,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
201
  version: '0'
205
202
  requirements: []
206
203
  rubyforge_project:
207
- rubygems_version: 2.7.8
204
+ rubygems_version: 2.7.7
208
205
  signing_key:
209
206
  specification_version: 4
210
207
  summary: The most cost efficient way to flag features
data/.github/CODEOWNERS DELETED
@@ -1,7 +0,0 @@
1
- # Each line is a file pattern followed by one or more owners.
2
-
3
- # These owners will be the default owners for everything in
4
- # the repo. Unless a later match takes precedence, members of
5
- # @rewindio/codeowners will be requested for review when someone
6
- # opens a pull request.
7
- * @MarcMorinville-Rewind @jhuff078 @smandegar
@@ -1,8 +0,0 @@
1
- require 'eight_ball'
2
-
3
- # Tell EightBall about the Features
4
- EightBall.provider = EightBall::Providers::Http.new '<YOUR URL HERE>'
5
-
6
- # Away you go
7
- EightBall.enabled? 'Feature1', account_id: 4 # true
8
- EightBall.enabled? 'Feature1', account_id: 2 # false
@@ -1,13 +0,0 @@
1
- require 'eight_ball'
2
-
3
- # Create a Feature programatically
4
- enabled_for = EightBall::Conditions::Range.new min: 1, max: 10, parameter: 'account_id'
5
- disabled_for = EightBall::Conditions::List.new values: [2, 3]
6
- feature = EightBall::Feature.new 'Feature1', enabled_for, disabled_for
7
-
8
- # Tell EightBall about the Features
9
- EightBall.provider = EightBall::Providers::Static.new feature
10
-
11
- # Away you go
12
- EightBall.enabled? 'Feature1', account_id: 4 # true
13
- EightBall.enabled? 'Feature1', account_id: 2 # false