vanilla 1.17.11 → 1.17.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/vanilla.rb +1 -1
- data/lib/vanilla/request.rb +0 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5589144bd83e51b4ebd633c66df520584e3aa426
|
4
|
+
data.tar.gz: a42f38607615af134993f3dd1a8f7fe92e712951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f574afdaeaaa1e2a8e6bef28a6d3fd441c0c3b765615a804f36f088b926de07969ad2ca2308dac9f3fcc06549c1ade07d946c612cd8f2a0414e042d6ad959f3b
|
7
|
+
data.tar.gz: ac9eeccbc3be25ee3dadc73ff1a7aaba460885b49d3cb400ab9c0e209489d11fadc8bb944e1766f108f8250638bd9d37b2e31f4846a9f0171618e5f1b6b85426
|
data/Rakefile
CHANGED
@@ -72,7 +72,7 @@ if Object.const_defined?(:Gem)
|
|
72
72
|
s.add_dependency("RedCloth", ">= 4.1.1")
|
73
73
|
s.add_dependency("BlueCloth", ">= 1.0.0")
|
74
74
|
s.add_dependency("haml", ">=3.1")
|
75
|
-
s.add_dependency("parslet", "
|
75
|
+
s.add_dependency("parslet", "~> 1.5.0")
|
76
76
|
s.add_dependency("rack-test", ">=0.5.7")
|
77
77
|
|
78
78
|
s.add_development_dependency("rake", ">= 0.9.1")
|
data/lib/vanilla.rb
CHANGED
data/lib/vanilla/request.rb
CHANGED
@@ -15,7 +15,6 @@ module Vanilla
|
|
15
15
|
|
16
16
|
# returns the parameters of the request, with every key as a symbol
|
17
17
|
def params
|
18
|
-
# Don't you just love how terse functional programming tends to look like maths?
|
19
18
|
@symbolised_params ||= @rack_request.params.inject({}) { |p, (k,v)| p[k.to_sym] = v; p }
|
20
19
|
end
|
21
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vanilla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.17.
|
4
|
+
version: 1.17.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Adam
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -98,16 +98,16 @@ dependencies:
|
|
98
98
|
name: parslet
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.5.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.5.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rack-test
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -308,7 +308,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
308
308
|
version: '0'
|
309
309
|
requirements: []
|
310
310
|
rubyforge_project: vanilla
|
311
|
-
rubygems_version: 2.
|
311
|
+
rubygems_version: 2.4.5
|
312
312
|
signing_key:
|
313
313
|
specification_version: 4
|
314
314
|
summary: A bliki-type web content thing.
|