capcode-render-json 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,12 @@
1
1
  = capcode-render-json
2
2
 
3
3
  Capcode plugin to render JSON
4
+
5
+ = History
6
+
7
+ * 0.2.0
8
+ ** Replace json by json_pure (JRuby)
9
+
10
+ * 0.1.0
11
+ ** Initial release
12
+
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/glejeune/Capcode.more/tree/master/%s" % gem.name
12
12
  gem.authors = ["Gregoire Lejeune"]
13
13
 
14
- gem.add_dependency('json')
14
+ gem.add_dependency('json_pure')
15
15
  end
16
16
  Jeweler::GemcutterTasks.new
17
17
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capcode-render-json}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gregoire Lejeune"]
12
- s.date = %q{2010-01-07}
12
+ s.date = %q{2010-02-09}
13
13
  s.description = %q{Capcode plugin to render JSON}
14
14
  s.email = %q{gregoire.lejeune@free.fr}
15
15
  s.extra_rdoc_files = [
@@ -35,12 +35,12 @@ Gem::Specification.new do |s|
35
35
  s.specification_version = 3
36
36
 
37
37
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
38
- s.add_runtime_dependency(%q<json>, [">= 0"])
38
+ s.add_runtime_dependency(%q<json_pure>, [">= 0"])
39
39
  else
40
- s.add_dependency(%q<json>, [">= 0"])
40
+ s.add_dependency(%q<json_pure>, [">= 0"])
41
41
  end
42
42
  else
43
- s.add_dependency(%q<json>, [">= 0"])
43
+ s.add_dependency(%q<json_pure>, [">= 0"])
44
44
  end
45
45
  end
46
46
 
@@ -1,5 +1,5 @@
1
1
  begin
2
- require 'json'
2
+ require 'json/pure'
3
3
  rescue LoadError => e
4
4
  raise MissingLibrary, "Json could not be loaded (is it installed?): #{e.message}"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capcode-render-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregoire Lejeune
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-07 00:00:00 +01:00
12
+ date: 2010-02-09 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: json
16
+ name: json_pure
17
17
  type: :runtime
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement