gated_release 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +98 -0
- data/LICENSE.txt +21 -0
- data/README.md +75 -0
- data/Rakefile +6 -0
- data/gated_release.gemspec +30 -0
- data/lib/gated_release.rb +6 -0
- data/lib/gated_release/gate.rb +87 -0
- data/lib/gated_release/version.rb +3 -0
- data/lib/generators/install_generator.rb +23 -0
- data/lib/generators/templates/create_gated_release_gates.rb +14 -0
- metadata +166 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 76ee56e30f5bec17b5b0b170ae36c54c1890eae0
|
4
|
+
data.tar.gz: 11a70be7aed859789307ccf302bd5423efac9a75
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 92d02bd595b2df90cbdf2f826f20433f16d41409f8ea1d58499edf9a6aa0f7c82b8553a8f9f9648d3cc02cae3f9de8499a1e24e07c52dcb6d41b733654160db8
|
7
|
+
data.tar.gz: fe7ac538785a7247b5a5bdc7c5dea596a549afe665f85fe5a29bd3cf81edaf5d8724c5fb7092a7768104fbb71ef156a357ffe52838869dc92f102ce5483b31fe
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at david.carlin@redbubble.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
gated_release (0.1.0)
|
5
|
+
activerecord (>= 4.0, < 6)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actionpack (5.0.2)
|
11
|
+
actionview (= 5.0.2)
|
12
|
+
activesupport (= 5.0.2)
|
13
|
+
rack (~> 2.0)
|
14
|
+
rack-test (~> 0.6.3)
|
15
|
+
rails-dom-testing (~> 2.0)
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
17
|
+
actionview (5.0.2)
|
18
|
+
activesupport (= 5.0.2)
|
19
|
+
builder (~> 3.1)
|
20
|
+
erubis (~> 2.7.0)
|
21
|
+
rails-dom-testing (~> 2.0)
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
23
|
+
activemodel (5.0.2)
|
24
|
+
activesupport (= 5.0.2)
|
25
|
+
activerecord (5.0.2)
|
26
|
+
activemodel (= 5.0.2)
|
27
|
+
activesupport (= 5.0.2)
|
28
|
+
arel (~> 7.0)
|
29
|
+
activesupport (5.0.2)
|
30
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
31
|
+
i18n (~> 0.7)
|
32
|
+
minitest (~> 5.1)
|
33
|
+
tzinfo (~> 1.1)
|
34
|
+
arel (7.1.4)
|
35
|
+
builder (3.2.3)
|
36
|
+
concurrent-ruby (1.0.5)
|
37
|
+
database_cleaner (1.5.3)
|
38
|
+
diff-lcs (1.3)
|
39
|
+
erubis (2.7.0)
|
40
|
+
generator_spec (0.9.3)
|
41
|
+
activesupport (>= 3.0.0)
|
42
|
+
railties (>= 3.0.0)
|
43
|
+
i18n (0.8.1)
|
44
|
+
loofah (2.0.3)
|
45
|
+
nokogiri (>= 1.5.9)
|
46
|
+
method_source (0.8.2)
|
47
|
+
mini_portile2 (2.1.0)
|
48
|
+
minitest (5.10.1)
|
49
|
+
nokogiri (1.7.0.1)
|
50
|
+
mini_portile2 (~> 2.1.0)
|
51
|
+
rack (2.0.1)
|
52
|
+
rack-test (0.6.3)
|
53
|
+
rack (>= 1.0)
|
54
|
+
rails-dom-testing (2.0.2)
|
55
|
+
activesupport (>= 4.2.0, < 6.0)
|
56
|
+
nokogiri (~> 1.6)
|
57
|
+
rails-html-sanitizer (1.0.3)
|
58
|
+
loofah (~> 2.0)
|
59
|
+
railties (5.0.2)
|
60
|
+
actionpack (= 5.0.2)
|
61
|
+
activesupport (= 5.0.2)
|
62
|
+
method_source
|
63
|
+
rake (>= 0.8.7)
|
64
|
+
thor (>= 0.18.1, < 2.0)
|
65
|
+
rake (10.5.0)
|
66
|
+
rspec (3.5.0)
|
67
|
+
rspec-core (~> 3.5.0)
|
68
|
+
rspec-expectations (~> 3.5.0)
|
69
|
+
rspec-mocks (~> 3.5.0)
|
70
|
+
rspec-core (3.5.4)
|
71
|
+
rspec-support (~> 3.5.0)
|
72
|
+
rspec-expectations (3.5.0)
|
73
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
+
rspec-support (~> 3.5.0)
|
75
|
+
rspec-mocks (3.5.0)
|
76
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
+
rspec-support (~> 3.5.0)
|
78
|
+
rspec-support (3.5.0)
|
79
|
+
sqlite3 (1.3.13)
|
80
|
+
thor (0.19.4)
|
81
|
+
thread_safe (0.3.6)
|
82
|
+
tzinfo (1.2.2)
|
83
|
+
thread_safe (~> 0.1)
|
84
|
+
|
85
|
+
PLATFORMS
|
86
|
+
ruby
|
87
|
+
|
88
|
+
DEPENDENCIES
|
89
|
+
bundler (~> 1.14)
|
90
|
+
database_cleaner (~> 1.5)
|
91
|
+
gated_release!
|
92
|
+
generator_spec (~> 0.9.0)
|
93
|
+
rake (~> 10.0)
|
94
|
+
rspec (~> 3.0)
|
95
|
+
sqlite3 (~> 1.3)
|
96
|
+
|
97
|
+
BUNDLED WITH
|
98
|
+
1.14.5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 David Carlin
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# GatedRelease
|
2
|
+
|
3
|
+
This gem allows you to easily manage split code paths in your application without redeploys.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
### Gem
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'gated_release', '0.1.0' # see semver.org
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install gated_release
|
22
|
+
|
23
|
+
### Setup
|
24
|
+
|
25
|
+
Generate and migrate the installation database migration
|
26
|
+
|
27
|
+
```
|
28
|
+
$ bundle exec rails generate gated_release:install
|
29
|
+
$ bundle exec rake db:migrate
|
30
|
+
```
|
31
|
+
|
32
|
+
## Usage
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
GatedRelease::Gate.get('gate-name').run(
|
36
|
+
open: -> { code_to_run_for_open_gate },
|
37
|
+
closed: -> { code_to_run_for_closed_gate }
|
38
|
+
)
|
39
|
+
```
|
40
|
+
|
41
|
+
To open the gate:
|
42
|
+
```ruby
|
43
|
+
GatedRelease::Gate.get('gate-name').open!
|
44
|
+
```
|
45
|
+
|
46
|
+
To close the gate
|
47
|
+
```ruby
|
48
|
+
GatedRelease::Gate.get('gate-name').close!
|
49
|
+
```
|
50
|
+
|
51
|
+
To put the gate into a limited state, and allow a set number of code executions to go through the open gate before closing.
|
52
|
+
```ruby
|
53
|
+
GatedRelease::Gate.get('gate-name').limit!.allow_more!(10)
|
54
|
+
```
|
55
|
+
|
56
|
+
To put the gate into 'percentage' state, where a set percentage of code executions will go throught he open gate.
|
57
|
+
```ruby
|
58
|
+
GatedRelease::Gate.get('gate-name').percentage!(10)
|
59
|
+
```
|
60
|
+
|
61
|
+
## Development
|
62
|
+
|
63
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
64
|
+
|
65
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
66
|
+
|
67
|
+
## Contributing
|
68
|
+
|
69
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/redbubble/gated_release. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
70
|
+
|
71
|
+
|
72
|
+
## License
|
73
|
+
|
74
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
75
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'gated_release/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "gated_release"
|
8
|
+
spec.version = GatedRelease::VERSION
|
9
|
+
spec.authors = ["David Carlin", "Gonzalo Bulnes Guilpain"]
|
10
|
+
spec.email = ["davich@gmail.com", "gon.bulnes@gmail.com"]
|
11
|
+
spec.summary = %q{Allow split code paths.}
|
12
|
+
spec.description = %q{Gated releases will let you launch your new feature behind a toggle switch that doesn't require a redeploy.}
|
13
|
+
spec.homepage = "http://www.github.com/redbubble/gated_release"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
|
+
f.match(%r{^(test|spec|features|vendor|bin)/})
|
18
|
+
end
|
19
|
+
spec.bindir = "exe"
|
20
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_dependency "activerecord", ">= 4.0", "< 6"
|
24
|
+
spec.add_development_dependency "bundler", "~> 1.14"
|
25
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
27
|
+
spec.add_development_dependency "sqlite3", "~> 1.3"
|
28
|
+
spec.add_development_dependency "database_cleaner", "~> 1.5"
|
29
|
+
spec.add_development_dependency "generator_spec", "~> 0.9.0"
|
30
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require "active_record"
|
2
|
+
|
3
|
+
module GatedRelease
|
4
|
+
class Gate < ActiveRecord::Base
|
5
|
+
self.table_name = "gated_release_gates"
|
6
|
+
|
7
|
+
OPEN = 'open'
|
8
|
+
CLOSED = 'closed'
|
9
|
+
LIMITED = 'limited'
|
10
|
+
PERCENTAGE = 'percentage'
|
11
|
+
STATES = [OPEN, CLOSED, LIMITED, PERCENTAGE]
|
12
|
+
|
13
|
+
validates_uniqueness_of :name
|
14
|
+
validates :state, inclusion: { in: STATES }
|
15
|
+
validates :percent_open, :inclusion => 0..100
|
16
|
+
|
17
|
+
def self.get(name)
|
18
|
+
find_or_create_by(name: name)
|
19
|
+
end
|
20
|
+
|
21
|
+
def allow_more!(count)
|
22
|
+
increment!(:max_attempts, count)
|
23
|
+
self
|
24
|
+
end
|
25
|
+
|
26
|
+
def open!
|
27
|
+
update_attributes!(state: OPEN)
|
28
|
+
self
|
29
|
+
end
|
30
|
+
|
31
|
+
def close!
|
32
|
+
update_attributes!(state: CLOSED)
|
33
|
+
self
|
34
|
+
end
|
35
|
+
|
36
|
+
def limit!
|
37
|
+
update_attributes!(state: LIMITED)
|
38
|
+
self
|
39
|
+
end
|
40
|
+
|
41
|
+
def percentage!(value)
|
42
|
+
update_attributes!(state: PERCENTAGE, percent_open: value)
|
43
|
+
self
|
44
|
+
end
|
45
|
+
|
46
|
+
def run(args)
|
47
|
+
if self.state == OPEN
|
48
|
+
run_open_code(args)
|
49
|
+
elsif self.state == PERCENTAGE && Kernel.rand(100) < self.percent_open
|
50
|
+
run_open_code(args)
|
51
|
+
elsif self.state == LIMITED && self.attempts < self.max_attempts
|
52
|
+
increment_attempts
|
53
|
+
run_open_code(args)
|
54
|
+
else
|
55
|
+
get_closed_code(args).call
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
private
|
60
|
+
|
61
|
+
def run_open_code(args)
|
62
|
+
get_open_code(args).call
|
63
|
+
rescue StandardError, ScriptError => e
|
64
|
+
close! if args[:close_on_error]
|
65
|
+
raise
|
66
|
+
end
|
67
|
+
|
68
|
+
def get_open_code(args)
|
69
|
+
get_arg(args, :open)
|
70
|
+
end
|
71
|
+
|
72
|
+
def get_closed_code(args)
|
73
|
+
get_arg(args, :closed)
|
74
|
+
end
|
75
|
+
|
76
|
+
def get_arg(args, key)
|
77
|
+
unless args.has_key?(key)
|
78
|
+
raise KeyError.new("key not found: :#{key} for gated release: #{name}")
|
79
|
+
end
|
80
|
+
args[key]
|
81
|
+
end
|
82
|
+
|
83
|
+
def increment_attempts
|
84
|
+
increment!(:attempts, 1)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'active_record'
|
2
|
+
require 'rails/generators'
|
3
|
+
require 'rails/generators/migration'
|
4
|
+
|
5
|
+
module GatedRelease
|
6
|
+
module Generators
|
7
|
+
class InstallGenerator < ::Rails::Generators::Base
|
8
|
+
include Rails::Generators::Migration
|
9
|
+
source_root File.expand_path('../templates', __FILE__)
|
10
|
+
desc "Add the migrations for GatedRelease"
|
11
|
+
|
12
|
+
def self.next_migration_number(path)
|
13
|
+
next_migration_number = current_migration_number(path) + 1
|
14
|
+
ActiveRecord::Migration.next_migration_number(next_migration_number)
|
15
|
+
end
|
16
|
+
|
17
|
+
def copy_migrations
|
18
|
+
migration_template "create_gated_release_gates.rb",
|
19
|
+
"db/migrate/create_gated_release_gates.rb"
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class CreateGatedReleaseGates < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :gated_release_gates do |t|
|
4
|
+
t.string :name
|
5
|
+
t.string :state, default: 'limited'
|
6
|
+
t.integer :attempts, default: 0
|
7
|
+
t.integer :max_attempts, default: 0
|
8
|
+
t.integer :percent_open, default: 0
|
9
|
+
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
add_index :gated_release_gates, :name
|
13
|
+
end
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gated_release
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- David Carlin
|
8
|
+
- Gonzalo Bulnes Guilpain
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activerecord
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ">="
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '4.0'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '6'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '4.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '6'
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: bundler
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.14'
|
41
|
+
type: :development
|
42
|
+
prerelease: false
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.14'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rake
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
type: :development
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '10.0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
type: :development
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: sqlite3
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.3'
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.3'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: database_cleaner
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.5'
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.5'
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: generator_spec
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.9.0
|
111
|
+
type: :development
|
112
|
+
prerelease: false
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.9.0
|
118
|
+
description: Gated releases will let you launch your new feature behind a toggle switch
|
119
|
+
that doesn't require a redeploy.
|
120
|
+
email:
|
121
|
+
- davich@gmail.com
|
122
|
+
- gon.bulnes@gmail.com
|
123
|
+
executables: []
|
124
|
+
extensions: []
|
125
|
+
extra_rdoc_files: []
|
126
|
+
files:
|
127
|
+
- ".gitignore"
|
128
|
+
- ".rspec"
|
129
|
+
- ".travis.yml"
|
130
|
+
- CODE_OF_CONDUCT.md
|
131
|
+
- Gemfile
|
132
|
+
- Gemfile.lock
|
133
|
+
- LICENSE.txt
|
134
|
+
- README.md
|
135
|
+
- Rakefile
|
136
|
+
- gated_release.gemspec
|
137
|
+
- lib/gated_release.rb
|
138
|
+
- lib/gated_release/gate.rb
|
139
|
+
- lib/gated_release/version.rb
|
140
|
+
- lib/generators/install_generator.rb
|
141
|
+
- lib/generators/templates/create_gated_release_gates.rb
|
142
|
+
homepage: http://www.github.com/redbubble/gated_release
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata: {}
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
149
|
+
- lib
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.4.5.1
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: Allow split code paths.
|
166
|
+
test_files: []
|