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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 170478dc6075aeda3c245c9ea8ef1f4fd357a556
4
- data.tar.gz: a5bda6c22f5c52fceb82d665009a9c3323940948
3
+ metadata.gz: 3c219f23de387a43ae93a906b3449c1738bfc667
4
+ data.tar.gz: 13227eeb586958f4fc3d9d5f26a2b079ae1ae7fb
5
5
  SHA512:
6
- metadata.gz: f274fff7ed02c4bcbc18324c7c1c0ea7eea83213b051f8c5ba859f89a1c21dbe25e6b310a95bd6448cd8b4aee0165dd0650b6a6a31d2e05fb4fa755866075034
7
- data.tar.gz: 85585452a8af8119f8d12fd3d2a610ae0d4ecb10eaae61ccac7fd7782ac17a24744d641b0339e725053f03280a867e000d3d5567812cab8b48431655288ed72e
6
+ metadata.gz: 0607ec0bd4a224d58b62855c91e6993caa1dafe469418997eecd792cc0aff970ea2644f1cac137979a37205b251910523c1ccf1fd8d5ef7ab73079d2d4b3acb9
7
+ data.tar.gz: f18827c2ea98ad1599b417370280e37a03d978eb88a275af54081b2853ff7ce49563f0f824ef7c7236ea02a8b64a96ac9fe19aa93e77fbebdf82627f3c2b9fc7
@@ -0,0 +1 @@
1
+ .rubocop.yml
@@ -5,7 +5,7 @@ Metrics/LineLength:
5
5
  Style/Documentation:
6
6
  Enabled: false
7
7
 
8
- Style/SingleSpaceBeforeFirstArg:
8
+ Style/SpaceBeforeFirstArg:
9
9
  Enabled: false
10
10
 
11
11
  Style/BracesAroundHashParameters:
@@ -7,6 +7,7 @@ rvm:
7
7
  - 2.0
8
8
  - 2.1
9
9
  - 2.2
10
+ - 2.3.0
10
11
  - ruby
11
12
  - ruby-head
12
13
  - jruby
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/nature/bandiera/wiki/How-Feature-Flags-Work#feature-flags-in-bandiera
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 Publishing Group](LICENSE.txt).
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/nature/bandiera
113
- [bandiera-api]: https://github.com/nature/bandiera/wiki/API-Documentation
114
- [info-dependencies]: https://gemnasium.com/nature/bandiera-client-ruby
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/nature/bandiera-client-ruby
118
- [shield-dependencies]: https://img.shields.io/gemnasium/nature/bandiera-client-ruby.svg
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/nature/bandiera-client-ruby/master.svg
121
+ [shield-build]: https://img.shields.io/travis/springernature/bandiera-client-ruby/master.svg
@@ -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 = ['Macmillan Science and Education (New Publsihing Platforms)']
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/nature/bandiera-client-ruby'
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)
@@ -1,5 +1,5 @@
1
1
  module Bandiera
2
2
  class Client
3
- VERSION = '3.0.0'
3
+ VERSION = '3.0.1'.freeze
4
4
  end
5
5
  end
@@ -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/nature/bandiera/wiki for more information on this approach.
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.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - Macmillan Science and Education (New Publsihing Platforms)
7
+ - Springer Nature
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
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/nature/bandiera-client-ruby
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.4.8
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