togls 3.2.0 → 3.2.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: 5656ae6b55d75e746b8f76289a56bdad7f2abd0f
4
- data.tar.gz: 796aeadd5ff7da40c31ad2e5dec9bd2c4fcec409
3
+ metadata.gz: 5dd990a3f451aff1bc6c1df1d55f68741ab0d263
4
+ data.tar.gz: b7d3922fe27f2707cab96b38f1997cb420184bc6
5
5
  SHA512:
6
- metadata.gz: 55ea4cf6a8738b9199ee6f17a453eadaf4c4b987d76fd11b6bea86f5903bad2c14e2831f148df098dc3293a26aa0efcbab1abf43392e29899c7dd153c56733a6
7
- data.tar.gz: baac92d2f9ed7af9c6e6efd97423ebb7e934f5570d593c6a82740e1cdf949ea5101089b06b800384f226dcbe9ddd2f998b0c8781c95f0ca4cc18f91200ecc218
6
+ metadata.gz: 70703051b8d95fda9755235d692af331c8d8932e0f92449610e9be068dd06e4817b7e82eaa9e449c7b0f822bd6eeb47cd47ddff82dc46462b4708f54798d95ca
7
+ data.tar.gz: 30c1a94f55c9753227c853cf103a13ad1c7eb2bdb75fb5713c7bf96c21e845595a136267920a721e7a91bbd9013a22dfa688d4351b5520fb52bce75f37169fb9
@@ -1 +1 @@
1
- 2.3.1
1
+ 2.4.0
@@ -1,5 +1,13 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 2.4.0
4
+ - 2.3.3
5
+ - 2.3.2
6
+ - 2.3.1
3
7
  - 2.3.0
8
+ - 2.2.6
9
+ - 2.2.5
10
+ - 2.2.4
4
11
  - 2.2.3
5
12
  - 2.2.2
13
+ after_script: bundle exec codeclimate-test-reporter
@@ -3,142 +3,147 @@
3
3
  The following are lists of the notable changes included with each release.
4
4
  This is intended to help keep people informed about notable changes between
5
5
  versions, as well as provide a rough history. Each item is prefixed with
