morpheus 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ .DS_Store
2
+ *.gem
3
+ *.rbc
4
+ .bundle
5
+ .config
6
+ .yardoc
7
+ Gemfile.lock
8
+ InstalledFiles
9
+ _yardoc
10
+ coverage
11
+ doc/
12
+ lib/bundler/man
13
+ pkg
14
+ rdoc
15
+ spec/dummy/log
16
+ spec/reports
17
+ tmp
data/Gemfile CHANGED
@@ -1,21 +1,3 @@
1
- source "http://rubygems.org"
1
+ source 'http://rubygems.org'
2
2
 
3
- gem 'yajl-ruby', '~>0.8.2'
4
- gem 'typhoeus', '~>0.2.4'
5
- gem 'activemodel', '~>3.0.0'
6
- gem 'activesupport', '~>3.0.0'
7
- gem 'i18n', '~>0.5.0'
8
-
9
- group :development, :test do
10
- gem 'rails', '3.0.7'
11
- gem 'sqlite3', '1.3.3'
12
- gem 'rspec-rails', '2.6.0'
13
- gem 'yard', '0.6.8'
14
- gem 'jeweler', '1.6.0'
15
- gem 'rcov', '0.9.9'
16
- gem 'autotest', '4.4.6'
17
- gem 'ZenTest', '4.6.2'
18
- gem 'rocco', '0.7.0'
19
- gem 'awesome_print', '0.4.0'
20
- gem 'pry', '0.9.3'
21
- end
3
+ gemspec
data/Rakefile CHANGED
@@ -1,48 +1,2 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- require 'bundler'
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
- require 'rake'
13
-
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "morpheus"
18
- gem.homepage = "https://github.com/RevolutionPrep/morpheus"
19
- gem.license = "MIT"
20
- gem.summary = %Q{RESTful API Client}
21
- gem.description = %Q{RESTful API Client}
22
- gem.email = "ryan.moran@revolutionprep.com"
23
- gem.authors = ["Ryan Moran"]
24
- # dependencies defined in Gemfile
25
- end
26
- Jeweler::RubygemsDotOrgTasks.new
27
-
28
- require 'rspec/core'
29
- require 'rspec/core/rake_task'
30
- RSpec::Core::RakeTask.new(:spec) do |spec|
31
- spec.pattern = FileList['spec/**/*_spec.rb']
32
- end
33
-
34
- RSpec::Core::RakeTask.new(:rcov) do |spec|
35
- spec.pattern = 'spec/**/*_spec.rb'
36
- spec.rcov_opts = "--exclude osx\/objc,gems\/,spec\/"
37
- spec.rcov = true
38
- end
39
-
40
- task :default => :spec
41
-
42
- require 'yard'
43
- YARD::Rake::YardocTask.new
44
-
45
- desc "Builds the documentation using Rocco"
46
- task :doc do
47
- system 'rocco -o doc -t doc/layout.mustache lib/*.rb lib/**/*.rb lib/**/**/*.rb'
48
- end
1
+ #!/usr/bin/env rake
2
+ require 'bundler/gem_tasks'
@@ -0,0 +1,3 @@
1
+ module Morpheus
2
+ VERSION = '0.3.5'
3
+ end
data/lib/morpheus.rb CHANGED
@@ -10,6 +10,8 @@ require 'active_model'
10
10
  # The bulk of the library consists of the Base class and its mix-in modules, the request/response wrappers,
11
11
  # mocking, configuration, errors, and classes managing associations, reflections, relations, and typecasting.
12
12
  module Morpheus
13
+ autoload :Version, 'morpheus/version'
14
+
13
15
  autoload :Base, 'morpheus/base'
14
16
  autoload :Configuration, 'morpheus/configuration'
15
17
  autoload :Filter, 'morpheus/filter'
data/morpheus.gemspec CHANGED
@@ -1,191 +1,29 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/morpheus/version', __FILE__)
5
3
 
