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 +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +8 -0
- data/CHANGELOG.md +97 -92
- data/Gemfile +1 -1
- data/README.md +4 -5
- data/lib/togls/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dd990a3f451aff1bc6c1df1d55f68741ab0d263
|
4
|
+
data.tar.gz: b7d3922fe27f2707cab96b38f1997cb420184bc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70703051b8d95fda9755235d692af331c8d8932e0f92449610e9be068dd06e4817b7e82eaa9e449c7b0f822bd6eeb47cd47ddff82dc46462b4708f54798d95ca
|
7
|
+
data.tar.gz: 30c1a94f55c9753227c853cf103a13ad1c7eb2bdb75fb5713c7bf96c21e845595a136267920a721e7a91bbd9013a22dfa688d4351b5520fb52bce75f37169fb9
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.0
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -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:
|
7
|
-
|
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
|
-
*
|
16
|
-
*
|
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
|
-
*
|
24
|
+
* Changed `optional_logger` dependency to v2.0.0
|
21
25
|
|
22
26
|
#### [v3.0.0] - 2016-10-19
|
23
27
|
|
24
|
-
*
|
25
|
-
*
|
26
|
-
*
|
27
|
-
*
|
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
|
-
*
|
30
|
-
([#86](https://github.com/
|
31
|
-
*
|
32
|
-
([#86](https://github.com/
|
33
|
-
*
|
34
|
-
*
|
35
|
-
([#78](https://github.com/
|
36
|
-
*
|
37
|
-
([#69](https://github.com/
|
38
|
-
*
|
39
|
-
([#69](https://github.com/
|
40
|
-
*
|
41
|
-
([#69](https://github.com/
|
42
|
-
*
|
43
|
-
([#67](https://github.com/
|
44
|
-
*
|
45
|
-
([#65](https://github.com/
|
46
|
-
*
|
47
|
-
([#62](https://github.com/
|
48
|
-
*
|
49
|
-
([#61](https://github.com/
|
50
|
-
*
|
51
|
-
([#59](https://github.com/
|
52
|
-
*
|
53
|
-
([#59](https://github.com/
|
54
|
-
*
|
55
|
-
([#56](https://github.com/
|
56
|
-
*
|
57
|
-
([#56](https://github.com/
|
58
|
-
*
|
59
|
-
([#56](https://github.com/
|
60
|
-
*
|
61
|
-
([#48](https://github.com/
|
62
|
-
*
|
63
|
-
([#44](https://github.com/
|
64
|
-
*
|
65
|
-
([#38](https://github.com/
|
66
|
-
*
|
67
|
-
([#41](https://github.com/
|
68
|
-
*
|
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
|
-
*
|
71
|
-
*
|
72
|
-
([#40](https://github.com/
|
73
|
-
*
|
74
|
-
*
|
75
|
-
*
|
76
|
-
([#39](https://github.com/
|
77
|
-
*
|
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/
|
83
|
+
([#42](https://github.com/uptech/togls/issues/42))
|
80
84
|
|
81
85
|
#### [v2.2.1] - 2016-03-24
|
82
86
|
|
83
|
-
*
|
87
|
+
* Added in-memory driver `set`, `get`, `all` Marshaling to correct a threading
|
84
88
|
reference based collision.
|
85
|
-
([#35](https://github.com/
|
89
|
+
([#35](https://github.com/uptech/togls/issues/35))
|
86
90
|
|
87
91
|
#### [v2.2.0] - 2016-03-04
|
88
92
|
|
89
|
-
*
|
90
|
-
*
|
91
|
-
*
|
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
|
-
*
|
99
|
+
* Fixed env variable override wasn't falling through to in
|
96
100
|
code defined memory value.
|
97
|
-
([#24](https://github.com/
|
101
|
+
([#24](https://github.com/uptech/togls/issues/24))
|
98
102
|
|
99
103
|
#### [v2.1.0] - 2015-11-24
|
100
104
|
|
101
|
-
*
|
105
|
+
* Fixed exceptions happened on evaluation after setting
|
102
106
|
`Togls.features = nil`
|
103
|
-
([#19](https://github.com/
|
107
|
+
([#19](https://github.com/uptech/togls/issues/19))
|
104
108
|
|
105
109
|
#### [v2.0.0] - 2015-11-23
|
106
110
|
|
107
|
-
*
|
108
|
-
*
|
109
|
-
*
|
110
|
-
*
|
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
|
-
*
|
116
|
-
*
|
117
|
-
*
|
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
|
-
*
|
123
|
-
*
|
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
|
-
*
|
129
|
-
*
|
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
|
-
*
|
132
|
-
|
133
|
-
[Unreleased]: https://github.com/
|
134
|
-
[v3.2.
|
135
|
-
[v3.
|
136
|
-
[v3.
|
137
|
-
[
|
138
|
-
[v2.2.
|
139
|
-
[v2.
|
140
|
-
[v2.1.
|
141
|
-
[v2.
|
142
|
-
[
|
143
|
-
[v1.
|
144
|
-
[
|
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
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/
|
3
|
-
[![Code Climate](https://codeclimate.com/github/
|
4
|
-
[![Test Coverage](https://codeclimate.com/github/
|
5
|
-
[![
|
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
|
|
data/lib/togls/version.rb
CHANGED
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.
|
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:
|
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.
|
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.
|