green_flag 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.hound.yml +4 -0
- data/.rubocop.yml +1260 -0
- data/CONTRIBUTING.md +28 -0
- data/app/assets/javascripts/green_flag/admin/feature-deletion.js +3 -0
- data/app/assets/javascripts/green_flag/admin/features.js +1 -1
- data/app/assets/stylesheets/green_flag/admin/features.css.scss +5 -1
- data/app/controllers/green_flag/admin/features_controller.rb +22 -2
- data/app/helpers/green_flag/application_helper.rb +1 -0
- data/app/models/green_flag/feature.rb +13 -1
- data/app/views/green_flag/admin/features/_delete_flag_button.html.erb +18 -0
- data/app/views/green_flag/admin/features/index.html.erb +5 -0
- data/app/views/green_flag/admin/features/show.html.erb +4 -2
- data/green_flag.gemspec +1 -1
- data/lib/green_flag/version.rb +1 -1
- data/spec/controllers/admin/features_controller_spec.rb +51 -2
- data/spec/dummy/log/development.log +54000 -7025
- data/spec/dummy/log/test.log +37566 -31044
- data/spec/dummy/tmp/cache/assets/{D68/760/sprockets%2Fea24808c41a3dff75b995b0f090e1a6a → C4A/640/sprockets%2F8a0527fb4c2402950e34518216e856b5} +0 -0
- data/spec/dummy/tmp/cache/assets/C6A/420/sprockets%2F10f5bf24a82184a4790391b0321bd318 +0 -0
- data/spec/dummy/tmp/cache/assets/CB2/480/sprockets%2Fdffc90cb8265f2042063557905188b1f +0 -0
- data/spec/dummy/tmp/cache/assets/CB9/C30/sprockets%2F8c5e58364159f49f2242f171653cadf1 +0 -0
- data/spec/dummy/tmp/cache/assets/CEA/0F0/sprockets%2F7d5273f602c66c790a79a75c088ff01d +0 -0
- data/spec/dummy/tmp/cache/assets/{C89/D60/sprockets%2F73cd073739a0655341b7278fae57518f → D05/9B0/sprockets%2Fa5b09f162635302e890302aed86bbd6e} +0 -0
- data/spec/dummy/tmp/cache/assets/D1A/760/sprockets%2Fc2f1fda4977960d755da14289d49b51b +0 -0
- data/spec/dummy/tmp/cache/assets/D34/660/sprockets%2Fcfd906f8a0a2386735d1dcf52cc40403 +0 -0
- data/spec/dummy/tmp/cache/assets/{E34/D30/sprockets%2F99c2d0bbd78f1b867beeb3a2eefda618 → D3E/110/sprockets%2Fcb870c7f25e6162da93a720e1be65c76} +0 -0
- data/spec/dummy/tmp/cache/assets/D3E/340/sprockets%2Fad85a878e73a3075722c09b0bdc17cd8 +0 -0
- data/spec/dummy/tmp/cache/assets/{E07/200/sprockets%2F82a8ce7f5bcfb07f773df4cbfeb04762 → D3E/E90/sprockets%2F07bfdbaf75a7c43c05315078db879c43} +0 -0
- data/spec/dummy/tmp/cache/assets/{CE7/FF0/sprockets%2Fe45f3a7675a8c5a5b064117792bf5e28 → D40/260/sprockets%2F35049c3c82baf75b9adfc9662c05e172} +0 -0
- data/spec/dummy/tmp/cache/assets/D62/040/sprockets%2F388ca040babbebd910f7338b606736bd +0 -0
- data/spec/dummy/tmp/cache/assets/D6F/650/sprockets%2F9710be3c17f826e702a9ccea335cdf83 +0 -0
- data/spec/dummy/tmp/cache/assets/{D07/670/sprockets%2F761d03a66b753d628feccd12072c814c → D82/990/sprockets%2F708fb789dee8ecdf5a4a39b9216c1295} +0 -0
- data/spec/dummy/tmp/cache/assets/D8D/1D0/sprockets%2F0e45f412d3a303eda9d7d10d8fc3a5d3 +0 -0
- data/spec/dummy/tmp/cache/assets/D9D/660/sprockets%2Fd306fa5f1db77c33117fbf27276b3ffd +0 -0
- data/spec/dummy/tmp/cache/assets/{DB2/0C0/sprockets%2F95cf35cd3e97774df3c41ee0ef564a8d → DF4/060/sprockets%2F3a6c5e41f435db6af7fb91fa0da49bb1} +0 -0
- data/spec/dummy/tmp/cache/assets/{D13/270/sprockets%2F701a30cd450ae3cfa114092bafc16004 → DF8/280/sprockets%2Fa245a66abbfe76d9de5aa5a40c557f0e} +0 -0
- data/spec/dummy/tmp/cache/assets/DFC/AB0/sprockets%2Fcbca52f6723bcc63ade1b269e299a7bf +0 -0
- data/spec/dummy/tmp/cache/assets/{D6A/580/sprockets%2F18c12847aa1bb46ce9b5661f0e9e5fb0 → E0D/870/sprockets%2Fc21ca057d9f87e8cb797dbe5b8fe3bd2} +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/green_flag/feature_decision.rb +5 -0
- data/spec/factories/green_flag/feature_event.rb +6 -0
- data/spec/factories/green_flag/rule.rb +2 -2
- data/spec/models/green_flag/feature_spec.rb +166 -108
- metadata +60 -60
- data/Gemfile.lock +0 -143
- data/spec/dummy/tmp/cache/assets/C47/3D0/sprockets%2F8f17c33229239b023190617bf2e915a3 +0 -0
- data/spec/dummy/tmp/cache/assets/C81/770/sprockets%2Fdbcf34796b062155788f0b550808541a +0 -0
- data/spec/dummy/tmp/cache/assets/CB6/8F0/sprockets%2F5ea0f1f2583683678e122a9a9391a80f +0 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/D10/860/sprockets%2F4582878dbb5b72bfa76615d31b34ed51 +0 -0
- data/spec/dummy/tmp/cache/assets/D15/C10/sprockets%2F6f42f843c916d7864a0dfa912fb3194a +0 -0
- data/spec/dummy/tmp/cache/assets/D18/860/sprockets%2Fce00769800ae939cebb28501947ea96f +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D4A/970/sprockets%2F2a7d3b403cbdd8b59d57d26964ea5768 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D59/090/sprockets%2F88788ba6a64e6279624e5c2ff7eead53 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D5C/330/sprockets%2Fd1b1c9a53f4a8a5827e5b02bf0e100e8 +0 -0
- data/spec/dummy/tmp/cache/assets/DA1/210/sprockets%2F25a2979e392c8bc3adce7075cf19ab4b +0 -0
- data/spec/dummy/tmp/cache/assets/DA9/2C0/sprockets%2Ff95d82b2bbb6db8ffe1a87f67b415291 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
data/Gemfile.lock
DELETED
@@ -1,143 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
green_flag (0.2.0)
|
5
|
-
activerecord-concurrent-index
|
6
|
-
pg
|
7
|
-
rails (~> 3.2)
|
8
|
-
sass-rails
|
9
|
-
|
10
|
-
GEM
|
11
|
-
remote: https://rubygems.org/
|
12
|
-
specs:
|
13
|
-
actionmailer (3.2.22)
|
14
|
-
actionpack (= 3.2.22)
|
15
|
-
mail (~> 2.5.4)
|
16
|
-
actionpack (3.2.22)
|
17
|
-
activemodel (= 3.2.22)
|
18
|
-
activesupport (= 3.2.22)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
erubis (~> 2.7.0)
|
21
|
-
journey (~> 1.0.4)
|
22
|
-
rack (~> 1.4.5)
|
23
|
-
rack-cache (~> 1.2)
|
24
|
-
rack-test (~> 0.6.1)
|
25
|
-
sprockets (~> 2.2.1)
|
26
|
-
activemodel (3.2.22)
|
27
|
-
activesupport (= 3.2.22)
|
28
|
-
builder (~> 3.0.0)
|
29
|
-
activerecord (3.2.22)
|
30
|
-
activemodel (= 3.2.22)
|
31
|
-
activesupport (= 3.2.22)
|
32
|
-
arel (~> 3.0.2)
|
33
|
-
tzinfo (~> 0.3.29)
|
34
|
-
activerecord-concurrent-index (0.0.1)
|
35
|
-
activerecord
|
36
|
-
activeresource (3.2.22)
|
37
|
-
activemodel (= 3.2.22)
|
38
|
-
activesupport (= 3.2.22)
|
39
|
-
activesupport (3.2.22)
|
40
|
-
i18n (~> 0.6, >= 0.6.4)
|
41
|
-
multi_json (~> 1.0)
|
42
|
-
arel (3.0.3)
|
43
|
-
builder (3.0.4)
|
44
|
-
capybara (2.4.4)
|
45
|
-
mime-types (>= 1.16)
|
46
|
-
nokogiri (>= 1.3.3)
|
47
|
-
rack (>= 1.0.0)
|
48
|
-
rack-test (>= 0.5.4)
|
49
|
-
xpath (~> 2.0)
|
50
|
-
diff-lcs (1.2.5)
|
51
|
-
erubis (2.7.0)
|
52
|
-
factory_girl (4.1.0)
|
53
|
-
activesupport (>= 3.0.0)
|
54
|
-
factory_girl_rails (4.1.0)
|
55
|
-
factory_girl (~> 4.1.0)
|
56
|
-
railties (>= 3.0.0)
|
57
|
-
gem-release (0.7.4)
|
58
|
-
hike (1.2.3)
|
59
|
-
i18n (0.7.0)
|
60
|
-
journey (1.0.4)
|
61
|
-
jquery-rails (3.1.3)
|
62
|
-
railties (>= 3.0, < 5.0)
|
63
|
-
thor (>= 0.14, < 2.0)
|
64
|
-
json (1.8.3)
|
65
|
-
mail (2.5.4)
|
66
|
-
mime-types (~> 1.16)
|
67
|
-
treetop (~> 1.4.8)
|
68
|
-
mime-types (1.25.1)
|
69
|
-
mini_portile (0.6.2)
|
70
|
-
multi_json (1.11.2)
|
71
|
-
nokogiri (1.6.6.2)
|
72
|
-
mini_portile (~> 0.6.0)
|
73
|
-
pg (0.18.2)
|
74
|
-
polyglot (0.3.5)
|
75
|
-
rack (1.4.7)
|
76
|
-
rack-cache (1.2)
|
77
|
-
rack (>= 0.4)
|
78
|
-
rack-ssl (1.3.4)
|
79
|
-
rack
|
80
|
-
rack-test (0.6.3)
|
81
|
-
rack (>= 1.0)
|
82
|
-
rails (3.2.22)
|
83
|
-
actionmailer (= 3.2.22)
|
84
|
-
actionpack (= 3.2.22)
|
85
|
-
activerecord (= 3.2.22)
|
86
|
-
activeresource (= 3.2.22)
|
87
|
-
activesupport (= 3.2.22)
|
88
|
-
bundler (~> 1.0)
|
89
|
-
railties (= 3.2.22)
|
90
|
-
railties (3.2.22)
|
91
|
-
actionpack (= 3.2.22)
|
92
|
-
activesupport (= 3.2.22)
|
93
|
-
rack-ssl (~> 1.3.2)
|
94
|
-
rake (>= 0.8.7)
|
95
|
-
rdoc (~> 3.4)
|
96
|
-
thor (>= 0.14.6, < 2.0)
|
97
|
-
rake (10.4.2)
|
98
|
-
rdoc (3.12.2)
|
99
|
-
json (~> 1.4)
|
100
|
-
rspec-core (2.14.8)
|
101
|
-
rspec-expectations (2.14.5)
|
102
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
103
|
-
rspec-mocks (2.14.6)
|
104
|
-
rspec-rails (2.14.2)
|
105
|
-
actionpack (>= 3.0)
|
106
|
-
activemodel (>= 3.0)
|
107
|
-
activesupport (>= 3.0)
|
108
|
-
railties (>= 3.0)
|
109
|
-
rspec-core (~> 2.14.0)
|
110
|
-
rspec-expectations (~> 2.14.0)
|
111
|
-
rspec-mocks (~> 2.14.0)
|
112
|
-
sass (3.4.16)
|
113
|
-
sass-rails (3.2.6)
|
114
|
-
railties (~> 3.2.0)
|
115
|
-
sass (>= 3.1.10)
|
116
|
-
tilt (~> 1.3)
|
117
|
-
sprockets (2.2.3)
|
118
|
-
hike (~> 1.2)
|
119
|
-
multi_json (~> 1.0)
|
120
|
-
rack (~> 1.0)
|
121
|
-
tilt (~> 1.1, != 1.3.0)
|
122
|
-
thor (0.19.1)
|
123
|
-
tilt (1.4.1)
|
124
|
-
treetop (1.4.15)
|
125
|
-
polyglot
|
126
|
-
polyglot (>= 0.3.1)
|
127
|
-
tzinfo (0.3.44)
|
128
|
-
xpath (2.0.0)
|
129
|
-
nokogiri (~> 1.3)
|
130
|
-
|
131
|
-
PLATFORMS
|
132
|
-
ruby
|
133
|
-
|
134
|
-
DEPENDENCIES
|
135
|
-
capybara
|
136
|
-
factory_girl_rails
|
137
|
-
gem-release
|
138
|
-
green_flag!
|
139
|
-
jquery-rails
|
140
|
-
rspec-rails
|
141
|
-
|
142
|
-
BUNDLED WITH
|
143
|
-
1.10.6
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|