merb-assets 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/spec/merb-assets_spec.rb +2 -2
  3. metadata +5 -5
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ spec = Gem::Specification.new do |s|
31
31
  s.author = GEM_AUTHOR
32
32
  s.email = GEM_EMAIL
33
33
  s.homepage = PROJECT_URL
34
- s.add_dependency('merb-core', ">= #{Merb::VERSION}")
34
+ s.add_dependency('merb-core', "~> #{Merb::VERSION}")
35
35
  s.require_path = 'lib'
36
36
  s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,spec}/**/*")
37
37
  end
@@ -73,8 +73,8 @@ describe "JavaScript related functions" do
73
73
  end
74
74
 
75
75
  it "should convert objects that respond to to_json to json" do
76
- js({'user' => 'Lewis', 'page' => 'home'}).should ==
77
- "{\"user\":\"Lewis\",\"page\":\"home\"}"
76
+ expected = {'user' => 'Lewis', 'page' => 'home'}
77
+ JSON.parse(js(expected)).should == expected
78
78
  end
79
79
 
80
80
  it "should convert objects using inspect that don't respond to_json to json" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezra Zygmuntowicz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-30 00:00:00 -07:00
12
+ date: 2009-11-03 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,9 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ">="
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 1.0.12
23
+ version: 1.0.13
24
24
  version:
25
25
  description: Merb plugin that provides the helpers for assets and asset bundling
26
26
  email: ez@engineyard.com
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements: []
67
67
 
68
68
  rubyforge_project: merb
69
- rubygems_version: 1.3.2
69
+ rubygems_version: 1.3.5
70
70
  signing_key:
71
71
  specification_version: 3
72
72
  summary: Merb plugin that provides the helpers for assets and asset bundling