sinatra_resource 0.4.23 → 0.4.24

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,17 +1,2 @@
1
1
  source :rubygems
2
-
3
- gem 'activesupport', '~> 2.3.8'
4
- gem 'frequency', '>= 0.1.2', '< 0.2.0'
5
- gem 'kronos', '>= 0.1.6'
6
- gem 'mongo_mapper', '= 0.8.4'
7
- gem 'query_string_filter', '>= 0.1.4'
8
- gem 'sinatra', '>= 1.0'
9
-
10
- group :test do
11
- gem 'crack', '>= 0.1.4'
12
- gem 'pending', '>= 0.1.1'
13
- gem 'rr', '>= 0.10.11'
14
- gem 'timecop', '>= 0.3.5'
15
- gem 'tu-context', '>= 0.5.8'
16
- gem 'yard', '>= 0.6.0'
17
- end
2
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,10 +1,23 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sinatra_resource (0.4.23)
5
+ activesupport (~> 3.0.0)
6
+ frequency (~> 0.1.5)
7
+ i18n (~> 0.4.1)
8
+ kronos (~> 0.1.7)
9
+ mongo_mapper (~> 0.8.4)
10
+ query_string_filter (~> 0.1.6)
11
+ sinatra (~> 1.0.0)
12
+
1
13
  GEM
2
14
  remote: http://rubygems.org/
3
15
  specs:
4
- activesupport (2.3.8)
16
+ activesupport (3.0.0)
5
17
  bson (1.0.7)
6
18
  crack (0.1.8)
7
19
  frequency (0.1.5)
20
+ i18n (0.4.1)
8
21
  jnunemaker-validatable (1.8.4)
9
22
  activesupport (>= 2.3.4)
10
23
  kronos (0.1.7)
@@ -21,28 +34,36 @@ GEM
21
34
  query_string_filter (0.1.6)
22
35
  treetop (>= 1.4.2)
23
36
  rack (1.2.1)
37
+ rake (0.8.7)
38
+ rcov (0.9.8)
24
39
  rr (1.0.0)
40
+ rspec (1.3.0)
25
41
  sinatra (1.0)
26
42
  rack (>= 1.0)
27
43
  timecop (0.3.5)
28
44
  treetop (1.4.8)
29
45
  polyglot (>= 0.3.1)
30
46
  tu-context (0.5.8)
31
- yard (0.6.0)
47
+ yard (0.6.1)
32
48
 
33
49
  PLATFORMS
34
50
  ruby
35
51
 
36
52
  DEPENDENCIES
37
- activesupport (~> 2.3.8)
38
- crack (>= 0.1.4)
39
- frequency (>= 0.1.2, < 0.2.0)
40
- kronos (>= 0.1.6)
41
- mongo_mapper (= 0.8.4)
42
- pending (>= 0.1.1)
43
- query_string_filter (>= 0.1.4)
44
- rr (>= 0.10.11)
45
- sinatra (>= 1.0)
46
- timecop (>= 0.3.5)
47
- tu-context (>= 0.5.8)
48
- yard (>= 0.6.0)
53
+ activesupport (~> 3.0.0)
54
+ crack (~> 0.1.4)
55
+ frequency (~> 0.1.5)
56
+ i18n (~> 0.4.1)
57
+ kronos (~> 0.1.7)
58
+ mongo_mapper (~> 0.8.4)
59
+ pending (~> 0.1.1)
60
+ query_string_filter (~> 0.1.6)
61
+ rake (~> 0.8.7)
62
+ rcov (~> 0.9.8)
63
+ rr (~> 1.0.0)
64
+ rspec (~> 1.3.0)
65
+ sinatra (~> 1.0.0)
66
+ sinatra_resource!
67
+ timecop (~> 0.3.5)
68
+ tu-context (~> 0.5.8)
69
+ yard (~> 0.6.1)
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 David James
1
+ Copyright (c) 2009 Sunlight Labs
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.mdown CHANGED
@@ -1,28 +1,25 @@
1
- ## About
1
+ # SinatraResource
2
2
 
