interpol 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -17,4 +17,4 @@ gem 'sinatra', '>= 1.3.2', '< 2.0.0'
17
17
 
18
18
  gem 'cane', '~> 2.0', :platform => 'ruby_19'
19
19
 
20
- gem 'rspec-fire', :git => 'git://github.com/xaviershay/rspec-fire.git', :branch => 'fix_use_of_should'
20
+ gem 'rspec-fire', :git => 'git://github.com/xaviershay/rspec-fire.git'
@@ -216,7 +216,7 @@ module Interpol
216
216
  json = JSON.dump(hash)
217
217
 
218
218
  [status, { 'Content-Type' => 'application/json',
219
- 'Content-Length' => json.bytesize }, [json]]
219
+ 'Content-Length' => json.bytesize.to_s }, [json]]
220
220
  end
221
221
 
222
222
  def named_example_selectors
@@ -16,7 +16,7 @@ module Interpol
16
16
  require 'rack/mock'
17
17
  app = build(&block)
18
18
  status, headers, body = app.call(Rack::MockRequest.env_for "/", :method => "GET")
19
- AssetInliner.new(body.join, app.public_folder).standalone_page
19
+ AssetInliner.new(body.enum_for(:each).to_a.join, app.public_folder).standalone_page
20
20
  end
21
21
 
22
22
  # Inlines the assets so the page can be viewed as a standalone web page.
@@ -1,3 +1,3 @@
1
1
  module Interpol
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interpol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-17 00:00:00.000000000 Z
12
+ date: 2013-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack