rack-dev-mark 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rack/dev-mark.rb +1 -1
- data/lib/rack/dev-mark/version.rb +1 -1
- data/spec/rack/dev-mark_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODliMDc5NTY2M2JkMzJhZmRlZmQ2YTA2OGYwNzk0NTJiNGRlYmQ5OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTgzMWI3MmQzMWQwN2IzZmI4ZTZmMzE4OTMxMWZhOTQxNzU1YmQ3Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWVkYTM3MjVhZTE4OTQyNWYwODJhMGZmYzdkNTRjNDdkNWE3NWFmZDEyODM5
|
10
|
+
NjAxODBkZTU0MWIyNTNjMTBkZDE5OTMwN2FhNzZlOTlhN2VmZmFhOWJlYjhi
|
11
|
+
Mjc5ZTg0OWQ0ODVhMTg4OTIyZDBiMmNiYmYwN2FiMmZjMTgxN2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTZiY2IxNzY5OTE5ZTI3OWY3MjgzZDU4ZTJmOTgxMzk0MjE0ZDVmZDQ3ZTRi
|
14
|
+
NmI5MjMyMjlhNmNmM2UyOWU2NDk3NTE2N2U1NGU1ZDFkODJlMjUyNzMwNzJm
|
15
|
+
NmQxMGViZGUxOWI4YzEyY2MxMmE0MzUwNjdjOWRjYzRlMDk3OTE=
|
data/lib/rack/dev-mark.rb
CHANGED
data/spec/rack/dev-mark_spec.rb
CHANGED
@@ -12,10 +12,10 @@ describe Rack::DevMark do
|
|
12
12
|
subject.instance_variable_set("@env", nil)
|
13
13
|
end
|
14
14
|
describe "::env" do
|
15
|
-
it "returns
|
15
|
+
it "returns development as default" do
|
16
16
|
ENV['RAILS_ENV'] = nil
|
17
17
|
ENV['RACK_ENV'] = nil
|
18
|
-
expect(subject.env).to eq(
|
18
|
+
expect(subject.env).to eq('development')
|
19
19
|
end
|
20
20
|
it "returns rack_env" do
|
21
21
|
ENV['RAILS_ENV'] = nil
|