6
- Gem::Specification.new do |s|
7
- s.name = "morpheus"
8
- s.version = "0.3.4"
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ['Ryan Moran']
6
+ gem.email = ['ryan.moran@revolutionprep.com']
7
+ gem.description = %q{RESTful API Client}
8
+ gem.summary = %q{RESTful API Client}
9
+ gem.homepage = ""
9
10
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Ryan Moran"]
12
- s.date = "2011-12-07"
13
- s.description = "RESTful API Client"
14
- s.email = "ryan.moran@revolutionprep.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".rvmrc",
21
- "Gemfile",
22
- "Gemfile.lock",
23
- "LICENSE.txt",
24
- "README.rdoc",
25
- "Rakefile",
26
- "VERSION",
27
- "autotest/discover.rb",
28
- "lib/ext/typhoeus.rb",
29
- "lib/morpheus.rb",
30
- "lib/morpheus/associations/association.rb",
31
- "lib/morpheus/associations/belongs_to_association.rb",
32
- "lib/morpheus/associations/has_many_association.rb",
33
- "lib/morpheus/associations/has_one_association.rb",
34
- "lib/morpheus/base.rb",
35
- "lib/morpheus/client/associations.rb",
36
- "lib/morpheus/client/inflections.rb",
37
- "lib/morpheus/client/log_subscriber.rb",
38
- "lib/morpheus/client/railtie.rb",
39
- "lib/morpheus/configuration.rb",
40
- "lib/morpheus/errors.rb",
41
- "lib/morpheus/filter.rb",
42
- "lib/morpheus/mixins/associations.rb",
43
- "lib/morpheus/mixins/attributes.rb",
44
- "lib/morpheus/mixins/conversion.rb",
45
- "lib/morpheus/mixins/filtering.rb",
46
- "lib/morpheus/mixins/finders.rb",
47
- "lib/morpheus/mixins/introspection.rb",
48
- "lib/morpheus/mixins/persistence.rb",
49
- "lib/morpheus/mixins/reflections.rb",
50
- "lib/morpheus/mixins/request_handling.rb",
51
- "lib/morpheus/mixins/response_parsing.rb",
52
- "lib/morpheus/mixins/url_support.rb",
53
- "lib/morpheus/mock.rb",
54
- "lib/morpheus/reflection.rb",
55
- "lib/morpheus/relation.rb",
56
- "lib/morpheus/request.rb",
57
- "lib/morpheus/request_cache.rb",
58
- "lib/morpheus/request_queue.rb",
59
- "lib/morpheus/response.rb",
60
- "lib/morpheus/response_parser.rb",
61
- "lib/morpheus/type_caster.rb",
62
- "lib/morpheus/url_builder.rb",
63
- "morpheus.gemspec",
64
- "spec/dummy/Rakefile",
65
- "spec/dummy/app/controllers/application_controller.rb",
66
- "spec/dummy/app/helpers/application_helper.rb",
67
- "spec/dummy/app/models/purchase.rb",
68
- "spec/dummy/app/resources/attendee.rb",
69
- "spec/dummy/app/resources/author.rb",
70
- "spec/dummy/app/resources/automobile.rb",
71
- "spec/dummy/app/resources/book.rb",
72
- "spec/dummy/app/resources/conference.rb",
73
- "spec/dummy/app/resources/dog.rb",
74
- "spec/dummy/app/resources/item.rb",
75
- "spec/dummy/app/resources/meeting.rb",
76
- "spec/dummy/app/resources/speaker.rb",
77
- "spec/dummy/app/resources/state.rb",
78
- "spec/dummy/app/views/layouts/application.html.erb",
79
- "spec/dummy/config.ru",
80
- "spec/dummy/config/application.rb",
81
- "spec/dummy/config/boot.rb",
82
- "spec/dummy/config/database.yml",
83
- "spec/dummy/config/environment.rb",
84
- "spec/dummy/config/environments/development.rb",
85
- "spec/dummy/config/environments/production.rb",
86
- "spec/dummy/config/environments/test.rb",
87
- "spec/dummy/config/initializers/backtrace_silencers.rb",
88
- "spec/dummy/config/initializers/inflections.rb",
89
- "spec/dummy/config/initializers/mime_types.rb",
90
- "spec/dummy/config/initializers/morpheus.rb",
91
- "spec/dummy/config/initializers/secret_token.rb",
92
- "spec/dummy/config/initializers/session_store.rb",
93
- "spec/dummy/config/locales/en.yml",
94
- "spec/dummy/config/routes.rb",
95
- "spec/dummy/db/migrate/20110605002144_create_purchases.rb",
96
- "spec/dummy/db/test.sqlite3",
97
- "spec/dummy/public/404.html",
98
- "spec/dummy/public/422.html",
99
- "spec/dummy/public/500.html",
100
- "spec/dummy/public/favicon.ico",
101
- "spec/dummy/public/stylesheets/.gitkeep",
102
- "spec/dummy/script/rails",
103
- "spec/morpheus/associations/association_spec.rb",
104
- "spec/morpheus/associations/belongs_to_association_spec.rb",
105
- "spec/morpheus/associations/has_many_association_spec.rb",
106
- "spec/morpheus/associations/has_one_association_spec.rb",
107
- "spec/morpheus/base_spec.rb",
108
- "spec/morpheus/client/associations_spec.rb",
109
- "spec/morpheus/configuration_spec.rb",
110
- "spec/morpheus/mixins/associations_spec.rb",
111
- "spec/morpheus/mixins/attributes_spec.rb",
112
- "spec/morpheus/mixins/conversion_spec.rb",
113
- "spec/morpheus/mixins/finders_spec.rb",
114
- "spec/morpheus/mixins/introspection_spec.rb",
115
- "spec/morpheus/mixins/persistence_spec.rb",
116
- "spec/morpheus/mixins/reflection_spec.rb",
117
- "spec/morpheus/mixins/response_parsing_spec.rb",
118
- "spec/morpheus/mock_spec.rb",
119
- "spec/morpheus/relation_spec.rb",
120
- "spec/morpheus/request_cache_spec.rb",
121
- "spec/morpheus/request_spec.rb",
122
- "spec/morpheus/response_spec.rb",
123
- "spec/morpheus/type_caster_spec.rb",
124
- "spec/shared/active_model_lint_test.rb",
125
- "spec/spec_helper.rb",
126
- "spec/support/configuration.rb"
127
- ]
128
- s.homepage = "https://github.com/RevolutionPrep/morpheus"
129
- s.licenses = ["MIT"]
130
- s.require_paths = ["lib"]
131
- s.rubygems_version = "1.8.11"
132
- s.summary = "RESTful API Client"
11
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
+ gem.files = `git ls-files`.split("\n")
13
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ gem.name = 'morpheus'
15
+ gem.require_paths = ['lib']
16
+ gem.version = Morpheus::VERSION
133
17
 
