bandiera-client 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.hound.yml +1 -0
- data/.rubocop.yml +1 -1
- data/.travis.yml +1 -0
- data/HISTORY +11 -1
- data/README.md +8 -8
- data/bandiera-client.gemspec +2 -2
- data/lib/bandiera/client/version.rb +1 -1
- data/lib/bandiera/middleware.rb +1 -1
- metadata +5 -6
- data/.hound.yml +0 -39
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c219f23de387a43ae93a906b3449c1738bfc667
|
4
|
+
data.tar.gz: 13227eeb586958f4fc3d9d5f26a2b079ae1ae7fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0607ec0bd4a224d58b62855c91e6993caa1dafe469418997eecd792cc0aff970ea2644f1cac137979a37205b251910523c1ccf1fd8d5ef7ab73079d2d4b3acb9
|
7
|
+
data.tar.gz: f18827c2ea98ad1599b417370280e37a03d978eb88a275af54081b2853ff7ce49563f0f824ef7c7236ea02a8b64a96ac9fe19aa93e77fbebdf82627f3c2b9fc7
|
data/.hound.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.rubocop.yml
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/HISTORY
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
= 3.0.1 / 16-February-2016
|
2
|
+
|
3
|
+
* Move the codebase into the `springernature` organisation and update the copyright.
|
4
|
+
|
5
|
+
= 3.0.0 / 23-September-2015
|
6
|
+
|
7
|
+
* Add in the Bandiera::Middleware for making rack applications more efficient in the way they use Bandiera.
|
8
|
+
* Removed complex caching code from client - preferred strategy is to now use the middleware.
|
9
|
+
* Documentation updates
|
10
|
+
* Correction of License referred to in the gemspec
|
11
|
+
|
1
12
|
= 2.2.2 / 02-March-2015
|
2
13
|
|
3
14
|
* Handle non-JSON responses correctly (these can happen due to proxy issues etc).
|
@@ -36,4 +47,3 @@
|
|
36
47
|
= 1.0.0 / 24-Jan-2014
|
37
48
|
|
38
49
|
* Initial tagging of 1.0.0 codebase - support for Bandiera API v1.
|
39
|
-
|
data/README.md
CHANGED
@@ -45,7 +45,7 @@ client.enabled?('pubserv', 'show-new-search',
|
|
45
45
|
|
46
46
|
For more information on these advanced features, please see the Bandiera wiki:
|
47
47
|
|
48
|
-
https://github.com/
|
48
|
+
https://github.com/springernature/bandiera/wiki/How-Feature-Flags-Work#feature-flags-in-bandiera
|
49
49
|
|
50
50
|
# Performance
|
51
51
|
|
@@ -104,18 +104,18 @@ As with the `enabled?` method the `params` hash is for passing in your `user_gro
|
|
104
104
|
|
105
105
|
# License
|
106
106
|
|
107
|
-
[© 2014 Nature
|
107
|
+
[© 2014 Springer Nature](LICENSE.txt).
|
108
108
|
Bandiera::Client (Ruby) is licensed under the [MIT License][mit].
|
109
109
|
|
110
110
|
|
111
111
|
[mit]: http://opensource.org/licenses/mit-license.php
|
112
|
-
[bandiera]: https://github.com/
|
113
|
-
[bandiera-api]: https://github.com/
|
114
|
-
[info-dependencies]: https://gemnasium.com/
|
112
|
+
[bandiera]: https://github.com/springernature/bandiera
|
113
|
+
[bandiera-api]: https://github.com/springernature/bandiera/wiki/API-Documentation
|
114
|
+
[info-dependencies]: https://gemnasium.com/springernature/bandiera-client-ruby
|
115
115
|
[info-license]: LICENSE
|
116
116
|
[info-gem]: https://rubygems.org/gems/bandiera-client
|
117
|
-
[info-build]: https://travis-ci.org/
|
118
|
-
[shield-dependencies]: https://img.shields.io/gemnasium/
|
117
|
+
[info-build]: https://travis-ci.org/springernature/bandiera-client-ruby
|
118
|
+
[shield-dependencies]: https://img.shields.io/gemnasium/springernature/bandiera-client-ruby.svg
|
119
119
|
[shield-license]: https://img.shields.io/badge/license-MIT-blue.svg
|
120
120
|
[shield-gem]: https://img.shields.io/gem/v/bandiera-client.svg
|
121
|
-
[shield-build]: https://img.shields.io/travis/
|
121
|
+
[shield-build]: https://img.shields.io/travis/springernature/bandiera-client-ruby/master.svg
|
data/bandiera-client.gemspec
CHANGED
@@ -8,11 +8,11 @@ require 'bandiera/client/version'
|
|
8
8
|
Gem::Specification.new do |spec|
|
9
9
|
spec.name = 'bandiera-client'
|
10
10
|
spec.version = Bandiera::Client::VERSION
|
11
|
-
spec.authors = ['
|
11
|
+
spec.authors = ['Springer Nature']
|
12
12
|
spec.email = ['npp-developers@macmillan.com']
|
13
13
|
spec.description = 'Bandiera is a simple, stand-alone feature flagging service that is not tied to any existing web framework or language. This is a client for talking to the web service.'
|
14
14
|
spec.summary = 'Simple feature flagging API client.'
|
15
|
-
spec.homepage = 'https://github.com/
|
15
|
+
spec.homepage = 'https://github.com/springernature/bandiera-client-ruby'
|
16
16
|
spec.license = 'MIT'
|
17
17
|
|
18
18
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
data/lib/bandiera/middleware.rb
CHANGED
@@ -9,7 +9,7 @@ module Bandiera
|
|
9
9
|
# 1. Performance - Using this middleware, you will only call the Bandiera server once per-request (in contrast to using the `enabled?` method where you will make one request per-use).
|
10
10
|
# 2. Better Quality Code - If you use the more advanced features in Bandiera (user groups and percentages) you will no longer need to pass around user objects and UUIDs in your code. This does assume the use of other middlewares to supply user objects and UUIDs though.
|
11
11
|
#
|
12
|
-
# This middleware can be used in conjunction with the {Macmillan::Utils::Middleware::Uuid} (or one of your own design) to automatically generate UUIDs for your users. See https://github.com/
|
12
|
+
# This middleware can be used in conjunction with the {Macmillan::Utils::Middleware::Uuid} (or one of your own design) to automatically generate UUIDs for your users. See https://github.com/springernature/bandiera/wiki for more information on this approach.
|
13
13
|
#
|
14
14
|
# @since 3.0.0
|
15
15
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bandiera-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Springer Nature
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -148,7 +148,7 @@ files:
|
|
148
148
|
- spec/lib/bandiera/client_spec.rb
|
149
149
|
- spec/lib/bandiera/middleware_spec.rb
|
150
150
|
- spec/spec_helper.rb
|
151
|
-
homepage: https://github.com/
|
151
|
+
homepage: https://github.com/springernature/bandiera-client-ruby
|
152
152
|
licenses:
|
153
153
|
- MIT
|
154
154
|
metadata: {}
|
@@ -168,9 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.
|
171
|
+
rubygems_version: 2.5.1
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Simple feature flagging API client.
|
175
175
|
test_files: []
|
176
|
-
has_rdoc:
|
data/.hound.yml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
Metrics/LineLength:
|
2
|
-
Description: 'Limit lines to 120 characters.'
|
3
|
-
Max: 120
|
4
|
-
|
5
|
-
Style/Documentation:
|
6
|
-
Enabled: false
|
7
|
-
|
8
|
-
Style/SingleSpaceBeforeFirstArg:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
Style/BracesAroundHashParameters:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
Style/IndentHash:
|
15
|
-
EnforcedStyle: consistent
|
16
|
-
|
17
|
-
Style/AlignHash:
|
18
|
-
EnforcedHashRocketStyle: table
|
19
|
-
EnforcedColonStyle: table
|
20
|
-
|
21
|
-
Style/AlignParameters:
|
22
|
-
EnforcedStyle: with_fixed_indentation
|
23
|
-
|
24
|
-
Style/StringLiterals:
|
25
|
-
EnforcedStyle: single_quotes
|
26
|
-
|
27
|
-
Style/CollectionMethods:
|
28
|
-
PreferredMethods:
|
29
|
-
collect: 'map'
|
30
|
-
collect!: 'map!'
|
31
|
-
inject: 'reduce'
|
32
|
-
detect: 'find'
|
33
|
-
find_all: 'select'
|
34
|
-
|
35
|
-
Style/DotPosition:
|
36
|
-
EnforcedStyle: leading
|
37
|
-
|
38
|
-
Style/DoubleNegation:
|
39
|
-
Enabled: false
|