json_serializable 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- json_serializable (0.2.0)
4
+ json_serializable (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  #JsonSerializable
2
2
  In my projects I have found the basic as_json method that you get from Rails to be quite limiting. For example, as_json takes :methods, but the hash key can only be the method's name. Similar restriction applies to the :only option. So, I am extending this method in JsonSerializable so that you can customize your JSON output with a simple declarative syntax.
3
3
 
4
+ ## Build Status
5
+ [![Build Status](https://secure.travis-ci.org/smsohan/json_serializable.png)](http://travis-ci.org/smsohan/json_serializable)
6
+
4
7
 
5
8
  ##In you Gemfile:
6
9
 
@@ -40,4 +43,8 @@ In my projects I have found the basic as_json method that you get from Rails to
40
43
  address: "2301 Varsity DR NW'
41
44
  }
42
45
 
46
+ ##Feedback
47
+
48
+ Use the Issues page or knock me at @smsohan if its quick!
49
+
43
50
  Released under DWTFYW (Do What the F* You Want) License.
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = JsonSerializable::VERSION
8
8
  s.authors = ["smsohan"]
9
9
  s.email = ["sohan39@gmail.com"]
10
- s.homepage = "https://github.com/smsohan/json_serializer"
10
+ s.homepage = "https://github.com/smsohan/json_serializable"
11
11
  s.summary = %q{Provides a clean approach to custom JSON serialize your AR models}
12
12
  s.description = %q{Use custom names in JSON keys and your custom logic in JSON values}
13
13
 
@@ -1,3 +1,3 @@
1
1
  module JsonSerializable
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_serializable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2168965380 !ruby/object:Gem::Requirement
16
+ requirement: &2160858000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2168965380
24
+ version_requirements: *2160858000
25
25
  description: Use custom names in JSON keys and your custom logic in JSON values
26
26
  email:
27
27
  - sohan39@gmail.com
@@ -32,6 +32,7 @@ files:
32
32
  - .gitignore
33
33
  - .rspec
34
34
  - .rvmrc
35
+ - .travis.yml
35
36
  - Gemfile
36
37
  - Gemfile.lock
37
38
  - README.md
@@ -40,7 +41,7 @@ files:
40
41
  - lib/json_serializable.rb
41
42
  - lib/json_serializable/version.rb
42
43
  - spec/json_serializable_spec.rb
43
- homepage: https://github.com/smsohan/json_serializer
44
+ homepage: https://github.com/smsohan/json_serializable
44
45
  licenses: []
45
46
  post_install_message:
46
47
  rdoc_options: []
@@ -54,7 +55,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
55
  version: '0'
55
56
  segments:
56
57
  - 0
57
- hash: 2466998277856228953
58
+ hash: 4307063244587496345
58
59
  required_rubygems_version: !ruby/object:Gem::Requirement
59
60
  none: false
60
61
  requirements:
@@ -63,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
64
  version: '0'
64
65
  segments:
65
66
  - 0
66
- hash: 2466998277856228953
67
+ hash: 4307063244587496345
67
68
  requirements: []
68
69
  rubyforge_project: json_serializable
69
70
  rubygems_version: 1.8.17