134
- if s.respond_to? :specification_version then
135
- s.specification_version = 3
18
+ gem.add_dependency 'yajl-ruby', '~> 0.8.2'
19
+ gem.add_dependency 'typhoeus', '~> 0.3.3'
20
+ gem.add_dependency 'activemodel', '~> 3.0.0'
21
+ gem.add_dependency 'activesupport', '~> 3.0.0'
22
+ gem.add_dependency 'i18n', '~> 0.5.0'
136
23
 
137
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
138
- s.add_runtime_dependency(%q<yajl-ruby>, ["~> 0.8.2"])
139
- s.add_runtime_dependency(%q<typhoeus>, ["~> 0.2.4"])
140
- s.add_runtime_dependency(%q<activemodel>, ["~> 3.0.0"])
141
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0"])
142
- s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
143
- s.add_development_dependency(%q<rails>, ["= 3.0.7"])
144
- s.add_development_dependency(%q<sqlite3>, ["= 1.3.3"])
145
- s.add_development_dependency(%q<rspec-rails>, ["= 2.6.0"])
146
- s.add_development_dependency(%q<yard>, ["= 0.6.8"])
147
- s.add_development_dependency(%q<jeweler>, ["= 1.6.0"])
148
- s.add_development_dependency(%q<rcov>, ["= 0.9.9"])
149
- s.add_development_dependency(%q<autotest>, ["= 4.4.6"])
150
- s.add_development_dependency(%q<ZenTest>, ["= 4.6.2"])
151
- s.add_development_dependency(%q<rocco>, ["= 0.7.0"])
152
- s.add_development_dependency(%q<awesome_print>, ["= 0.4.0"])
153
- s.add_development_dependency(%q<pry>, ["= 0.9.3"])
154
- else
155
- s.add_dependency(%q<yajl-ruby>, ["~> 0.8.2"])
156
- s.add_dependency(%q<typhoeus>, ["~> 0.2.4"])
157
- s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
158
- s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
159
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
160
- s.add_dependency(%q<rails>, ["= 3.0.7"])
161
- s.add_dependency(%q<sqlite3>, ["= 1.3.3"])
162
- s.add_dependency(%q<rspec-rails>, ["= 2.6.0"])
163
- s.add_dependency(%q<yard>, ["= 0.6.8"])
164
- s.add_dependency(%q<jeweler>, ["= 1.6.0"])
165
- s.add_dependency(%q<rcov>, ["= 0.9.9"])
166
- s.add_dependency(%q<autotest>, ["= 4.4.6"])
167
- s.add_dependency(%q<ZenTest>, ["= 4.6.2"])
168
- s.add_dependency(%q<rocco>, ["= 0.7.0"])
169
- s.add_dependency(%q<awesome_print>, ["= 0.4.0"])
170
- s.add_dependency(%q<pry>, ["= 0.9.3"])
171
- end
172
- else
173
- s.add_dependency(%q<yajl-ruby>, ["~> 0.8.2"])
174
- s.add_dependency(%q<typhoeus>, ["~> 0.2.4"])
175
- s.add_dependency(%q<activemodel>, ["~> 3.0.0"])
176
- s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
177
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
178
- s.add_dependency(%q<rails>, ["= 3.0.7"])
179
- s.add_dependency(%q<sqlite3>, ["= 1.3.3"])
180
- s.add_dependency(%q<rspec-rails>, ["= 2.6.0"])
181
- s.add_dependency(%q<yard>, ["= 0.6.8"])
182
- s.add_dependency(%q<jeweler>, ["= 1.6.0"])
183
- s.add_dependency(%q<rcov>, ["= 0.9.9"])
184
- s.add_dependency(%q<autotest>, ["= 4.4.6"])
185
- s.add_dependency(%q<ZenTest>, ["= 4.6.2"])
186
- s.add_dependency(%q<rocco>, ["= 0.7.0"])
187
- s.add_dependency(%q<awesome_print>, ["= 0.4.0"])
188
- s.add_dependency(%q<pry>, ["= 0.9.3"])
189
- end
24
+ gem.add_development_dependency 'rails', '~> 3.0.0'
25
+ gem.add_development_dependency 'sqlite3', '~> 1.3.3'
26
+ gem.add_development_dependency 'rspec-rails', '~> 2.7.0'
27
+ gem.add_development_dependency 'rcov', '~> 0.9.11'
28
+ gem.add_development_dependency 'autotest-standalone', '~> 4.5.8'
190
29
  end