6
- one of the following labels: `Added`, `Changed`, `Deprecated`,
7
- `Removed`, `Fixed`, `Security`. We also use [Semantic
6
+ one of the following labels: *Added*, *Changed*, *Deprecated*,
7
+ *Removed*, *Fixed*, *Security*. We also use [Semantic
8
8
  Versioning](http://semver.org) to manage the versions of this gem so
9
9
  that you can set version constraints properly.
10
10
 
11
11
  #### [Unreleased] - now
12
12
 
13
+ #### [v3.2.1] - 2017-03-16
14
+
15
+ * Added support for Ruby 2.4.0
16
+
13
17
  #### [v3.2.0] - 2016-10-27
14
18
 
15
- * `Added`: toggle evelaution logging
16
- * `Changed`: debug logging to warn logging
19
+ * Added toggle evaluation logging
20
+ * Changed debug logging to warn logging
17
21
 
18
22
  #### [v3.1.0] - 2016-10-26
19
23
 
20
- * `Changed`: `optional_logger` to v2.0.0
24
+ * Changed `optional_logger` dependency to v2.0.0
21
25
 
22
26
  #### [v3.0.0] - 2016-10-19
23
27
 
24
- * `Changed`: `Togls.logger` over to the `optional_logger` gem
25
- * `Changed`: Rules to be identified by an abstract given string id
26
- * `Changed`: Rule and Rule Type management to be global under Togls
27
- * `Changed`: The testing interface to allow for contract enforcement in tests
28
+ * Changed `Togls.logger` over to the `optional_logger` gem
29
+ * Changed Rules to be identified by an abstract given string id
30
+ * Changed Rule and Rule Type management to be global under Togls
31
+ * Changed The testing interface to allow for contract enforcement in tests
28
32
  and allow altering existing feature rules within tests.
29
- * `Added`: `Togls.rule` method to simplify rule construction from `type_id`
30
- ([#86](https://github.com/codebreakdown/togls/issues/86))
31
- * `Changed`: Rule construction to require an abstract rule `type_id`
32
- ([#86](https://github.com/codebreakdown/togls/issues/86))
33
- * `Added`: Feature repository response validation
34
- * `Added`: validation of targets against feature target_type contract
35
- ([#78](https://github.com/codebreakdown/togls/issues/78))
36
- * `Added`: setting a default feature target type
37
- ([#69](https://github.com/codebreakdown/togls/issues/69))
38
- * `Added`: logging for target type mismatches/erroneous states
39
- ([#69](https://github.com/codebreakdown/togls/issues/69))
40
- * `Changed`: in code feature rule association API to require `target_type`
41
- ([#69](https://github.com/codebreakdown/togls/issues/69))
42
- * `Added`: rule instance target types and switch type checking over
43
- ([#67](https://github.com/codebreakdown/togls/issues/67))
44
- * `Added`: optional target types, and target type checking
45
- ([#65](https://github.com/codebreakdown/togls/issues/65))
46
- * `Changed`: rule type repository to store meta data
47
- ([#62](https://github.com/codebreakdown/togls/issues/62))
48
- * `Added`: uniqueness check for rule types
49
- ([#61](https://github.com/codebreakdown/togls/issues/61)
50
- * `Changed`: rule repository to use rule type repository
51
- ([#59](https://github.com/codebreakdown/togls/issues/59))
52
- * `Added`: rule type registration
53
- ([#59](https://github.com/codebreakdown/togls/issues/59))
54
- * `Changed`: driver construction to RegistryManager
55
- ([#56](https://github.com/codebreakdown/togls/issues/56))
56
- * `Removed`: `TestToggleRegistry`
57
- ([#56](https://github.com/codebreakdown/togls/issues/56))
58
- * `Changed`: `ReleaseToggleRegistry` to `ToggleRegistry`
59
- ([#56](https://github.com/codebreakdown/togls/issues/56))
60
- * `Removed`: `features` rake task
61
- ([#48](https://github.com/codebreakdown/togls/issues/48))
62
- * `Added`: `test_mode` block style method
63
- ([#44](https://github.com/codebreakdown/togls/issues/44))
64
- * `Changed`: `Togls.features` to `Togls.release`
65
- ([#38](https://github.com/codebreakdown/togls/issues/38))
66
- * `Changed`: Renamed `FeatureToggleRegistry` to `ReleaseToggleRegistry`
67
- ([#41](https://github.com/codebreakdown/togls/issues/41))
68
- * `Added`: `FeatureToggleRegistryManager` methods, `enable_test_mode` &
33
+ * Added `Togls.rule` method to simplify rule construction from `type_id`
34
+ ([#86](https://github.com/uptech/togls/issues/86))
35
+ * Changed Rule construction to require an abstract rule `type_id`
36
+ ([#86](https://github.com/uptech/togls/issues/86))
37
+ * Added Feature repository response validation
38
+ * Added validation of targets against feature `target_type` contract
39
+ ([#78](https://github.com/uptech/togls/issues/78))
40
+ * Added setting a default feature target type
41
+ ([#69](https://github.com/uptech/togls/issues/69))
42
+ * Added logging for target type mismatches/erroneous states
43
+ ([#69](https://github.com/uptech/togls/issues/69))
44
+ * Changed in code feature rule association API to require `target_type`
45
+ ([#69](https://github.com/uptech/togls/issues/69))
46
+ * Added rule instance target types and switch type checking over
47
+ ([#67](https://github.com/uptech/togls/issues/67))
48
+ * Added optional target types, and target type checking
49
+ ([#65](https://github.com/uptech/togls/issues/65))
50
+ * Changed rule type repository to store meta data
51
+ ([#62](https://github.com/uptech/togls/issues/62))
52
+ * Added uniqueness check for rule types
53
+ ([#61](https://github.com/uptech/togls/issues/61)
54
+ * Changed rule repository to use rule type repository
55
+ ([#59](https://github.com/uptech/togls/issues/59))
56
+ * Added rule type registration
57
+ ([#59](https://github.com/uptech/togls/issues/59))
58
+ * Changed driver construction to RegistryManager
59
+ ([#56](https://github.com/uptech/togls/issues/56))
60
+ * Removed `TestToggleRegistry`
61
+ ([#56](https://github.com/uptech/togls/issues/56))
62
+ * Changed `ReleaseToggleRegistry` to `ToggleRegistry`
63
+ ([#56](https://github.com/uptech/togls/issues/56))
64
+ * Removed `features` rake task
65
+ ([#48](https://github.com/uptech/togls/issues/48))
66
+ * Added `test_mode` block style method
67
+ ([#44](https://github.com/uptech/togls/issues/44))
68
+ * Changed `Togls.features` to `Togls.release`
69
+ ([#38](https://github.com/uptech/togls/issues/38))
70
+ * Changed `FeatureToggleRegistry` name to `ReleaseToggleRegistry`
71
+ ([#41](https://github.com/uptech/togls/issues/41))
72
+ * Added `FeatureToggleRegistryManager` methods, `enable_test_mode` &
69
73
  `disable_test_mode`
70
- * `Removed`: `features=` setter
71
- * `Changed`: `FeatureRepository` moved from `Registry` to `RegistryManager`
72
- ([#40](https://github.com/codebreakdown/togls/issues/40))
73
- * `Removed`: `FeatureToggleRegistry.create` and `TestToggleRegistry.create`
74
- * `Changed`: `ReleaseToggleRegistryManager` to `FeatureToggleRegistryManager`
75
- * `Added`: Base Error class for Togls exceptions
76
- ([#39](https://github.com/codebreakdown/togls/issues/39))
77
- * `Added`: Exception for when a feature has already been defined in the feature
74
+ * Removed `features=` setter
75
+ * Changed `FeatureRepository` moved from `Registry` to `RegistryManager`
76
+ ([#40](https://github.com/uptech/togls/issues/40))
77
+ * Removed `FeatureToggleRegistry.create` and `TestToggleRegistry.create`
78
+ * Changed `ReleaseToggleRegistryManager` to `FeatureToggleRegistryManager`
79
+ * Added Base Error class for Togls exceptions
80
+ ([#39](https://github.com/uptech/togls/issues/39))
81
+ * Added Exception for when a feature has already been defined in the feature
78
82
  repository
79
- ([#42](https://github.com/codebreakdown/togls/issues/42))
83
+ ([#42](https://github.com/uptech/togls/issues/42))
80
84
 
81
85
  #### [v2.2.1] - 2016-03-24
82
86
 
83
- * `Added`: in-memory driver `set`, `get`, `all` Marshaling to correct a threading
87
+ * Added in-memory driver `set`, `get`, `all` Marshaling to correct a threading
84
88
  reference based collision.
85
- ([#35](https://github.com/codebreakdown/togls/issues/35))
89
+ ([#35](https://github.com/uptech/togls/issues/35))
86
90
 
87
91
  #### [v2.2.0] - 2016-03-04
88
92
 
89
- * `Changed`: Togls to be thread-safe
90
- * `Added`: `Togls::TestToggleRegistry` class for initializing test state
91
- * `Added`: ability to create additional toggle registries
93
+ * Changed Togls to be thread-safe
94
+ * Added `Togls::TestToggleRegistry` class for initializing test state
95
+ * Added ability to create additional toggle registries
92
96
 
93
97
  #### [v2.1.1] - 2015-12-14
94
98
 
95
- * `Fixed`: env variable override wasn't falling through to in
99
+ * Fixed env variable override wasn't falling through to in
96
100
  code defined memory value.
97
- ([#24](https://github.com/codebreakdown/togls/issues/24))
101
+ ([#24](https://github.com/uptech/togls/issues/24))
98
102
 
99
103
  #### [v2.1.0] - 2015-11-24
100
104
 
101
- * `Fixed`: exceptions happened on evaluation after setting
105
+ * Fixed exceptions happened on evaluation after setting
102
106
  `Togls.features = nil`
103
- ([#19](https://github.com/codebreakdown/togls/issues/19))
107
+ ([#19](https://github.com/uptech/togls/issues/19))
104
108
 
105
109
  #### [v2.0.0] - 2015-11-23
106
110
 
107
- * `Added`: ability to create empty feature toggle set via `Togls.features`
108
- * `Added`: toggle definition expansion with multiple `Togls.features` blocks
109
- * `Added`: set FeatureToggleRegistry instance, `Togls.features = toggle_registry`
110
- * `Changed`: `Togls.features` to return FeatureToggleRegistry instance
111
+ * Added ability to create empty feature toggle set via `Togls.features`
112
+ * Added toggle definition expansion with multiple `Togls.features` blocks
113
+ * Added set `FeatureToggleRegistry` instance, `Togls.features = toggle_registry`
114
+ * Changed `Togls.features` to return `FeatureToggleRegistry` instance
111
115
  rather than an Array of Toggle objects.
112
116
 
113
117
  #### [v1.1.0] - 2015-11-17
114
118
 
115
- * `Added`: `off?` method for asking if a defined feature is off
116
- * `Added`: feature toggle overrides
117
- * `Changed`: Architecture to support concept of repositories and datastores allowing
119
+ * Added `off?` method for asking if a defined feature is off
120
+ * Added feature toggle overrides
121
+ * Changed Architecture to support concept of repositories and datastores allowing
118
122
  further growth in the future
119
123
 
120
124
  #### [v1.0.0] - 2015-05-19
121
125
 
122
- * `Changed`: to require human readable description to define a feature toggle
123
- * `Added`: rake task that outputs all the feature toggles states (on, off, ? -
126
+ * Changed to require human readable description to define a feature toggle
127
+ * Added rake task that outputs all the feature toggles states (on, off, ? -
124
128
  unknown due to Compex Rule), keys, and human readable descritpions
125
129
 
126
130
  #### [v0.1.0] - 2015-05-03
127
131
 
128
- * `Added`: concept of Groups as a provided rule
129
- * `Added`: concept of Rules and Custom Rules, allowing users to have more dynamic
132
+ * Added concept of Groups as a provided rule
133
+ * Added concept of Rules and Custom Rules, allowing users to have more dynamic
130
134
  feature toggles
131
- * `Added`: basic feature toggles able to be switched on/off
132
-
133
- [Unreleased]: https://github.com/codebreakdown/togls/compare/v3.2.0...HEAD
134
- [v3.2.0]: https://github.com/codebreakdown/togls/compare/v3.2.0...v3.1.0
135
- [v3.1.0]: https://github.com/codebreakdown/togls/compare/v3.1.0...v3.0.0
136
- [v3.0.0]: https://github.com/codebreakdown/togls/compare/v2.2.1...v3.0.0
137
- [v2.2.1]: https://github.com/codebreakdown/togls/compare/v2.2.0...v2.2.1
138
- [v2.2.0]: https://github.com/codebreakdown/togls/compare/v2.1.1...v2.2.0
139
- [v2.1.1]: https://github.com/codebreakdown/togls/compare/v2.1.0...v2.1.1
140
- [v2.1.0]: https://github.com/codebreakdown/togls/compare/v2.0.0...v2.1.0
141
- [v2.0.0]: https://github.com/codebreakdown/togls/compare/v1.1.0...v2.0.0
142
- [v1.1.0]: https://github.com/codebreakdown/togls/compare/v1.0.0...v1.1.0
143
- [v1.0.0]: https://github.com/codebreakdown/togls/compare/v0.1.0...v1.0.0
144
- [v0.1.0]: https://github.com/codebreakdown/togls/compare/0fa2feb...v0.1.0
135
+ * Added basic feature toggles able to be switched on/off
136
+
137
+ [Unreleased]: https://github.com/uptech/togls/compare/v3.2.1...HEAD
138
+ [v3.2.1]: https://github.com/uptech/togls/compare/v3.2.1...v3.2.0
139
+ [v3.2.0]: https://github.com/uptech/togls/compare/v3.2.0...v3.1.0
140
+ [v3.1.0]: https://github.com/uptech/togls/compare/v3.1.0...v3.0.0
141
+ [v3.0.0]: https://github.com/uptech/togls/compare/v2.2.1...v3.0.0
142
+ [v2.2.1]: https://github.com/uptech/togls/compare/v2.2.0...v2.2.1
143
+ [v2.2.0]: https://github.com/uptech/togls/compare/v2.1.1...v2.2.0
144
+ [v2.1.1]: https://github.com/uptech/togls/compare/v2.1.0...v2.1.1
145
+ [v2.1.0]: https://github.com/uptech/togls/compare/v2.0.0...v2.1.0
146
+ [v2.0.0]: https://github.com/uptech/togls/compare/v1.1.0...v2.0.0
147
+ [v1.1.0]: https://github.com/uptech/togls/compare/v1.0.0...v1.1.0
148
+ [v1.0.0]: https://github.com/uptech/togls/compare/v0.1.0...v1.0.0
149
+ [v0.1.0]: https://github.com/uptech/togls/compare/0fa2feb...v0.1.0
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in togl.gemspec
4
4
  gemspec
5
5
 
6
- gem 'codeclimate-test-reporter', '~> 0.4.8', group: :test, require: nil
6
+ gem 'codeclimate-test-reporter', '~> 1.0.5', group: :test, require: nil
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/togls.svg)](http://badge.fury.io/rb/togls)
2
- [![Build Status](https://travis-ci.org/codebreakdown/togls.svg?branch=master)](https://travis-ci.org/codebreakdown/togls)
3
- [![Code Climate](https://codeclimate.com/github/codebreakdown/togls/badges/gpa.svg)](https://codeclimate.com/github/codebreakdown/togls)
4
- [![Test Coverage](https://codeclimate.com/github/codebreakdown/togls/badges/coverage.svg)](https://codeclimate.com/github/codebreakdown/togls/coverage)
5
- [![Dependency Status](https://gemnasium.com/codebreakdown/togls.svg)](https://gemnasium.com/codebreakdown/togls)
6
- [![Inline docs](http://inch-ci.org/github/codebreakdown/togls.svg?branch=master)](http://inch-ci.org/github/codebreakdown/togls)
2
+ [![Build Status](https://travis-ci.org/uptech/togls.svg?branch=master)](https://travis-ci.org/uptech/togls)
3
+ [![Code Climate](https://codeclimate.com/github/uptech/togls/badges/gpa.svg)](https://codeclimate.com/github/uptech/togls)
4
+ [![Test Coverage](https://codeclimate.com/github/uptech/togls/badges/coverage.svg)](https://codeclimate.com/github/uptech/togls/coverage)
5
+ [![Inline docs](http://inch-ci.org/github/uptech/togls.svg?branch=master)](http://inch-ci.org/github/uptech/togls)
7
6
 
8
7
  # Togls
9
8
 
@@ -1,3 +1,3 @@
1
1
  module Togls
2
- VERSION = '3.2.0'.freeze
2
+ VERSION = '3.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: togls
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Miller
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2016-10-27 00:00:00.000000000 Z
13
+ date: 2017-03-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: optional_logger
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  requirements: []
162
162
  rubyforge_project:
163
- rubygems_version: 2.5.1
163
+ rubygems_version: 2.6.8
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: An ultra light weight yet ridiculously powerfulruby feature toggle gem.