yaks-sinatra 0.8.0.beta2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/yaks-sinatra.rb +1 -1
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f6d7f260217ab37174354267949e3589c8f5e6d
4
- data.tar.gz: 98178c974484d72e4d32d8ba09181787658bb05e
3
+ metadata.gz: 938bdd699abe0d7524fd7cc05cddbb4a27235e50
4
+ data.tar.gz: ed9ea7ac8bf63202375af168835a4101e17d9ccd
5
5
  SHA512:
6
- metadata.gz: 73f7a351a5eb231001694853db2fae6916ba36f4f24f88054a7ba3f9e18d265fd6adacbdb40967296af3554a9ace54e01877521f6411c0bda85f7444d629b7b0
7
- data.tar.gz: eaf77d5de74a54e3788b701b92ddf977a67431c1560b89a41b474431f53e9a411d26695d23ff9466bc3af4ce1ff220de6c05e5c9ab21bcb5e6cac2d0b93d9861
6
+ metadata.gz: 8a669330b591e46f9b3e378f9b940146ff7ea33a30e3519925d345c0e3f3074167773d94becbaf10b5a1327424d249e14f053b638f2b3d856389c4df08c2de0e
7
+ data.tar.gz: d1fc0e159615bdd3f577ffe904c33d6d0dca632e5874beef55f4264616c86497b19c5fdd462b42df19ff828b4f828959a0a3fe5cb1af0c61b0e5fec31044cd2d
data/lib/yaks-sinatra.rb CHANGED
@@ -22,7 +22,7 @@ module Sinatra
22
22
  def yaks(object, opts = {})
23
23
  runner = Yaks.yaks_config.runner(object, {env: env}.merge(opts))
24
24
  content_type runner.format_name
25
- runner.result
25
+ runner.call
26
26
  end
27
27
  end
28
28
 
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.8.0.beta2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Brasseur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-02-18 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.8.0.beta2
19
+ version: 0.8.0
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.8.0.beta2
26
+ version: 0.8.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sinatra
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -65,9 +65,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">"
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
- version: 1.3.1
70
+ version: '0'
71
71
  requirements: []
72
72
  rubyforge_project:
73
73
  rubygems_version: 2.2.2