191
-
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 4
10
- version: 0.3.4
9
+ - 5
10
+ version: 0.3.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Moran
@@ -18,7 +18,9 @@ cert_chain: []
18
18
  date: 2011-12-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ name: yajl-ruby
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
22
24
  none: false
23
25
  requirements:
24
26
  - - ~>
@@ -29,28 +31,28 @@ dependencies:
29
31
  - 8
30
32
  - 2
31
33
  version: 0.8.2
32
- name: yajl-ruby
33
- prerelease: false
34
34
  type: :runtime
35
- requirement: *id001
35
+ version_requirements: *id001
36
36
  - !ruby/object:Gem::Dependency
37
- version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ name: typhoeus
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
38
40
  none: false
39
41
  requirements:
40
42
  - - ~>
41
43
  - !ruby/object:Gem::Version
42
- hash: 31
44
+ hash: 21
43
45
  segments:
44
46
  - 0
45
- - 2
46
- - 4
47
- version: 0.2.4
48
- name: typhoeus
49
- prerelease: false
47
+ - 3
48
+ - 3
49
+ version: 0.3.3
50
50
  type: :runtime
51
- requirement: *id002
51
+ version_requirements: *id002
52
52
  - !ruby/object:Gem::Dependency
53
- version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ name: activemodel
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
54
56
  none: false
55
57
  requirements:
56
58
  - - ~>
@@ -61,12 +63,12 @@ dependencies:
61
63
  - 0
62
64
  - 0
63
65
  version: 3.0.0
64
- name: activemodel
65
- prerelease: false
66
66
  type: :runtime
67
- requirement: *id003
67
+ version_requirements: *id003
68
68
  - !ruby/object:Gem::Dependency
69
- version_requirements: &id004 !ruby/object:Gem::Requirement
69
+ name: activesupport
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
70
72
  none: false
71
73
  requirements:
72
74
  - - ~>
@@ -77,12 +79,12 @@ dependencies:
77
79
  - 0
78
80
  - 0
79
81
  version: 3.0.0
80
- name: activesupport
81
- prerelease: false
82
82
  type: :runtime
83
- requirement: *id004
83
+ version_requirements: *id004
84
84
  - !ruby/object:Gem::Dependency