3
- Want to build Web services in the Resource Oriented Architecture style? With resource_sinatra, success is all but guaranteed, provided that you are using a [Sinatra](http://sinatrarb.com) + [MongoMapper](http://github.com/djsun/mongomapper) stack.
3
+ SinatraResource can help you build Web services in the Resource Oriented Architecture style. It is built on top of [Sinatra](http://sinatrarb.com) and [MongoMapper](http://github.com/mongomapper).
4
4
 
5
5
  ## Installation
6
6
 
7
- It might not be a bad idea to make sure you are running the latest RubyGems:
7
+ Check to see if you are running a recent version of RubyGems:
8
8
 
9
+ gem --version
10
+ # should be 1.3.7 of better, if not:
9
11
  sudo gem update --system
10
12
 
11
- You will need gemcutter if you don't have it already:
13
+ I recommend a user-level installation:
12
14
 
13
- gem install gemcutter
14
- gem tumble
15
+ gem install sinatra_resource
15
16
 
16
- I recommend a user-level install:
17
-
18
- gem install resource_sinatra
19
-
20
- Note: in general, beware of `sudo gem install <project_name>` -- it gives elevated privileges. Do you trust `<project name>`? Better to be safe and use a local install to `~/.gem`.
17
+ (A general note: beware of `sudo gem install <project_name>` -- it gives elevated privileges. Do you trust `<project name>`? Better to be safe and not use the `sudo` -- this gives you a local install in your `~/.gem` directory.)
21
18
 
22
19
  ## Usage
23
20
 
24
- For a basic example of what this looks like when integrated into a real-world Sinatra app, see `/examples/datacatalog`.
21
+ For a basic example of what this looks like when integrated into a real-world Sinatra app, see the `/examples/datacatalog` directory.
25
22
 
26
23
  ## History
27
24
 
28
- This code was extracted from the [National Data Catalog](http://groups.google.com/group/datacatalog), a project of the [Sunlight Labs](http://sunlightlabs.com).
25
+ This code was extracted from the [National Data Catalog](http://nationaldatacatalog.com) ([source code](http://github.com/sunlightlabs/datacatalog-api)), a project of the [Sunlight Labs](http://sunlightlabs.com).
data/Rakefile CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'rubygems'
2
- require 'rake'
3
2
 
4
3
  begin
5
4
  require 'jeweler'
@@ -8,23 +7,28 @@ begin
8
7
  gem.summary = %Q{RESTful actions with Sinatra and MongoMapper}
9
8
  gem.description = %Q{A DSL for creating RESTful actions with Sinatra and MongoMapper. It embraces the Resource Oriented Architecture as explained by Leonard Richardson and Sam Ruby.}
10
9
  gem.email = "djames@sunlightfoundation.com"
11
- gem.homepage = "http://github.com/djsun/sinatra_resource"
10
+ gem.homepage = "http://github.com/sunlightlabs/sinatra_resource"
12
11
  gem.authors = ["David James"]
13
12
 
14
- gem.add_dependency 'activesupport', '~> 2.3.8'
15
- gem.add_dependency 'frequency', '>= 0.1.2'
16
- gem.add_dependency 'kronos', '>= 0.1.6'
17
- gem.add_dependency 'mongo_mapper', '= 0.8.4'
18
- gem.add_dependency 'query_string_filter', '>= 0.1.4'
19
- gem.add_dependency 'sinatra', '>= 1.0'
13
+ gem.add_dependency 'activesupport', '~> 3.0.0'
14
+ # gem.add_dependency 'bson', '~> 1.0.7'
15
+ # gem.add_dependency 'bson_ext', '~> 1.0.7'
16
+ gem.add_dependency 'frequency', '~> 0.1.5'
17
+ gem.add_dependency 'kronos', '~> 0.1.7'
18
+ gem.add_dependency 'i18n', '~> 0.4.1'
19
+ gem.add_dependency 'mongo_mapper', '~> 0.8.4'
20
+ gem.add_dependency 'query_string_filter', '~> 0.1.6'
21
+ gem.add_dependency 'sinatra', '~> 1.0.0'
20
22
 
21
- gem.add_development_dependency 'crack', '>= 0.1.4'
22
- gem.add_development_dependency 'pending', '>= 0.1.1'
23
- gem.add_development_dependency 'rr', '>= 0.10.11'
24
- gem.add_development_dependency 'rspec', '>= 1.2.9'
25
- gem.add_development_dependency 'timecop', '>= 0.3.5'
26
- gem.add_development_dependency 'tu-context', '>= 0.5.8'
27
- gem.add_development_dependency 'yard', '>= 0.6.0'
23
+ gem.add_development_dependency 'crack', '~> 0.1.4'
24
+ gem.add_development_dependency 'pending', '~> 0.1.1'
25
+ gem.add_development_dependency 'rake', '~> 0.8.7'
26
+ gem.add_development_dependency 'rcov', '~> 0.9.8'
27
+ gem.add_development_dependency 'rr', '~> 1.0.0'
28
+ gem.add_development_dependency 'rspec', '~> 1.3.0'
29
+ gem.add_development_dependency 'timecop', '~> 0.3.5'
30
+ gem.add_development_dependency 'tu-context', '~> 0.5.8'
31
+ gem.add_development_dependency 'yard', '~> 0.6.1'
28
32
 
29
33
  # gem is a Gem::Specification ...
30
34
  # ... see http://www.rubygems.org/read/chapter/20 for additional settings
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.23
1
+ 0.4.24
@@ -1,14 +1,13 @@
1
1
  source :rubygems
2
2
 
3
- gem 'sinatra', '>= 1.0'
4
- gem 'mongo_mapper', '= 0.8.4'
3
+ # Use bson_ext for speed improvements:
4
+ gem 'bson_ext', '~> 1.0.7'
5
5
 
6
- group :test do
7
- gem 'crack', '>= 0.1.4'
8
- gem 'pending', '>= 0.1.1'
9
- gem 'tu-context', '>= 0.5.8'
10
- end
6
+ # This example app needs some gems not provided by sinatra_resource:
7
+ gem 'rack-test', '~> 0.5.4'
11
8
 
12
- group :development do
13
- gem 'yard'
14
- end
9
+ # Don't use the following line in your sinatra_resource application...
10
+ gemspec :path => '../..'
11
+ # ...instead use:
12
+ # gem 'sinatra_resource', '~> 0.4.24'
13
+ # (use the latest version, not necessarily 0.4.24)
@@ -1,11 +1,27 @@
1
+ PATH
2
+ remote: /Users/david/dev/sinatra_resource
3
+ specs:
4
+ sinatra_resource (0.4.23)
5
+ activesupport (~> 3.0.0)
6
+ frequency (~> 0.1.5)
7
+ i18n (~> 0.4.1)
8
+ kronos (~> 0.1.7)
9
+ mongo_mapper (~> 0.8.4)
10
+ query_string_filter (~> 0.1.6)
11
+ sinatra (~> 1.0.0)
12
+
1
13
  GEM
2
14
  remote: http://rubygems.org/
3
15
  specs:
4
- activesupport (2.3.8)
16
+ activesupport (3.0.0)
5
17
  bson (1.0.7)
18
+ bson_ext (1.0.7)
6
19
  crack (0.1.8)
20
+ frequency (0.1.5)
21
+ i18n (0.4.1)
7
22
  jnunemaker-validatable (1.8.4)
8
23
  activesupport (>= 2.3.4)
24
+ kronos (0.1.7)
9
25
  mongo (1.0.8)
10
26
  bson (>= 1.0.5)
11
27
  mongo_mapper (0.8.4)
@@ -15,19 +31,44 @@ GEM
15
31
  pending (0.1.1)
16
32
  plucky (0.3.5)
17
33
  mongo (~> 1.0.8)
34
+ polyglot (0.3.1)
35
+ query_string_filter (0.1.6)
36
+ treetop (>= 1.4.2)
18
37
  rack (1.2.1)
38
+ rack-test (0.5.4)
39
+ rack (>= 1.0)
40
+ rake (0.8.7)
41
+ rcov (0.9.8)
42
+ rr (1.0.0)
43
+ rspec (1.3.0)
19
44
  sinatra (1.0)
20
45
  rack (>= 1.0)
46
+ timecop (0.3.5)
47
+ treetop (1.4.8)
48
+ polyglot (>= 0.3.1)
21
49
  tu-context (0.5.8)
22
- yard (0.5.8)
50
+ yard (0.6.1)
23
51
 
24
52
  PLATFORMS
25
53
  ruby
26
54
 
27
55
  DEPENDENCIES
28
- crack (>= 0.1.4)
29
- mongo_mapper (= 0.8.4)
30
- pending (>= 0.1.1)
31
- sinatra (>= 1.0)
32
- tu-context (>= 0.5.8)
33
- yard
56
+ activesupport (~> 3.0.0)
57
+ bson_ext (~> 1.0.7)
58
+ crack (~> 0.1.4)
59
+ frequency (~> 0.1.5)
60
+ i18n (~> 0.4.1)
61
+ kronos (~> 0.1.7)
62
+ mongo_mapper (~> 0.8.4)
63
+ pending (~> 0.1.1)
64
+ query_string_filter (~> 0.1.6)
65
+ rack-test (~> 0.5.4)
66
+ rake (~> 0.8.7)
67
+ rcov (~> 0.9.8)
68
+ rr (~> 1.0.0)
69
+ rspec (~> 1.3.0)
70
+ sinatra (~> 1.0.0)
71
+ sinatra_resource!
72
+ timecop (~> 0.3.5)
73
+ tu-context (~> 0.5.8)
74
+ yard (~> 0.6.1)
@@ -1,3 +1,4 @@
1
+ require 'rubygems'
1
2
  require 'rake/testtask'
2
3
  require 'rake/rdoctask'
3
4
  require 'rcov/rcovtask'
@@ -1,4 +1,10 @@
1
1
  require 'rubygems'
2
+ begin
3
+ require 'bundler'
4
+ Bundler.setup
5
+ rescue LoadError
6
+ puts "Please run `gem install bundler` and `bundle install`"
7
+ end
2
8
  require 'sinatra/base'
3
9
 
4
10
  require File.dirname(__FILE__) + '/config/config'
@@ -1,4 +1,10 @@
1
1
  require 'rubygems'
2
+ begin
3
+ require 'bundler'
4
+ Bundler.setup
5
+ rescue LoadError
6
+ puts "Please run `gem install bundler` and `bundle install`"
7
+ end
2
8
  require 'mongo_mapper'
3
9
 
4
10
  module Config
@@ -1,5 +1,10 @@
1
1
  require 'rubygems'
2
-
2
+ begin
3
+ require 'bundler'
4
+ Bundler.setup
5
+ rescue LoadError
6
+ puts "Please run `gem install bundler` and `bundle install`"
7
+ end
3
8
  require 'crack/json'
4
9
  require 'pending'
5
10
  require 'rack/test'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sinatra_resource}
8
- s.version = "0.4.23"
8
+ s.version = "0.4.24"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David James"]
12
- s.date = %q{2010-08-30}
12
+ s.date = %q{2010-09-20}
13
13
  s.description = %q{A DSL for creating RESTful actions with Sinatra and MongoMapper. It embraces the Resource Oriented Architecture as explained by Leonard Richardson and Sam Ruby.}
14
14
  s.email = %q{djames@sunlightfoundation.com}
15
15
  s.extra_rdoc_files = [
@@ -126,7 +126,7 @@ Gem::Specification.new do |s|
126
126
  "tasks/spec.rake",
127
127
  "tasks/yard.rake"
128
128
  ]
129
- s.homepage = %q{http://github.com/djsun/sinatra_resource}
129
+ s.homepage = %q{http://github.com/sunlightlabs/sinatra_resource}
130
130
  s.rdoc_options = ["--charset=UTF-8"]
131
131
  s.require_paths = ["lib"]
132
132
  s.rubygems_version = %q{1.3.7}
@@ -211,48 +211,57 @@ Gem::Specification.new do |s|
211
211
  s.specification_version = 3
212
212
 
213
213
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
214
- s.add_runtime_dependency(%q<activesupport>, ["~> 2.3.8"])
215
- s.add_runtime_dependency(%q<frequency>, [">= 0.1.2"])
216
- s.add_runtime_dependency(%q<kronos>, [">= 0.1.6"])
217
- s.add_runtime_dependency(%q<mongo_mapper>, ["= 0.8.4"])
218
- s.add_runtime_dependency(%q<query_string_filter>, [">= 0.1.4"])
219
- s.add_runtime_dependency(%q<sinatra>, [">= 1.0"])
220
- s.add_development_dependency(%q<crack>, [">= 0.1.4"])
221
- s.add_development_dependency(%q<pending>, [">= 0.1.1"])
222
- s.add_development_dependency(%q<rr>, [">= 0.10.11"])
223
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
224
- s.add_development_dependency(%q<timecop>, [">= 0.3.5"])
225
- s.add_development_dependency(%q<tu-context>, [">= 0.5.8"])
226
- s.add_development_dependency(%q<yard>, [">= 0.6.0"])
214
+ s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0"])
215
+ s.add_runtime_dependency(%q<frequency>, ["~> 0.1.5"])
216
+ s.add_runtime_dependency(%q<kronos>, ["~> 0.1.7"])
217
+ s.add_runtime_dependency(%q<i18n>, ["~> 0.4.1"])
218
+ s.add_runtime_dependency(%q<mongo_mapper>, ["~> 0.8.4"])
219
+ s.add_runtime_dependency(%q<query_string_filter>, ["~> 0.1.6"])
220
+ s.add_runtime_dependency(%q<sinatra>, ["~> 1.0.0"])
221
+ s.add_development_dependency(%q<crack>, ["~> 0.1.4"])
222
+ s.add_development_dependency(%q<pending>, ["~> 0.1.1"])
223
+ s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
224
+ s.add_development_dependency(%q<rcov>, ["~> 0.9.8"])
225
+ s.add_development_dependency(%q<rr>, ["~> 1.0.0"])
226
+ s.add_development_dependency(%q<rspec>, ["~> 1.3.0"])
227
+ s.add_development_dependency(%q<timecop>, ["~> 0.3.5"])
228
+ s.add_development_dependency(%q<tu-context>, ["~> 0.5.8"])
229
+ s.add_development_dependency(%q<yard>, ["~> 0.6.1"])
227
230
  else
228
- s.add_dependency(%q<activesupport>, ["~> 2.3.8"])
229
- s.add_dependency(%q<frequency>, [">= 0.1.2"])
230
- s.add_dependency(%q<kronos>, [">= 0.1.6"])
231
- s.add_dependency(%q<mongo_mapper>, ["= 0.8.4"])
232
- s.add_dependency(%q<query_string_filter>, [">= 0.1.4"])
233
- s.add_dependency(%q<sinatra>, [">= 1.0"])
234
- s.add_dependency(%q<crack>, [">= 0.1.4"])
235
- s.add_dependency(%q<pending>, [">= 0.1.1"])
236
- s.add_dependency(%q<rr>, [">= 0.10.11"])
237
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
238
- s.add_dependency(%q<timecop>, [">= 0.3.5"])
239
- s.add_dependency(%q<tu-context>, [">= 0.5.8"])
240
- s.add_dependency(%q<yard>, [">= 0.6.0"])
231
+ s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
232
+ s.add_dependency(%q<frequency>, ["~> 0.1.5"])
233
+ s.add_dependency(%q<kronos>, ["~> 0.1.7"])
234
+ s.add_dependency(%q<i18n>, ["~> 0.4.1"])
235
+ s.add_dependency(%q<mongo_mapper>, ["~> 0.8.4"])
236
+ s.add_dependency(%q<query_string_filter>, ["~> 0.1.6"])
237
+ s.add_dependency(%q<sinatra>, ["~> 1.0.0"])
238
+ s.add_dependency(%q<crack>, ["~> 0.1.4"])
239
+ s.add_dependency(%q<pending>, ["~> 0.1.1"])
240
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
241
+ s.add_dependency(%q<rcov>, ["~> 0.9.8"])
242
+ s.add_dependency(%q<rr>, ["~> 1.0.0"])
243
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
244
+ s.add_dependency(%q<timecop>, ["~> 0.3.5"])
245
+ s.add_dependency(%q<tu-context>, ["~> 0.5.8"])
246
+ s.add_dependency(%q<yard>, ["~> 0.6.1"])
241
247
  end
242
248
  else
243
- s.add_dependency(%q<activesupport>, ["~> 2.3.8"])
244
- s.add_dependency(%q<frequency>, [">= 0.1.2"])
245
- s.add_dependency(%q<kronos>, [">= 0.1.6"])
246
- s.add_dependency(%q<mongo_mapper>, ["= 0.8.4"])
247
- s.add_dependency(%q<query_string_filter>, [">= 0.1.4"])
248
- s.add_dependency(%q<sinatra>, [">= 1.0"])
249
- s.add_dependency(%q<crack>, [">= 0.1.4"])
250
- s.add_dependency(%q<pending>, [">= 0.1.1"])
251
- s.add_dependency(%q<rr>, [">= 0.10.11"])
252
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
253
- s.add_dependency(%q<timecop>, [">= 0.3.5"])
254
- s.add_dependency(%q<tu-context>, [">= 0.5.8"])
255
- s.add_dependency(%q<yard>, [">= 0.6.0"])
249
+ s.add_dependency(%q<activesupport>, ["~> 3.0.0"])
250
+ s.add_dependency(%q<frequency>, ["~> 0.1.5"])
251
+ s.add_dependency(%q<kronos>, ["~> 0.1.7"])
252
+ s.add_dependency(%q<i18n>, ["~> 0.4.1"])
253
+ s.add_dependency(%q<mongo_mapper>, ["~> 0.8.4"])
254
+ s.add_dependency(%q<query_string_filter>, ["~> 0.1.6"])
255
+ s.add_dependency(%q<sinatra>, ["~> 1.0.0"])
256
+ s.add_dependency(%q<crack>, ["~> 0.1.4"])
257
+ s.add_dependency(%q<pending>, ["~> 0.1.1"])
258
+ s.add_dependency(%q<rake>, ["~> 0.8.7"])
259
+ s.add_dependency(%q<rcov>, ["~> 0.9.8"])
260
+ s.add_dependency(%q<rr>, ["~> 1.0.0"])
261
+ s.add_dependency(%q<rspec>, ["~> 1.3.0"])
262
+ s.add_dependency(%q<timecop>, ["~> 0.3.5"])
263
+ s.add_dependency(%q<tu-context>, ["~> 0.5.8"])
264
+ s.add_dependency(%q<yard>, ["~> 0.6.1"])
256
265
  end
257
266
  end
258
267
 
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,10 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
1
  require 'rubygems'
2
+ begin
3
+ require 'bundler'
4
+ Bundler.setup
5
+ rescue LoadError
6
+ puts "Please run `gem install bundler` and `bundle install`"
7
+ end
4
8
  require 'spec'
5
9
  require 'spec/autorun'
6
10
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra_resource
3
3
  version: !ruby/object:Gem::Version
4
- hash: 33
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 23
10
- version: 0.4.23
9
+ - 24
10
+ version: 0.4.24
11
11
  platform: ruby
12
12
  authors:
13
13
  - David James
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-30 00:00:00 -04:00
18
+ date: 2010-09-20 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- hash: 19
29
+ hash: 7
30
30
  segments:
31
- - 2
32
31
  - 3
33
- - 8
34
- version: 2.3.8
32
+ - 0
33
+ - 0
34
+ version: 3.0.0
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -40,14 +40,14 @@ dependencies:
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
- hash: 31
45
+ hash: 17
46
46
  segments:
47
47
  - 0
48
48
  - 1
49
- - 2
50
- version: 0.1.2
49
+ - 5
50
+ version: 0.1.5
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
53
  - !ruby/object:Gem::Dependency
@@ -56,23 +56,39 @@ dependencies:
56
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ">="
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- hash: 23
61
+ hash: 21
62
62
  segments:
63
63
  - 0
64
64
  - 1
65
- - 6
66
- version: 0.1.6
65
+ - 7
66
+ version: 0.1.7
67
67
  type: :runtime
68
68
  version_requirements: *id003
69
69
  - !ruby/object:Gem::Dependency
70
- name: mongo_mapper
70
+ name: i18n
71
71
  prerelease: false
72
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - "="
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ hash: 13
78
+ segments:
79
+ - 0
80
+ - 4
81
+ - 1
82
+ version: 0.4.1
83
+ type: :runtime
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ name: mongo_mapper
87
+ prerelease: false
88
+ requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
76
92
  - !ruby/object:Gem::Version
77
93
  hash: 55
78
94
  segments:
@@ -81,45 +97,46 @@ dependencies:
81
97
  - 4
82
98
  version: 0.8.4
83
99
  type: :runtime
84
- version_requirements: *id004
100
+ version_requirements: *id005
85
101
  - !ruby/object:Gem::Dependency
86
102
  name: query_string_filter
87
103
  prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
104
+ requirement: &id006 !ruby/object:Gem::Requirement
89
105
  none: false
90
106
  requirements:
91
- - - ">="
107
+ - - ~>
92
108
  - !ruby/object:Gem::Version
93
- hash: 19
109
+ hash: 23
94
110
  segments:
95
111
  - 0
96
112
  - 1
97
- - 4
98
- version: 0.1.4
113
+ - 6
114
+ version: 0.1.6
99
115
  type: :runtime
100
- version_requirements: *id005
116
+ version_requirements: *id006
101
117
  - !ruby/object:Gem::Dependency
102
118
  name: sinatra
103
119
  prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
120
+ requirement: &id007 !ruby/object:Gem::Requirement
105
121
  none: false
106
122
  requirements:
107
- - - ">="
123
+ - - ~>
108
124
  - !ruby/object:Gem::Version
109
- hash: 15
125
+ hash: 23
110
126
  segments:
111
127
  - 1
112
128
  - 0
113
- version: "1.0"
129
+ - 0
130
+ version: 1.0.0
114
131
  type: :runtime
115
- version_requirements: *id006
132
+ version_requirements: *id007
116
133
  - !ruby/object:Gem::Dependency
117
134
  name: crack
118
135
  prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
136
+ requirement: &id008 !ruby/object:Gem::Requirement
120
137
  none: false
121
138
  requirements:
122
- - - ">="
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  hash: 19
125
142
  segments:
@@ -128,14 +145,14 @@ dependencies:
128
145
  - 4
129
146
  version: 0.1.4
130
147
  type: :development
131
- version_requirements: *id007
148
+ version_requirements: *id008
132
149
  - !ruby/object:Gem::Dependency
133
150
  name: pending
134
151
  prerelease: false
135
- requirement: &id008 !ruby/object:Gem::Requirement
152
+ requirement: &id009 !ruby/object:Gem::Requirement
136
153
  none: false
137
154
  requirements:
138
- - - ">="
155
+ - - ~>
139
156
  - !ruby/object:Gem::Version
140
157
  hash: 25
141
158
  segments:
@@ -144,46 +161,78 @@ dependencies:
144
161
  - 1
145
162
  version: 0.1.1
146
163
  type: :development
147
- version_requirements: *id008
164
+ version_requirements: *id009
165
+ - !ruby/object:Gem::Dependency
166
+ name: rake
167
+ prerelease: false
168
+ requirement: &id010 !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ hash: 49
174
+ segments:
175
+ - 0
176
+ - 8
177
+ - 7
178
+ version: 0.8.7
179
+ type: :development
180
+ version_requirements: *id010
181
+ - !ruby/object:Gem::Dependency
182
+ name: rcov
183
+ prerelease: false
184
+ requirement: &id011 !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ~>
188
+ - !ruby/object:Gem::Version
189
+ hash: 43
190
+ segments:
191
+ - 0
192
+ - 9
193
+ - 8
194
+ version: 0.9.8
195
+ type: :development
196
+ version_requirements: *id011
148
197
  - !ruby/object:Gem::Dependency
149
198
  name: rr
150
199
  prerelease: false
151
- requirement: &id009 !ruby/object:Gem::Requirement
200
+ requirement: &id012 !ruby/object:Gem::Requirement
152
201
  none: false
153
202
  requirements:
154
- - - ">="
203
+ - - ~>
155
204
  - !ruby/object:Gem::Version
156
- hash: 33
205
+ hash: 23
157
206
  segments:
207
+ - 1
208
+ - 0
158
209
  - 0
159
- - 10
160
- - 11
161
- version: 0.10.11
210
+ version: 1.0.0
162
211
  type: :development
163
- version_requirements: *id009
212
+ version_requirements: *id012
164
213
  - !ruby/object:Gem::Dependency
165
214
  name: rspec
166
215
  prerelease: false
167
- requirement: &id010 !ruby/object:Gem::Requirement
216
+ requirement: &id013 !ruby/object:Gem::Requirement
168
217
  none: false
169
218
  requirements:
170
- - - ">="
219
+ - - ~>
171
220
  - !ruby/object:Gem::Version
172
- hash: 13
221
+ hash: 27
173
222
  segments:
174
223
  - 1
175
- - 2
176
- - 9
177
- version: 1.2.9
224
+ - 3
225
+ - 0
226
+ version: 1.3.0
178
227
  type: :development
179
- version_requirements: *id010
228
+ version_requirements: *id013
180
229
  - !ruby/object:Gem::Dependency
181
230
  name: timecop
182
231
  prerelease: false
183
- requirement: &id011 !ruby/object:Gem::Requirement
232
+ requirement: &id014 !ruby/object:Gem::Requirement
184
233
  none: false
185
234
  requirements:
186
- - - ">="
235
+ - - ~>
187
236
  - !ruby/object:Gem::Version
188
237
  hash: 25
189
238
  segments:
@@ -192,14 +241,14 @@ dependencies:
192
241
  - 5
193
242
  version: 0.3.5
194
243
  type: :development
195
- version_requirements: *id011
244
+ version_requirements: *id014
196
245
  - !ruby/object:Gem::Dependency
197
246
  name: tu-context
198
247
  prerelease: false
199
- requirement: &id012 !ruby/object:Gem::Requirement
248
+ requirement: &id015 !ruby/object:Gem::Requirement
200
249
  none: false
201
250
  requirements:
202
- - - ">="
251
+ - - ~>
203
252
  - !ruby/object:Gem::Version
204
253
  hash: 27
205
254
  segments:
@@ -208,23 +257,23 @@ dependencies:
208
257
  - 8
209
258
  version: 0.5.8
210
259
  type: :development
211
- version_requirements: *id012
260
+ version_requirements: *id015
212
261
  - !ruby/object:Gem::Dependency
213
262
  name: yard
214
263
  prerelease: false
215
- requirement: &id013 !ruby/object:Gem::Requirement
264
+ requirement: &id016 !ruby/object:Gem::Requirement
216
265
  none: false
217
266
  requirements:
218
- - - ">="
267
+ - - ~>
219
268
  - !ruby/object:Gem::Version
220
- hash: 7
269
+ hash: 5
221
270
  segments:
222
271
  - 0
223
272
  - 6
224
- - 0
225
- version: 0.6.0
273
+ - 1
274
+ version: 0.6.1
226
275
  type: :development
227
- version_requirements: *id013
276
+ version_requirements: *id016
228
277
  description: A DSL for creating RESTful actions with Sinatra and MongoMapper. It embraces the Resource Oriented Architecture as explained by Leonard Richardson and Sam Ruby.
229
278
  email: djames@sunlightfoundation.com
230
279
  executables: []
@@ -344,7 +393,7 @@ files:
344
393
  - tasks/spec.rake
345
394
  - tasks/yard.rake
346
395
  has_rdoc: true
347
- homepage: http://github.com/djsun/sinatra_resource
396
+ homepage: http://github.com/sunlightlabs/sinatra_resource
348
397
  licenses: []
349
398
 
350
399
  post_install_message: