rack-flags 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack-flags/admin_app.rb +1 -1
- data/lib/rack-flags/version.rb +1 -1
- metadata +19 -65
data/lib/rack-flags/admin_app.rb
CHANGED
@@ -52,7 +52,7 @@ module RackFlags
|
|
52
52
|
overrides
|
53
53
|
end
|
54
54
|
|
55
|
-
response.set_cookie(CookieCodec::COOKIE_KEY, value: CookieCodec.new.generate_cookie_from(overrides))
|
55
|
+
response.set_cookie(CookieCodec::COOKIE_KEY, value: CookieCodec.new.generate_cookie_from(overrides), path: '/')
|
56
56
|
redirect to('/'), 303
|
57
57
|
end
|
58
58
|
|
data/lib/rack-flags/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-flags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-08-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirement: &70155779355400 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,15 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
26
|
-
none: false
|
27
|
-
requirements:
|
28
|
-
- - ! '>='
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: '0'
|
25
|
+
version_requirements: *70155779355400
|
31
26
|
- !ruby/object:Gem::Dependency
|
32
27
|
name: rack
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
28
|
+
requirement: &70155779354880 !ruby/object:Gem::Requirement
|
34
29
|
none: false
|
35
30
|
requirements:
|
36
31
|
- - ~>
|
@@ -38,15 +33,10 @@ dependencies:
|
|
38
33
|
version: '1.4'
|
39
34
|
type: :runtime
|
40
35
|
prerelease: false
|
41
|
-
version_requirements:
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ~>
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '1.4'
|
36
|
+
version_requirements: *70155779354880
|
47
37
|
- !ruby/object:Gem::Dependency
|
48
38
|
name: sinatra
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirement: &70155779354360 !ruby/object:Gem::Requirement
|
50
40
|
none: false
|
51
41
|
requirements:
|
52
42
|
- - ~>
|
@@ -54,15 +44,10 @@ dependencies:
|
|
54
44
|
version: '1.3'
|
55
45
|
type: :runtime
|
56
46
|
prerelease: false
|
57
|
-
version_requirements:
|
58
|
-
none: false
|
59
|
-
requirements:
|
60
|
-
- - ~>
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '1.3'
|
47
|
+
version_requirements: *70155779354360
|
63
48
|
- !ruby/object:Gem::Dependency
|
64
49
|
name: pry-debugger
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirement: &70155779353980 !ruby/object:Gem::Requirement
|
66
51
|
none: false
|
67
52
|
requirements:
|
68
53
|
- - ! '>='
|
@@ -70,15 +55,10 @@ dependencies:
|
|
70
55
|
version: '0'
|
71
56
|
type: :development
|
72
57
|
prerelease: false
|
73
|
-
version_requirements:
|
74
|
-
none: false
|
75
|
-
requirements:
|
76
|
-
- - ! '>='
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: '0'
|
58
|
+
version_requirements: *70155779353980
|
79
59
|
- !ruby/object:Gem::Dependency
|
80
60
|
name: rspec-core
|
81
|
-
requirement: !ruby/object:Gem::Requirement
|
61
|
+
requirement: &70155779353520 !ruby/object:Gem::Requirement
|
82
62
|
none: false
|
83
63
|
requirements:
|
84
64
|
- - ! '>='
|
@@ -86,15 +66,10 @@ dependencies:
|
|
86
66
|
version: '0'
|
87
67
|
type: :development
|
88
68
|
prerelease: false
|
89
|
-
version_requirements:
|
90
|
-
none: false
|
91
|
-
requirements:
|
92
|
-
- - ! '>='
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '0'
|
69
|
+
version_requirements: *70155779353520
|
95
70
|
- !ruby/object:Gem::Dependency
|
96
71
|
name: rspec-expectations
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirement: &70155779353100 !ruby/object:Gem::Requirement
|
98
73
|
none: false
|
99
74
|
requirements:
|
100
75
|
- - ! '>='
|
@@ -102,15 +77,10 @@ dependencies:
|
|
102
77
|
version: '0'
|
103
78
|
type: :development
|
104
79
|
prerelease: false
|
105
|
-
version_requirements:
|
106
|
-
none: false
|
107
|
-
requirements:
|
108
|
-
- - ! '>='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
80
|
+
version_requirements: *70155779353100
|
111
81
|
- !ruby/object:Gem::Dependency
|
112
82
|
name: rr
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
83
|
+
requirement: &70155779352680 !ruby/object:Gem::Requirement
|
114
84
|
none: false
|
115
85
|
requirements:
|
116
86
|
- - ! '>='
|
@@ -118,15 +88,10 @@ dependencies:
|
|
118
88
|
version: '0'
|
119
89
|
type: :development
|
120
90
|
prerelease: false
|
121
|
-
version_requirements:
|
122
|
-
none: false
|
123
|
-
requirements:
|
124
|
-
- - ! '>='
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '0'
|
91
|
+
version_requirements: *70155779352680
|
127
92
|
- !ruby/object:Gem::Dependency
|
128
93
|
name: capybara
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
+
requirement: &70155779352260 !ruby/object:Gem::Requirement
|
130
95
|
none: false
|
131
96
|
requirements:
|
132
97
|
- - ! '>='
|
@@ -134,12 +99,7 @@ dependencies:
|
|
134
99
|
version: '0'
|
135
100
|
type: :development
|
136
101
|
prerelease: false
|
137
|
-
version_requirements:
|
138
|
-
none: false
|
139
|
-
requirements:
|
140
|
-
- - ! '>='
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '0'
|
102
|
+
version_requirements: *70155779352260
|
143
103
|
description: This is a simple lightweight way to expose work-in-progress functionality
|
144
104
|
to developers, testers or other internal users.
|
145
105
|
email:
|
@@ -181,21 +141,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
141
|
- - ! '>='
|
182
142
|
- !ruby/object:Gem::Version
|
183
143
|
version: '0'
|
184
|
-
segments:
|
185
|
-
- 0
|
186
|
-
hash: -2393715893714725756
|
187
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
145
|
none: false
|
189
146
|
requirements:
|
190
147
|
- - ! '>='
|
191
148
|
- !ruby/object:Gem::Version
|
192
149
|
version: '0'
|
193
|
-
segments:
|
194
|
-
- 0
|
195
|
-
hash: -2393715893714725756
|
196
150
|
requirements: []
|
197
151
|
rubyforge_project:
|
198
|
-
rubygems_version: 1.8.
|
152
|
+
rubygems_version: 1.8.15
|
199
153
|
signing_key:
|
200
154
|
specification_version: 3
|
201
155
|
summary: Simple cookie-based feature flags using Rack.
|