85
- version_requirements: &id005 !ruby/object:Gem::Requirement
85
+ name: i18n
86
+ prerelease: false
87
+ requirement: &id005 !ruby/object:Gem::Requirement
86
88
  none: false
87
89
  requirements:
88
90
  - - ~>
@@ -93,31 +95,31 @@ dependencies:
93
95
  - 5
94
96
  - 0
95
97
  version: 0.5.0
96
- name: i18n
97
- prerelease: false
98
98
  type: :runtime
99
- requirement: *id005
99
+ version_requirements: *id005
100
100
  - !ruby/object:Gem::Dependency
101
- version_requirements: &id006 !ruby/object:Gem::Requirement
101
+ name: rails
102
+ prerelease: false
103
+ requirement: &id006 !ruby/object:Gem::Requirement
102
104
  none: false
103
105
  requirements:
104
- - - "="
106
+ - - ~>
105
107
  - !ruby/object:Gem::Version
106
- hash: 9
108
+ hash: 7
107
109
  segments:
108
110
  - 3
109
111
  - 0
110
- - 7
111
- version: 3.0.7
112
- name: rails
113
- prerelease: false
112
+ - 0
113
+ version: 3.0.0
114
114
  type: :development
115
- requirement: *id006
115
+ version_requirements: *id006
116
116
  - !ruby/object:Gem::Dependency
117
- version_requirements: &id007 !ruby/object:Gem::Requirement
117
+ name: sqlite3
118
+ prerelease: false
119
+ requirement: &id007 !ruby/object:Gem::Requirement
118
120
  none: false
119
121
  requirements:
120
- - - "="
122
+ - - ~>
121
123
  - !ruby/object:Gem::Version
122
124
  hash: 29
123
125
  segments:
@@ -125,171 +127,72 @@ dependencies:
125
127
  - 3
126
128
  - 3
127
129
  version: 1.3.3
128
- name: sqlite3
129
- prerelease: false
130
130
  type: :development
131
- requirement: *id007
131
+ version_requirements: *id007
132
132
  - !ruby/object:Gem::Dependency
133
- version_requirements: &id008 !ruby/object:Gem::Requirement
134
- none: false
135
- requirements:
136
- - - "="
137
- - !ruby/object:Gem::Version
138
- hash: 23
139
- segments:
140
- - 2
141
- - 6
142
- - 0
143
- version: 2.6.0
144
133
  name: rspec-rails
145
134
  prerelease: false
146
- type: :development
147
- requirement: *id008
148
- - !ruby/object:Gem::Dependency
149
- version_requirements: &id009 !ruby/object:Gem::Requirement
135
+ requirement: &id008 !ruby/object:Gem::Requirement
150
136
  none: false
151
137
  requirements:
152
- - - "="
138
+ - - ~>
153
139
  - !ruby/object:Gem::Version
154
- hash: 23
140
+ hash: 19
155
141
  segments:
142
+ - 2
143
+ - 7
156
144
  - 0
157
- - 6
158
- - 8
159
- version: 0.6.8
160
- name: yard
161
- prerelease: false
145
+ version: 2.7.0
162
146
  type: :development
163
- requirement: *id009
147
+ version_requirements: *id008
164
148
  - !ruby/object:Gem::Dependency
165
- version_requirements: &id010 !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - "="
169
- - !ruby/object:Gem::Version
170
- hash: 15
171
- segments:
172
- - 1
173
- - 6
174
- - 0
175
- version: 1.6.0
176
- name: jeweler
149
+ name: rcov
177
150
  prerelease: false
178
- type: :development
179
- requirement: *id010
180
- - !ruby/object:Gem::Dependency
181
- version_requirements: &id011 !ruby/object:Gem::Requirement
151
+ requirement: &id009 !ruby/object:Gem::Requirement
182
152
  none: false
183
153
  requirements:
184
- - - "="
154
+ - - ~>
185
155
  - !ruby/object:Gem::Version
186
- hash: 41
156
+ hash: 45
187
157
  segments:
188
158
  - 0
189
159
  - 9
