flip_fork 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 +4 -0
- data/.travis.yml +7 -0
- data/Gemfile +2 -0
- data/README.md +161 -0
- data/Rakefile +10 -0
- data/TODO +3 -0
- data/app/assets/stylesheets/flip.css +70 -0
- data/app/controllers/flip/features_controller.rb +47 -0
- data/app/controllers/flip/strategies_controller.rb +31 -0
- data/app/helpers/flip_helper.rb +9 -0
- data/app/views/flip/features/index.html.erb +62 -0
- data/config/routes.rb +14 -0
- data/flip.gemspec +25 -0
- data/lib/flip/abstract_strategy.rb +26 -0
- data/lib/flip/controller_filters.rb +21 -0
- data/lib/flip/cookie_strategy.rb +62 -0
- data/lib/flip/database_strategy.rb +40 -0
- data/lib/flip/declarable.rb +24 -0
- data/lib/flip/declaration_strategy.rb +20 -0
- data/lib/flip/definition.rb +21 -0
- data/lib/flip/engine.rb +9 -0
- data/lib/flip/facade.rb +18 -0
- data/lib/flip/feature_set.rb +57 -0
- data/lib/flip/forbidden.rb +7 -0
- data/lib/flip/version.rb +3 -0
- data/lib/flip.rb +27 -0
- data/lib/generators/flip/install/install_generator.rb +9 -0
- data/lib/generators/flip/migration/USAGE +5 -0
- data/lib/generators/flip/migration/migration_generator.rb +22 -0
- data/lib/generators/flip/migration/templates/create_features.rb +10 -0
- data/lib/generators/flip/model/USAGE +8 -0
- data/lib/generators/flip/model/model_generator.rb +8 -0
- data/lib/generators/flip/model/templates/feature.rb +15 -0
- data/lib/generators/flip/routes/USAGE +7 -0
- data/lib/generators/flip/routes/routes_generator.rb +7 -0
- data/spec/abstract_strategy_spec.rb +11 -0
- data/spec/controller_filters_spec.rb +27 -0
- data/spec/cookie_strategy_spec.rb +112 -0
- data/spec/database_strategy_spec.rb +66 -0
- data/spec/declarable_spec.rb +32 -0
- data/spec/declaration_strategy_spec.rb +39 -0
- data/spec/definition_spec.rb +19 -0
- data/spec/feature_set_spec.rb +67 -0
- data/spec/flip_spec.rb +33 -0
- data/spec/spec_helper.rb +1 -0
- metadata +156 -0
metadata
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: flip_fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Paul Annesley
|
8
|
+
- Brandt Lareau
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: activesupport
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: i18n
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ! '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '2.5'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2.5'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
description: Declarative API for specifying features, switchable in declaration, database
|
71
|
+
and cookies.
|
72
|
+
email:
|
73
|
+
- paul@annesley.cc, brandt.lareau@gmail.com
|
74
|
+
executables: []
|
75
|
+
extensions: []
|
76
|
+
extra_rdoc_files: []
|
77
|
+
files:
|
78
|
+
- .gitignore
|
79
|
+
- .travis.yml
|
80
|
+
- Gemfile
|
81
|
+
- README.md
|
82
|
+
- Rakefile
|
83
|
+
- TODO
|
84
|
+
- app/assets/stylesheets/flip.css
|
85
|
+
- app/controllers/flip/features_controller.rb
|
86
|
+
- app/controllers/flip/strategies_controller.rb
|
87
|
+
- app/helpers/flip_helper.rb
|
88
|
+
- app/views/flip/features/index.html.erb
|
89
|
+
- config/routes.rb
|
90
|
+
- flip.gemspec
|
91
|
+
- lib/flip.rb
|
92
|
+
- lib/flip/abstract_strategy.rb
|
93
|
+
- lib/flip/controller_filters.rb
|
94
|
+
- lib/flip/cookie_strategy.rb
|
95
|
+
- lib/flip/database_strategy.rb
|
96
|
+
- lib/flip/declarable.rb
|
97
|
+
- lib/flip/declaration_strategy.rb
|
98
|
+
- lib/flip/definition.rb
|
99
|
+
- lib/flip/engine.rb
|
100
|
+
- lib/flip/facade.rb
|
101
|
+
- lib/flip/feature_set.rb
|
102
|
+
- lib/flip/forbidden.rb
|
103
|
+
- lib/flip/version.rb
|
104
|
+
- lib/generators/flip/install/install_generator.rb
|
105
|
+
- lib/generators/flip/migration/USAGE
|
106
|
+
- lib/generators/flip/migration/migration_generator.rb
|
107
|
+
- lib/generators/flip/migration/templates/create_features.rb
|
108
|
+
- lib/generators/flip/model/USAGE
|
109
|
+
- lib/generators/flip/model/model_generator.rb
|
110
|
+
- lib/generators/flip/model/templates/feature.rb
|
111
|
+
- lib/generators/flip/routes/USAGE
|
112
|
+
- lib/generators/flip/routes/routes_generator.rb
|
113
|
+
- spec/abstract_strategy_spec.rb
|
114
|
+
- spec/controller_filters_spec.rb
|
115
|
+
- spec/cookie_strategy_spec.rb
|
116
|
+
- spec/database_strategy_spec.rb
|
117
|
+
- spec/declarable_spec.rb
|
118
|
+
- spec/declaration_strategy_spec.rb
|
119
|
+
- spec/definition_spec.rb
|
120
|
+
- spec/feature_set_spec.rb
|
121
|
+
- spec/flip_spec.rb
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
homepage: https://github.com/newdark/flip
|
124
|
+
licenses: []
|
125
|
+
metadata: {}
|
126
|
+
post_install_message:
|
127
|
+
rdoc_options: []
|
128
|
+
require_paths:
|
129
|
+
- lib
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ! '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
requirements: []
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.0.7
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: A feature flipper for Rails web applications.
|
146
|
+
test_files:
|
147
|
+
- spec/abstract_strategy_spec.rb
|
148
|
+
- spec/controller_filters_spec.rb
|
149
|
+
- spec/cookie_strategy_spec.rb
|
150
|
+
- spec/database_strategy_spec.rb
|
151
|
+
- spec/declarable_spec.rb
|
152
|
+
- spec/declaration_strategy_spec.rb
|
153
|
+
- spec/definition_spec.rb
|
154
|
+
- spec/feature_set_spec.rb
|
155
|
+
- spec/flip_spec.rb
|
156
|
+
- spec/spec_helper.rb
|