msgpack-rails 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.markdown +71 -0
- data/Rakefile +37 -0
- data/lib/msgpack-rails.rb +11 -0
- data/lib/msgpack_rails/2-3/msgpack-rails.rb +5 -0
- data/lib/msgpack_rails/2-3/msgpack_serializer.rb +16 -0
- data/lib/msgpack_rails/3/activeresource_formats/msgpack_format.rb +25 -0
- data/lib/msgpack_rails/3/activeresource_formats.rb +5 -0
- data/lib/msgpack_rails/3/msgpack-rails.rb +2 -0
- data/lib/msgpack_rails/3/msgpack_serializer.rb +23 -0
- data/lib/msgpack_rails/core_ext.rb +19 -0
- data/lib/msgpack_rails/mime_type.rb +1 -0
- data/lib/msgpack_rails/version.rb +3 -0
- data/lib/tasks/msgpack-rails_tasks.rake +4 -0
- data/test/core_ext_test.rb +22 -0
- data/test/dummy/README +256 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/endpoint/person.rb +3 -0
- data/test/dummy/app/models/group.rb +3 -0
- data/test/dummy/app/models/person.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +42 -0
- data/test/dummy/config/boot.rb +6 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110926220233_create_people.rb +16 -0
- data/test/dummy/db/migrate/20110926220327_create_groups.rb +14 -0
- data/test/dummy/db/schema.rb +32 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/doc/README_FOR_APP +2 -0
- data/test/dummy/log/development.log +65 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/log/test.log +4 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/images/rails.png +0 -0
- data/test/dummy/public/index.html +239 -0
- data/test/dummy/public/javascripts/application.js +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy_2_3_14/Gemfile +3 -0
- data/test/dummy_2_3_14/Gemfile.lock +30 -0
- data/test/dummy_2_3_14/README +243 -0
- data/test/dummy_2_3_14/Rakefile +10 -0
- data/test/dummy_2_3_14/app/controllers/application_controller.rb +10 -0
- data/test/dummy_2_3_14/app/helpers/application_helper.rb +3 -0
- data/test/dummy_2_3_14/app/models/endpoint/person.rb +3 -0
- data/test/dummy_2_3_14/app/models/group.rb +3 -0
- data/test/dummy_2_3_14/app/models/person.rb +3 -0
- data/test/dummy_2_3_14/config/boot.rb +128 -0
- data/test/dummy_2_3_14/config/database.yml +22 -0
- data/test/dummy_2_3_14/config/environment.rb +41 -0
- data/test/dummy_2_3_14/config/environments/development.rb +17 -0
- data/test/dummy_2_3_14/config/environments/production.rb +28 -0
- data/test/dummy_2_3_14/config/environments/test.rb +28 -0
- data/test/dummy_2_3_14/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy_2_3_14/config/initializers/cookie_verification_secret.rb +7 -0
- data/test/dummy_2_3_14/config/initializers/inflections.rb +10 -0
- data/test/dummy_2_3_14/config/initializers/mime_types.rb +5 -0
- data/test/dummy_2_3_14/config/initializers/new_rails_defaults.rb +21 -0
- data/test/dummy_2_3_14/config/initializers/session_store.rb +15 -0
- data/test/dummy_2_3_14/config/locales/en.yml +5 -0
- data/test/dummy_2_3_14/config/preinitializer.rb +20 -0
- data/test/dummy_2_3_14/config/routes.rb +43 -0
- data/test/dummy_2_3_14/db/development.sqlite3 +0 -0
- data/test/dummy_2_3_14/db/migrate/20110926220233_create_people.rb +16 -0
- data/test/dummy_2_3_14/db/migrate/20110926220327_create_groups.rb +14 -0
- data/test/dummy_2_3_14/db/schema.rb +30 -0
- data/test/dummy_2_3_14/db/seeds.rb +7 -0
- data/test/dummy_2_3_14/db/test.sqlite3 +0 -0
- data/test/dummy_2_3_14/doc/README_FOR_APP +2 -0
- data/test/dummy_2_3_14/log/development.log +74 -0
- data/test/dummy_2_3_14/log/production.log +0 -0
- data/test/dummy_2_3_14/log/server.log +0 -0
- data/test/dummy_2_3_14/log/test.log +0 -0
- data/test/dummy_2_3_14/public/404.html +30 -0
- data/test/dummy_2_3_14/public/422.html +30 -0
- data/test/dummy_2_3_14/public/500.html +30 -0
- data/test/dummy_2_3_14/public/favicon.ico +0 -0
- data/test/dummy_2_3_14/public/images/rails.png +0 -0
- data/test/dummy_2_3_14/public/index.html +275 -0
- data/test/dummy_2_3_14/public/javascripts/application.js +2 -0
- data/test/dummy_2_3_14/public/javascripts/controls.js +963 -0
- data/test/dummy_2_3_14/public/javascripts/dragdrop.js +973 -0
- data/test/dummy_2_3_14/public/javascripts/effects.js +1128 -0
- data/test/dummy_2_3_14/public/javascripts/prototype.js +4320 -0
- data/test/dummy_2_3_14/public/robots.txt +5 -0
- data/test/dummy_2_3_14/script/about +4 -0
- data/test/dummy_2_3_14/script/console +3 -0
- data/test/dummy_2_3_14/script/dbconsole +3 -0
- data/test/dummy_2_3_14/script/destroy +3 -0
- data/test/dummy_2_3_14/script/generate +3 -0
- data/test/dummy_2_3_14/script/performance/benchmarker +3 -0
- data/test/dummy_2_3_14/script/performance/profiler +3 -0
- data/test/dummy_2_3_14/script/plugin +3 -0
- data/test/dummy_2_3_14/script/runner +3 -0
- data/test/dummy_2_3_14/script/server +3 -0
- data/test/msgpack_assertion_files/date.mpac +1 -0
- data/test/msgpack_assertion_files/datetime.mpac +1 -0
- data/test/msgpack_assertion_files/time.mpac +1 -0
- data/test/msgpack_format_test.rb +55 -0
- data/test/msgpack_rails_test.rb +7 -0
- data/test/msgpack_serializer_test.rb +25 -0
- data/test/test_helper.rb +19 -0
- metadata +339 -0
@@ -0,0 +1 @@
|
|
1
|
+
�2011-03-23
|
@@ -0,0 +1 @@
|
|
1
|
+
�2010-02-03T04:15:09+00:00
|
@@ -0,0 +1 @@
|
|
1
|
+
�2011-01-04 14:34:17 UTC
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
# Generally-modeled after the ActiveResource formats tests
|
4
|
+
# NOTE: ActiveResource endpoint consumption currently not supported for rails 2.3.x
|
5
|
+
class MsgpackFormatTest < Test::Unit::TestCase
|
6
|
+
def setup
|
7
|
+
# PS. I hate cats.
|
8
|
+
@mittens = {:id => 1, :username => 'mittens_cat', :joined_at => "January 4, 2011 2:34:17 PM".to_datetime.utc, :age => 26}
|
9
|
+
@gloves = {:id => 2, :username => 'gloves_kitten', :joined_at => "February 3, 2010 6:44:00 AM".to_datetime.utc, :age => 20}
|
10
|
+
|
11
|
+
@felines = [ @mittens, @gloves ]
|
12
|
+
end
|
13
|
+
|
14
|
+
# Currently fails for rails 2.3.14. Officially this gem only works on rails 3.x
|
15
|
+
# Encoding of objects will still work in 2.3.x, but ActiveResource endpoint consumption might not
|
16
|
+
def test_msgpack_format_on_single_element
|
17
|
+
using_format(Endpoint::Person, :msgpack) do
|
18
|
+
ActiveResource::HttpMock.respond_to.get "/people/1.mpac", {'Accept' => ActiveResource::Formats[:msgpack].mime_type}, ActiveResource::Formats[:msgpack].encode(@mittens)
|
19
|
+
result = Endpoint::Person.find(1)
|
20
|
+
assert_equal @mittens[:username], result.username
|
21
|
+
assert_equal @mittens[:joined_at], result.joined_at
|
22
|
+
assert_equal @mittens[:age], result.age
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_msgpack_format_on_collection
|
27
|
+
using_format(Endpoint::Person, :msgpack) do
|
28
|
+
ActiveResource::HttpMock.respond_to.get "/people.mpac", {'Accept' => ActiveResource::Formats[:msgpack].mime_type}, ActiveResource::Formats[:msgpack].encode(@felines)
|
29
|
+
remote_people = Endpoint::Person.find(:all)
|
30
|
+
assert_equal 2, remote_people.size
|
31
|
+
assert remote_people.select {|p| p.username == 'gloves_kitten'}
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def test_msgpack_format_on_custom_collection_method
|
36
|
+
using_format(Endpoint::Person, :msgpack) do
|
37
|
+
ActiveResource::HttpMock.respond_to.get "/people/retrieve.mpac?username=gloves_kitten", {'Accept' => ActiveResource::Formats[:msgpack].mime_type}, ActiveResource::Formats[:msgpack].encode([@gloves])
|
38
|
+
remote_people = Endpoint::Person.get(:retrieve, :username => 'gloves_kitten')
|
39
|
+
assert_equal 1, remote_people.size
|
40
|
+
assert_equal @gloves[:id], remote_people[0]['id']
|
41
|
+
assert_equal @gloves[:name], remote_people[0]['name']
|
42
|
+
assert_equal @gloves[:joined_at], remote_people[0]['joined_at']
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
private
|
47
|
+
def using_format(klass, mime_type_reference)
|
48
|
+
previous_format = klass.format
|
49
|
+
klass.format = mime_type_reference
|
50
|
+
|
51
|
+
yield
|
52
|
+
ensure
|
53
|
+
klass.format = previous_format
|
54
|
+
end
|
55
|
+
end if Rails::VERSION::MAJOR > 2
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class MsgpackSerializerTest < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
@person = Person.new
|
6
|
+
@person.username = "Mittens the Cat"
|
7
|
+
@person.age = 26
|
8
|
+
@person.joined_at = "January 4, 2011 2:34:17 PM".to_datetime.utc
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_encode_all_encodable_attributes
|
12
|
+
pck = @person.to_msgpack
|
13
|
+
assert_match %r{username.Mittens the Cat}, pck
|
14
|
+
assert_match %r{age#{MessagePack.pack(26)}}, pck
|
15
|
+
assert_match %r{joined_at.#{Regexp.escape(@person.joined_at.utc.to_s)}}, pck
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_encode_multiple_objects_in_array
|
19
|
+
@person2 = Person.new(:username => "Gloves the Kitten", :age => 34, :joined_at => "February 3, 2010 6:44:00 AM".to_datetime.utc)
|
20
|
+
pck = [@person, @person2].to_msgpack
|
21
|
+
|
22
|
+
assert_match %r{username.Gloves the Kitten}, pck
|
23
|
+
assert_match %r{username.Mittens the Cat}, pck
|
24
|
+
end
|
25
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
#require File.expand_path("../dummy_2_3_14/config/environment.rb", __FILE__)
|
5
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
6
|
+
|
7
|
+
# Officially this gem only works on rails 3+...
|
8
|
+
# Some (but certainly not all) tests will pass in rails 2.3, but
|
9
|
+
# don't expect the entire featureset. See the README.
|
10
|
+
if Rails::VERSION::MAJOR > 2
|
11
|
+
require "rails/test_help"
|
12
|
+
else
|
13
|
+
require 'test/unit'
|
14
|
+
end
|
15
|
+
|
16
|
+
Rails.backtrace_cleaner.remove_silencers!
|
17
|
+
|
18
|
+
# Load support files
|
19
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
metadata
ADDED
@@ -0,0 +1,339 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: msgpack-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 29
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
version: 0.0.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Nathan Benes
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-12-30 00:00:00 -07:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rails
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 9
|
30
|
+
segments:
|
31
|
+
- 2
|
32
|
+
- 3
|
33
|
+
- 5
|
34
|
+
version: 2.3.5
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: msgpack
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
version: "0"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: sqlite3
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
65
|
+
description: For more information see the README.
|
66
|
+
email:
|
67
|
+
- nbenes@lawgical.com
|
68
|
+
executables: []
|
69
|
+
|
70
|
+
extensions: []
|
71
|
+
|
72
|
+
extra_rdoc_files: []
|
73
|
+
|
74
|
+
files:
|
75
|
+
- lib/msgpack-rails.rb
|
76
|
+
- lib/msgpack_rails/2-3/msgpack-rails.rb
|
77
|
+
- lib/msgpack_rails/2-3/msgpack_serializer.rb
|
78
|
+
- lib/msgpack_rails/3/activeresource_formats/msgpack_format.rb
|
79
|
+
- lib/msgpack_rails/3/activeresource_formats.rb
|
80
|
+
- lib/msgpack_rails/3/msgpack-rails.rb
|
81
|
+
- lib/msgpack_rails/3/msgpack_serializer.rb
|
82
|
+
- lib/msgpack_rails/core_ext.rb
|
83
|
+
- lib/msgpack_rails/mime_type.rb
|
84
|
+
- lib/msgpack_rails/version.rb
|
85
|
+
- lib/tasks/msgpack-rails_tasks.rake
|
86
|
+
- MIT-LICENSE
|
87
|
+
- Rakefile
|
88
|
+
- README.markdown
|
89
|
+
- test/core_ext_test.rb
|
90
|
+
- test/dummy/app/controllers/application_controller.rb
|
91
|
+
- test/dummy/app/helpers/application_helper.rb
|
92
|
+
- test/dummy/app/models/endpoint/person.rb
|
93
|
+
- test/dummy/app/models/group.rb
|
94
|
+
- test/dummy/app/models/person.rb
|
95
|
+
- test/dummy/app/views/layouts/application.html.erb
|
96
|
+
- test/dummy/config/application.rb
|
97
|
+
- test/dummy/config/boot.rb
|
98
|
+
- test/dummy/config/database.yml
|
99
|
+
- test/dummy/config/environment.rb
|
100
|
+
- test/dummy/config/environments/development.rb
|
101
|
+
- test/dummy/config/environments/production.rb
|
102
|
+
- test/dummy/config/environments/test.rb
|
103
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
104
|
+
- test/dummy/config/initializers/inflections.rb
|
105
|
+
- test/dummy/config/initializers/mime_types.rb
|
106
|
+
- test/dummy/config/initializers/secret_token.rb
|
107
|
+
- test/dummy/config/initializers/session_store.rb
|
108
|
+
- test/dummy/config/locales/en.yml
|
109
|
+
- test/dummy/config/routes.rb
|
110
|
+
- test/dummy/config.ru
|
111
|
+
- test/dummy/db/development.sqlite3
|
112
|
+
- test/dummy/db/migrate/20110926220233_create_people.rb
|
113
|
+
- test/dummy/db/migrate/20110926220327_create_groups.rb
|
114
|
+
- test/dummy/db/schema.rb
|
115
|
+
- test/dummy/db/seeds.rb
|
116
|
+
- test/dummy/db/test.sqlite3
|
117
|
+
- test/dummy/doc/README_FOR_APP
|
118
|
+
- test/dummy/log/development.log
|
119
|
+
- test/dummy/log/production.log
|
120
|
+
- test/dummy/log/server.log
|
121
|
+
- test/dummy/log/test.log
|
122
|
+
- test/dummy/public/404.html
|
123
|
+
- test/dummy/public/422.html
|
124
|
+
- test/dummy/public/500.html
|
125
|
+
- test/dummy/public/favicon.ico
|
126
|
+
- test/dummy/public/images/rails.png
|
127
|
+
- test/dummy/public/index.html
|
128
|
+
- test/dummy/public/javascripts/application.js
|
129
|
+
- test/dummy/public/robots.txt
|
130
|
+
- test/dummy/Rakefile
|
131
|
+
- test/dummy/README
|
132
|
+
- test/dummy/script/rails
|
133
|
+
- test/dummy_2_3_14/app/controllers/application_controller.rb
|
134
|
+
- test/dummy_2_3_14/app/helpers/application_helper.rb
|
135
|
+
- test/dummy_2_3_14/app/models/endpoint/person.rb
|
136
|
+
- test/dummy_2_3_14/app/models/group.rb
|
137
|
+
- test/dummy_2_3_14/app/models/person.rb
|
138
|
+
- test/dummy_2_3_14/config/boot.rb
|
139
|
+
- test/dummy_2_3_14/config/database.yml
|
140
|
+
- test/dummy_2_3_14/config/environment.rb
|
141
|
+
- test/dummy_2_3_14/config/environments/development.rb
|
142
|
+
- test/dummy_2_3_14/config/environments/production.rb
|
143
|
+
- test/dummy_2_3_14/config/environments/test.rb
|
144
|
+
- test/dummy_2_3_14/config/initializers/backtrace_silencers.rb
|
145
|
+
- test/dummy_2_3_14/config/initializers/cookie_verification_secret.rb
|
146
|
+
- test/dummy_2_3_14/config/initializers/inflections.rb
|
147
|
+
- test/dummy_2_3_14/config/initializers/mime_types.rb
|
148
|
+
- test/dummy_2_3_14/config/initializers/new_rails_defaults.rb
|
149
|
+
- test/dummy_2_3_14/config/initializers/session_store.rb
|
150
|
+
- test/dummy_2_3_14/config/locales/en.yml
|
151
|
+
- test/dummy_2_3_14/config/preinitializer.rb
|
152
|
+
- test/dummy_2_3_14/config/routes.rb
|
153
|
+
- test/dummy_2_3_14/db/development.sqlite3
|
154
|
+
- test/dummy_2_3_14/db/migrate/20110926220233_create_people.rb
|
155
|
+
- test/dummy_2_3_14/db/migrate/20110926220327_create_groups.rb
|
156
|
+
- test/dummy_2_3_14/db/schema.rb
|
157
|
+
- test/dummy_2_3_14/db/seeds.rb
|
158
|
+
- test/dummy_2_3_14/db/test.sqlite3
|
159
|
+
- test/dummy_2_3_14/doc/README_FOR_APP
|
160
|
+
- test/dummy_2_3_14/Gemfile
|
161
|
+
- test/dummy_2_3_14/Gemfile.lock
|
162
|
+
- test/dummy_2_3_14/log/development.log
|
163
|
+
- test/dummy_2_3_14/log/production.log
|
164
|
+
- test/dummy_2_3_14/log/server.log
|
165
|
+
- test/dummy_2_3_14/log/test.log
|
166
|
+
- test/dummy_2_3_14/public/404.html
|
167
|
+
- test/dummy_2_3_14/public/422.html
|
168
|
+
- test/dummy_2_3_14/public/500.html
|
169
|
+
- test/dummy_2_3_14/public/favicon.ico
|
170
|
+
- test/dummy_2_3_14/public/images/rails.png
|
171
|
+
- test/dummy_2_3_14/public/index.html
|
172
|
+
- test/dummy_2_3_14/public/javascripts/application.js
|
173
|
+
- test/dummy_2_3_14/public/javascripts/controls.js
|
174
|
+
- test/dummy_2_3_14/public/javascripts/dragdrop.js
|
175
|
+
- test/dummy_2_3_14/public/javascripts/effects.js
|
176
|
+
- test/dummy_2_3_14/public/javascripts/prototype.js
|
177
|
+
- test/dummy_2_3_14/public/robots.txt
|
178
|
+
- test/dummy_2_3_14/Rakefile
|
179
|
+
- test/dummy_2_3_14/README
|
180
|
+
- test/dummy_2_3_14/script/about
|
181
|
+
- test/dummy_2_3_14/script/console
|
182
|
+
- test/dummy_2_3_14/script/dbconsole
|
183
|
+
- test/dummy_2_3_14/script/destroy
|
184
|
+
- test/dummy_2_3_14/script/generate
|
185
|
+
- test/dummy_2_3_14/script/performance/benchmarker
|
186
|
+
- test/dummy_2_3_14/script/performance/profiler
|
187
|
+
- test/dummy_2_3_14/script/plugin
|
188
|
+
- test/dummy_2_3_14/script/runner
|
189
|
+
- test/dummy_2_3_14/script/server
|
190
|
+
- test/msgpack_assertion_files/date.mpac
|
191
|
+
- test/msgpack_assertion_files/datetime.mpac
|
192
|
+
- test/msgpack_assertion_files/time.mpac
|
193
|
+
- test/msgpack_format_test.rb
|
194
|
+
- test/msgpack_rails_test.rb
|
195
|
+
- test/msgpack_serializer_test.rb
|
196
|
+
- test/test_helper.rb
|
197
|
+
has_rdoc: true
|
198
|
+
homepage: https://github.com/nzifnab/msgpack-rails
|
199
|
+
licenses: []
|
200
|
+
|
201
|
+
post_install_message:
|
202
|
+
rdoc_options: []
|
203
|
+
|
204
|
+
require_paths:
|
205
|
+
- lib
|
206
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
hash: 3
|
212
|
+
segments:
|
213
|
+
- 0
|
214
|
+
version: "0"
|
215
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
hash: 3
|
221
|
+
segments:
|
222
|
+
- 0
|
223
|
+
version: "0"
|
224
|
+
requirements: []
|
225
|
+
|
226
|
+
rubyforge_project:
|
227
|
+
rubygems_version: 1.3.7
|
228
|
+
signing_key:
|
229
|
+
specification_version: 3
|
230
|
+
summary: Rails gem to utilize msgpack for serializing and deserializing
|
231
|
+
test_files:
|
232
|
+
- test/core_ext_test.rb
|
233
|
+
- test/dummy/app/controllers/application_controller.rb
|
234
|
+
- test/dummy/app/helpers/application_helper.rb
|
235
|
+
- test/dummy/app/models/endpoint/person.rb
|
236
|
+
- test/dummy/app/models/group.rb
|
237
|
+
- test/dummy/app/models/person.rb
|
238
|
+
- test/dummy/app/views/layouts/application.html.erb
|
239
|
+
- test/dummy/config/application.rb
|
240
|
+
- test/dummy/config/boot.rb
|
241
|
+
- test/dummy/config/database.yml
|
242
|
+
- test/dummy/config/environment.rb
|
243
|
+
- test/dummy/config/environments/development.rb
|
244
|
+
- test/dummy/config/environments/production.rb
|
245
|
+
- test/dummy/config/environments/test.rb
|
246
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
247
|
+
- test/dummy/config/initializers/inflections.rb
|
248
|
+
- test/dummy/config/initializers/mime_types.rb
|
249
|
+
- test/dummy/config/initializers/secret_token.rb
|
250
|
+
- test/dummy/config/initializers/session_store.rb
|
251
|
+
- test/dummy/config/locales/en.yml
|
252
|
+
- test/dummy/config/routes.rb
|
253
|
+
- test/dummy/config.ru
|
254
|
+
- test/dummy/db/development.sqlite3
|
255
|
+
- test/dummy/db/migrate/20110926220233_create_people.rb
|
256
|
+
- test/dummy/db/migrate/20110926220327_create_groups.rb
|
257
|
+
- test/dummy/db/schema.rb
|
258
|
+
- test/dummy/db/seeds.rb
|
259
|
+
- test/dummy/db/test.sqlite3
|
260
|
+
- test/dummy/doc/README_FOR_APP
|
261
|
+
- test/dummy/log/development.log
|
262
|
+
- test/dummy/log/production.log
|
263
|
+
- test/dummy/log/server.log
|
264
|
+
- test/dummy/log/test.log
|
265
|
+
- test/dummy/public/404.html
|
266
|
+
- test/dummy/public/422.html
|
267
|
+
- test/dummy/public/500.html
|
268
|
+
- test/dummy/public/favicon.ico
|
269
|
+
- test/dummy/public/images/rails.png
|
270
|
+
- test/dummy/public/index.html
|
271
|
+
- test/dummy/public/javascripts/application.js
|
272
|
+
- test/dummy/public/robots.txt
|
273
|
+
- test/dummy/Rakefile
|
274
|
+
- test/dummy/README
|
275
|
+
- test/dummy/script/rails
|
276
|
+
- test/dummy_2_3_14/app/controllers/application_controller.rb
|
277
|
+
- test/dummy_2_3_14/app/helpers/application_helper.rb
|
278
|
+
- test/dummy_2_3_14/app/models/endpoint/person.rb
|
279
|
+
- test/dummy_2_3_14/app/models/group.rb
|
280
|
+
- test/dummy_2_3_14/app/models/person.rb
|
281
|
+
- test/dummy_2_3_14/config/boot.rb
|
282
|
+
- test/dummy_2_3_14/config/database.yml
|
283
|
+
- test/dummy_2_3_14/config/environment.rb
|
284
|
+
- test/dummy_2_3_14/config/environments/development.rb
|
285
|
+
- test/dummy_2_3_14/config/environments/production.rb
|
286
|
+
- test/dummy_2_3_14/config/environments/test.rb
|
287
|
+
- test/dummy_2_3_14/config/initializers/backtrace_silencers.rb
|
288
|
+
- test/dummy_2_3_14/config/initializers/cookie_verification_secret.rb
|
289
|
+
- test/dummy_2_3_14/config/initializers/inflections.rb
|
290
|
+
- test/dummy_2_3_14/config/initializers/mime_types.rb
|
291
|
+
- test/dummy_2_3_14/config/initializers/new_rails_defaults.rb
|
292
|
+
- test/dummy_2_3_14/config/initializers/session_store.rb
|
293
|
+
- test/dummy_2_3_14/config/locales/en.yml
|
294
|
+
- test/dummy_2_3_14/config/preinitializer.rb
|
295
|
+
- test/dummy_2_3_14/config/routes.rb
|
296
|
+
- test/dummy_2_3_14/db/development.sqlite3
|
297
|
+
- test/dummy_2_3_14/db/migrate/20110926220233_create_people.rb
|
298
|
+
- test/dummy_2_3_14/db/migrate/20110926220327_create_groups.rb
|
299
|
+
- test/dummy_2_3_14/db/schema.rb
|
300
|
+
- test/dummy_2_3_14/db/seeds.rb
|
301
|
+
- test/dummy_2_3_14/db/test.sqlite3
|
302
|
+
- test/dummy_2_3_14/doc/README_FOR_APP
|
303
|
+
- test/dummy_2_3_14/Gemfile
|
304
|
+
- test/dummy_2_3_14/Gemfile.lock
|
305
|
+
- test/dummy_2_3_14/log/development.log
|
306
|
+
- test/dummy_2_3_14/log/production.log
|
307
|
+
- test/dummy_2_3_14/log/server.log
|
308
|
+
- test/dummy_2_3_14/log/test.log
|
309
|
+
- test/dummy_2_3_14/public/404.html
|
310
|
+
- test/dummy_2_3_14/public/422.html
|
311
|
+
- test/dummy_2_3_14/public/500.html
|
312
|
+
- test/dummy_2_3_14/public/favicon.ico
|
313
|
+
- test/dummy_2_3_14/public/images/rails.png
|
314
|
+
- test/dummy_2_3_14/public/index.html
|
315
|
+
- test/dummy_2_3_14/public/javascripts/application.js
|
316
|
+
- test/dummy_2_3_14/public/javascripts/controls.js
|
317
|
+
- test/dummy_2_3_14/public/javascripts/dragdrop.js
|
318
|
+
- test/dummy_2_3_14/public/javascripts/effects.js
|
319
|
+
- test/dummy_2_3_14/public/javascripts/prototype.js
|
320
|
+
- test/dummy_2_3_14/public/robots.txt
|
321
|
+
- test/dummy_2_3_14/Rakefile
|
322
|
+
- test/dummy_2_3_14/README
|
323
|
+
- test/dummy_2_3_14/script/about
|
324
|
+
- test/dummy_2_3_14/script/console
|
325
|
+
- test/dummy_2_3_14/script/dbconsole
|
326
|
+
- test/dummy_2_3_14/script/destroy
|
327
|
+
- test/dummy_2_3_14/script/generate
|
328
|
+
- test/dummy_2_3_14/script/performance/benchmarker
|
329
|
+
- test/dummy_2_3_14/script/performance/profiler
|
330
|
+
- test/dummy_2_3_14/script/plugin
|
331
|
+
- test/dummy_2_3_14/script/runner
|
332
|
+
- test/dummy_2_3_14/script/server
|
333
|
+
- test/msgpack_assertion_files/date.mpac
|
334
|
+
- test/msgpack_assertion_files/datetime.mpac
|
335
|
+
- test/msgpack_assertion_files/time.mpac
|
336
|
+
- test/msgpack_format_test.rb
|
337
|
+
- test/msgpack_rails_test.rb
|
338
|
+
- test/msgpack_serializer_test.rb
|
339
|
+
- test/test_helper.rb
|