190
- - 9
191
- version: 0.9.9
192
- name: rcov
193
- prerelease: false
194
- type: :development
195
- requirement: *id011
196
- - !ruby/object:Gem::Dependency
197
- version_requirements: &id012 !ruby/object:Gem::Requirement
198
- none: false
199
- requirements:
200
- - - "="
201
- - !ruby/object:Gem::Version
202
- hash: 35
203
- segments:
204
- - 4
205
- - 4
206
- - 6
207
- version: 4.4.6
208
- name: autotest
209
- prerelease: false
210
- type: :development
211
- requirement: *id012
212
- - !ruby/object:Gem::Dependency
213
- version_requirements: &id013 !ruby/object:Gem::Requirement
214
- none: false
215
- requirements:
216
- - - "="
217
- - !ruby/object:Gem::Version
218
- hash: 35
219
- segments:
220
- - 4
221
- - 6
222
- - 2
223
- version: 4.6.2
224
- name: ZenTest
225
- prerelease: false
160
+ - 11
161
+ version: 0.9.11
226
162
  type: :development
227
- requirement: *id013
163
+ version_requirements: *id009
228
164
  - !ruby/object:Gem::Dependency
229
- version_requirements: &id014 !ruby/object:Gem::Requirement
230
- none: false
231
- requirements:
232
- - - "="
233
- - !ruby/object:Gem::Version
234
- hash: 3
235
- segments:
236
- - 0
237
- - 7
238
- - 0
239
- version: 0.7.0
240
- name: rocco
165
+ name: autotest-standalone
241
166
  prerelease: false
242
- type: :development
243
- requirement: *id014
244
- - !ruby/object:Gem::Dependency
245
- version_requirements: &id015 !ruby/object:Gem::Requirement
167
+ requirement: &id010 !ruby/object:Gem::Requirement
246
168
  none: false
247
169
  requirements:
248
- - - "="
170
+ - - ~>
249
171
  - !ruby/object:Gem::Version
250
- hash: 15
172
+ hash: 59
251
173
  segments:
252
- - 0
253
174
  - 4
254
- - 0
255
- version: 0.4.0
256
- name: awesome_print
257
- prerelease: false
258
- type: :development
259
- requirement: *id015
260
- - !ruby/object:Gem::Dependency
261
- version_requirements: &id016 !ruby/object:Gem::Requirement
262
- none: false
263
- requirements:
264
- - - "="
265
- - !ruby/object:Gem::Version
266
- hash: 61
267
- segments:
268
- - 0
269
- - 9
270
- - 3
271
- version: 0.9.3
272
- name: pry
273
- prerelease: false
175
+ - 5
176
+ - 8
177
+ version: 4.5.8
274
178
  type: :development
275
- requirement: *id016
179
+ version_requirements: *id010
276
180
  description: RESTful API Client
277
- email: ryan.moran@revolutionprep.com
181
+ email:
182
+ - ryan.moran@revolutionprep.com
278
183
  executables: []
279
184
 
280
185
  extensions: []
281
186
 
282
- extra_rdoc_files:
283
- - LICENSE.txt
284
- - README.rdoc
187
+ extra_rdoc_files: []
188
+
285
189
  files:
190
+ - .gitignore
286
191
  - .rvmrc
287
192
  - Gemfile
288
- - Gemfile.lock
289
193
  - LICENSE.txt
290
194
  - README.rdoc
291
195
  - Rakefile
292
- - VERSION
293
196
  - autotest/discover.rb
294
197
  - lib/ext/typhoeus.rb
295
198
  - lib/morpheus.rb
@@ -326,6 +229,7 @@ files:
326
229
  - lib/morpheus/response_parser.rb
327
230
  - lib/morpheus/type_caster.rb
328
231
  - lib/morpheus/url_builder.rb
232
+ - lib/morpheus/version.rb
329
233
  - morpheus.gemspec
330
234
  - spec/dummy/Rakefile
331
235
  - spec/dummy/app/controllers/application_controller.rb
@@ -390,9 +294,9 @@ files:
390
294
  - spec/shared/active_model_lint_test.rb
391
295
  - spec/spec_helper.rb
392
296
  - spec/support/configuration.rb
393
- homepage: https://github.com/RevolutionPrep/morpheus
394
- licenses:
395
- - MIT
297
+ homepage: ""
298
+ licenses: []
299
+
396
300
  post_install_message:
397
301
  rdoc_options: []
398
302
 
@@ -423,5 +327,67 @@ rubygems_version: 1.8.11
423
327
  signing_key:
424
328
  specification_version: 3
425
329
  summary: RESTful API Client
