activerecord-msgpack_serializer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f3fb3f1dba7bda0293b49ed36dad027a05550e6
4
- data.tar.gz: 642ed0ca7469e70ca46eb90d1c714bc8848de8f7
3
+ metadata.gz: 3f4257c0ec9448be5451e00e0acc0ad3f238123a
4
+ data.tar.gz: 3141d392377f72ca215acd6d40f084825c88a824
5
5
  SHA512:
6
- metadata.gz: 40079825410ff372c6fb07477dfd6f4b8e0ca000b327acb7e7fe8aca72637dbe978b23dc04b7c2aa567c47999ccbd33934814818b4fcb1e678ccffd2d4be5857
7
- data.tar.gz: 9d434698f18fdcad0e7c83e92cfa81e21aaa98e05dbeef5cf90961c29415bbda0bcf45c33296593654f13e7710677880772c4c51ed192404842d6b6335bed3c2
6
+ metadata.gz: 77834f5f47b7c4f67e51b77c747f64366bf833854e1a9956fec382edc3641d37fbd88768ba88cbdf7d55bd5acf88fd4c0d709402118e55662423929afb21498a
7
+ data.tar.gz: 5f51cc89d4f75f034e9b0a1151e8bfd0b183522475d71a5f2d45641d5ccbee88e5b6570225e5e4bc027d47a9e4e0461419ce2ac2a16c8d927a6ee2265a443c34
data/README.md CHANGED
@@ -21,6 +21,7 @@ Or install it yourself as:
21
21
  If you want `meta_data` field to serialize with MessagePack, use `serialize` like the follow:
22
22
 
23
23
  ```ruby
24
+ require "activerecord/message_pack_serializer"
24
25
  class Post < ActiveRecord::Base
25
26
  serialize :meta_data, ActiveRecord::Serializers::MessagePackSerializer
26
27
 
@@ -0,0 +1 @@
1
+ require "activerecord/serializers/message_pack_serializer"
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module Serializers
3
3
  class MessagePackSerializer
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
data/spec/spec_helper.rb CHANGED
@@ -1 +1 @@
1
- require "activerecord/serializers/message_pack_serializer"
1
+ require "activerecord/msgpack_serializer"
metadata CHANGED
@@ -1,97 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-msgpack_serializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shimpei Makimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-26 00:00:00.000000000 Z
11
+ date: 2013-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activerecord
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '4.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '4.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: msgpack
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  description:
@@ -101,12 +101,13 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".gitignore"
105
- - ".travis.yml"
104
+ - .gitignore
105
+ - .travis.yml
106
106
  - Gemfile
107
107
  - README.md
108
108
  - Rakefile
109
109
  - activerecord-msgpack_serializer.gemspec
110
+ - lib/activerecord/msgpack_serializer.rb
110
111
  - lib/activerecord/serializers/message_pack_serializer.rb
111
112
  - lib/activerecord/serializers/message_pack_serializer/version.rb
112
113
  - spec/activerecord/serializers/message_pack_serializer_spec.rb
@@ -121,17 +122,17 @@ require_paths:
121
122
  - lib
122
123
  required_ruby_version: !ruby/object:Gem::Requirement
123
124
  requirements:
124
- - - ">="
125
+ - - '>='
125
126
  - !ruby/object:Gem::Version
126
127
  version: '0'
127
128
  required_rubygems_version: !ruby/object:Gem::Requirement
128
129
  requirements:
129
- - - ">="
130
+ - - '>='
130
131
  - !ruby/object:Gem::Version
131
132
  version: '0'
132
133
  requirements: []
133
134
  rubyforge_project:
134
- rubygems_version: 2.2.0
135
+ rubygems_version: 2.0.2
135
136
  signing_key:
136
137
  specification_version: 4
137
138
  summary: A custom ActiveRecord serializer using MessagePack