yaks-sinatra 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaks-sinatra.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3383c830e64e61976dfa2bb9cb7fd5a571c5006
|
4
|
+
data.tar.gz: 1b5465645cb2ce08d9480658fc32467e65a97aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f657b8e3f0c1cfe4a8b28104cea397c94d75f2009d5b0d6220ee9d7ec50982ce85c124040c0203e1f094bf41e9e76d87196a70f5f0917502afb4de2fe0474ac
|
7
|
+
data.tar.gz: 06e2b065f23d8686ebc0012050e7e950956fbea7cbec2b47435014123667a17e4cc1f9ddb370ab4b9b93ccbf913dd8ec891b14d7ef35dc9dd79d6b4e80aa0b0f
|
data/lib/yaks-sinatra.rb
CHANGED
@@ -19,8 +19,8 @@ module Sinatra
|
|
19
19
|
end
|
20
20
|
|
21
21
|
module YaksHelpers
|
22
|
-
def yaks(
|
23
|
-
runner = Yaks.yaks_config.runner(
|
22
|
+
def yaks(object, opts = {})
|
23
|
+
runner = Yaks.yaks_config.runner(object, {env: env}.merge(opts))
|
24
24
|
content_type runner.format
|
25
25
|
runner.result
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaks-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arne Brasseur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yaks
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.7.
|
19
|
+
version: 0.7.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.7.
|
26
|
+
version: 0.7.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sinatra
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|