426
- test_files: []
427
-
330
+ test_files:
331
+ - spec/dummy/Rakefile
332
+ - spec/dummy/app/controllers/application_controller.rb
333
+ - spec/dummy/app/helpers/application_helper.rb
334
+ - spec/dummy/app/models/purchase.rb
335
+ - spec/dummy/app/resources/attendee.rb
336
+ - spec/dummy/app/resources/author.rb
337
+ - spec/dummy/app/resources/automobile.rb
338
+ - spec/dummy/app/resources/book.rb
339
+ - spec/dummy/app/resources/conference.rb
340
+ - spec/dummy/app/resources/dog.rb
341
+ - spec/dummy/app/resources/item.rb
342
+ - spec/dummy/app/resources/meeting.rb
343
+ - spec/dummy/app/resources/speaker.rb
344
+ - spec/dummy/app/resources/state.rb
345
+ - spec/dummy/app/views/layouts/application.html.erb
346
+ - spec/dummy/config.ru
347
+ - spec/dummy/config/application.rb
348
+ - spec/dummy/config/boot.rb
349
+ - spec/dummy/config/database.yml
350
+ - spec/dummy/config/environment.rb
351
+ - spec/dummy/config/environments/development.rb
352
+ - spec/dummy/config/environments/production.rb
353
+ - spec/dummy/config/environments/test.rb
354
+ - spec/dummy/config/initializers/backtrace_silencers.rb
355
+ - spec/dummy/config/initializers/inflections.rb
356
+ - spec/dummy/config/initializers/mime_types.rb
357
+ - spec/dummy/config/initializers/morpheus.rb
358
+ - spec/dummy/config/initializers/secret_token.rb
359
+ - spec/dummy/config/initializers/session_store.rb
360
+ - spec/dummy/config/locales/en.yml
361
+ - spec/dummy/config/routes.rb
362
+ - spec/dummy/db/migrate/20110605002144_create_purchases.rb
363
+ - spec/dummy/db/test.sqlite3
364
+ - spec/dummy/public/404.html
365
+ - spec/dummy/public/422.html
366
+ - spec/dummy/public/500.html
367
+ - spec/dummy/public/favicon.ico
368
+ - spec/dummy/public/stylesheets/.gitkeep
369
+ - spec/dummy/script/rails
370
+ - spec/morpheus/associations/association_spec.rb
371
+ - spec/morpheus/associations/belongs_to_association_spec.rb
372
+ - spec/morpheus/associations/has_many_association_spec.rb
373
+ - spec/morpheus/associations/has_one_association_spec.rb
374
+ - spec/morpheus/base_spec.rb
375
+ - spec/morpheus/client/associations_spec.rb
376
+ - spec/morpheus/configuration_spec.rb
377
+ - spec/morpheus/mixins/associations_spec.rb
378
+ - spec/morpheus/mixins/attributes_spec.rb
379
+ - spec/morpheus/mixins/conversion_spec.rb
380
+ - spec/morpheus/mixins/finders_spec.rb
381
+ - spec/morpheus/mixins/introspection_spec.rb
382
+ - spec/morpheus/mixins/persistence_spec.rb
383
+ - spec/morpheus/mixins/reflection_spec.rb
384
+ - spec/morpheus/mixins/response_parsing_spec.rb
385
+ - spec/morpheus/mock_spec.rb
386
+ - spec/morpheus/relation_spec.rb
387
+ - spec/morpheus/request_cache_spec.rb
388
+ - spec/morpheus/request_spec.rb
389
+ - spec/morpheus/response_spec.rb
390
+ - spec/morpheus/type_caster_spec.rb
391
+ - spec/shared/active_model_lint_test.rb
392
+ - spec/spec_helper.rb
393
+ - spec/support/configuration.rb
data/Gemfile.lock DELETED
@@ -1,134 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- ZenTest (4.6.2)
5
- abstract (1.0.0)
6
- actionmailer (3.0.7)
7
- actionpack (= 3.0.7)
8
- mail (~> 2.2.15)
9
- actionpack (3.0.7)
10
- activemodel (= 3.0.7)
11
- activesupport (= 3.0.7)
12
- builder (~> 2.1.2)
13
- erubis (~> 2.6.6)
14
- i18n (~> 0.5.0)
15
- rack (~> 1.2.1)
16
- rack-mount (~> 0.6.14)
17
- rack-test (~> 0.5.7)
18
- tzinfo (~> 0.3.23)
19
- activemodel (3.0.7)
20
- activesupport (= 3.0.7)
21
- builder (~> 2.1.2)
22
- i18n (~> 0.5.0)
23
- activerecord (3.0.7)
24
- activemodel (= 3.0.7)
25
- activesupport (= 3.0.7)
26
- arel (~> 2.0.2)
27
- tzinfo (~> 0.3.23)
28
- activeresource (3.0.7)
29
- activemodel (= 3.0.7)
30
- activesupport (= 3.0.7)
31
- activesupport (3.0.7)
32
- arel (2.0.10)
33
- autotest (4.4.6)
34
- ZenTest (>= 4.4.1)
35
- awesome_print (0.4.0)
36
- builder (2.1.2)
37
- coderay (1.0.4)
38
- diff-lcs (1.1.3)
39
- erubis (2.6.6)
40
- abstract (>= 1.0.0)
41
- git (1.2.5)
42
- i18n (0.5.0)
43
- jeweler (1.6.0)
44
- bundler (~> 1.0.0)
45
- git (>= 1.2.5)
46
- rake
47
- mail (2.2.19)
48
- activesupport (>= 2.3.6)
49
- i18n (>= 0.4.0)
50
- mime-types (~> 1.16)
51
- treetop (~> 1.4.8)
52
- method_source (0.6.7)
53
- ruby_parser (>= 2.3.1)
54
- mime-types (1.17.2)
55
- mustache (0.99.4)
56
- polyglot (0.3.3)
57
- pry (0.9.3)
58
- coderay (>= 0.9.8)
59
- method_source (>= 0.6.0)
60
- ruby_parser (>= 2.0.5)
61
- slop (~> 1.9.0)
62
- rack (1.2.4)
63
- rack-mount (0.6.14)
64
- rack (>= 1.0.0)
65
- rack-test (0.5.7)
66
- rack (>= 1.0)
67
- rails (3.0.7)
68
- actionmailer (= 3.0.7)
69
- actionpack (= 3.0.7)
70
- activerecord (= 3.0.7)
71
- activeresource (= 3.0.7)
72
- activesupport (= 3.0.7)
73
- bundler (~> 1.0)
74
- railties (= 3.0.7)
75
- railties (3.0.7)
76
- actionpack (= 3.0.7)
77
- activesupport (= 3.0.7)
78
- rake (>= 0.8.7)
79
- thor (~> 0.14.4)
80
- rake (0.9.2.2)
81
- rcov (0.9.9)
82
- rdiscount (1.6.8)
83
- rocco (0.7)
84
- mustache
85
- rdiscount
86
- rspec (2.6.0)
87
- rspec-core (~> 2.6.0)
88
- rspec-expectations (~> 2.6.0)
89
- rspec-mocks (~> 2.6.0)
90
- rspec-core (2.6.4)
91
- rspec-expectations (2.6.0)
92
- diff-lcs (~> 1.1.2)
93
- rspec-mocks (2.6.0)
94
- rspec-rails (2.6.0)
95
- actionpack (~> 3.0)
96
- activesupport (~> 3.0)
97
- railties (~> 3.0)
98
- rspec (~> 2.6.0)
99
- ruby_parser (2.3.1)
100
- sexp_processor (~> 3.0)
101
- sexp_processor (3.0.7)
102
- slop (1.9.1)
103
- sqlite3 (1.3.3)
104
- thor (0.14.6)
105
- treetop (1.4.10)
106
- polyglot
107
- polyglot (>= 0.3.1)
108
- typhoeus (0.2.4)
109
- mime-types
110
- mime-types
111
- tzinfo (0.3.30)
112
- yajl-ruby (0.8.3)
113
- yard (0.6.8)
114
-
115
- PLATFORMS
116
- ruby
117
-
118
- DEPENDENCIES
119
- ZenTest (= 4.6.2)
120
- activemodel (~> 3.0.0)
121
- activesupport (~> 3.0.0)
122
- autotest (= 4.4.6)
123
- awesome_print (= 0.4.0)
124
- i18n (~> 0.5.0)
125
- jeweler (= 1.6.0)
126
- pry (= 0.9.3)
127
- rails (= 3.0.7)
128
- rcov (= 0.9.9)
129
- rocco (= 0.7.0)
130
- rspec-rails (= 2.6.0)
131
- sqlite3 (= 1.3.3)
132
- typhoeus (~> 0.2.4)
133
- yajl-ruby (~> 0.8.2)
134
- yard (= 0.6.8)
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.3.4