dm-rest-adapter 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -31,5 +31,6 @@ measurements
31
31
  .bundle
32
32
  Gemfile.local
33
33
  Gemfile.lock
34
+ Gemfile.local.lock
34
35
 
35
36
  ## PROJECT::SPECIFIC
data/Gemfile CHANGED
@@ -35,7 +35,7 @@
35
35
  source 'http://rubygems.org'
36
36
 
37
37
  DATAMAPPER = 'git://github.com/datamapper'
38
- DM_VERSION = '~> 1.0.0'
38
+ DM_VERSION = '~> 1.0.1'
39
39
 
40
40
  group :runtime do # Runtime dependencies (as in the gemspec)
41
41
 
@@ -50,7 +50,7 @@ group(:development) do # Development dependencies (as in the gemspec)
50
50
 
51
51
  gem 'fakeweb', '~> 1.2.8'
52
52
  gem 'rake', '~> 0.8.7'
53
- gem 'rspec', '~> 1.3'
53
+ gem 'rspec', '~> 1.3', :git => 'git://github.com/snusnu/rspec', :branch => 'heckle_fix_plus_gemfile'
54
54
  gem 'jeweler', '~> 1.4'
55
55
 
56
56
  end
@@ -58,13 +58,13 @@ end
58
58
  group :datamapper do # We need this because we want to pin these dependencies to their git master sources
59
59
 
60
60
  if ENV['EXTLIB']
61
- gem 'extlib', '~> 0.9.15', :git => "#{DATAMAPPER}/extlib.git", :require => nil
61
+ gem 'extlib', '~> 0.9.15', :git => "#{DATAMAPPER}/extlib.git", :require => nil
62
62
  else
63
- gem 'activesupport', '~> 3.0.0.beta3', :git => 'git://github.com/rails/rails.git', :require => nil
63
+ gem 'activesupport', '~> 3.0.0', :git => 'git://github.com/rails/rails.git', :branch => '3-0-stable', :require => nil
64
64
  end
65
65
 
66
66
  plugins = ENV['PLUGINS'] || ENV['PLUGIN']
67
- plugins = plugins.to_s.tr(',', ' ').split(' ').uniq
67
+ plugins = plugins.to_s.tr(',', ' ').split.uniq
68
68
 
69
69
  plugins.each do |plugin|
70
70
  gem plugin, DM_VERSION, :git => "#{DATAMAPPER}/#{plugin}.git"
data/Rakefile CHANGED
@@ -15,12 +15,12 @@ begin
15
15
 
16
16
  gem.rubyforge_project = 'datamapper'
17
17
 
18
- gem.add_dependency 'dm-core', '~> 1.0.0'
19
- gem.add_dependency 'dm-serializer', '~> 1.0.0'
18
+ gem.add_dependency 'dm-core', '~> 1.0.1'
19
+ gem.add_dependency 'dm-serializer', '~> 1.0.1'
20
20
 
21
21
  gem.add_development_dependency 'rspec', '~> 1.3'
22
- gem.add_development_dependency 'dm-validations', '~> 1.0.0'
23
- gem.add_development_dependency 'fakeweb', '~> 1.2.7'
22
+ gem.add_development_dependency 'dm-validations', '~> 1.0.1'
23
+ gem.add_development_dependency 'fakeweb', '~> 1.3'
24
24
  end
25
25
 
26
26
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-rest-adapter}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Scott Burton @ Joyent Inc"]
12
- s.date = %q{2010-06-08}
12
+ s.date = %q{2010-09-07}
13
13
  s.description = %q{REST Adapter for DataMapper}
14
14
  s.email = %q{scott.burton [a] joyent [d] com}
15
15
  s.extra_rdoc_files = [
@@ -63,24 +63,24 @@ Gem::Specification.new do |s|
63
63
  s.specification_version = 3
64
64
 
65
65
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
66
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0"])
67
- s.add_runtime_dependency(%q<dm-serializer>, ["~> 1.0.0"])
66
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.1"])
67
+ s.add_runtime_dependency(%q<dm-serializer>, ["~> 1.0.1"])
68
68
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
69
- s.add_development_dependency(%q<dm-validations>, ["~> 1.0.0"])
70
- s.add_development_dependency(%q<fakeweb>, ["~> 1.2.7"])
69
+ s.add_development_dependency(%q<dm-validations>, ["~> 1.0.1"])
70
+ s.add_development_dependency(%q<fakeweb>, ["~> 1.3"])
71
71
  else
72
- s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
73
- s.add_dependency(%q<dm-serializer>, ["~> 1.0.0"])
72
+ s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
73
+ s.add_dependency(%q<dm-serializer>, ["~> 1.0.1"])
74
74
  s.add_dependency(%q<rspec>, ["~> 1.3"])
75
- s.add_dependency(%q<dm-validations>, ["~> 1.0.0"])
76
- s.add_dependency(%q<fakeweb>, ["~> 1.2.7"])
75
+ s.add_dependency(%q<dm-validations>, ["~> 1.0.1"])
76
+ s.add_dependency(%q<fakeweb>, ["~> 1.3"])
77
77
  end
78
78
  else
79
- s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
80
- s.add_dependency(%q<dm-serializer>, ["~> 1.0.0"])
79
+ s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
80
+ s.add_dependency(%q<dm-serializer>, ["~> 1.0.1"])
81
81
  s.add_dependency(%q<rspec>, ["~> 1.3"])
82
- s.add_dependency(%q<dm-validations>, ["~> 1.0.0"])
83
- s.add_dependency(%q<fakeweb>, ["~> 1.2.7"])
82
+ s.add_dependency(%q<dm-validations>, ["~> 1.0.1"])
83
+ s.add_dependency(%q<fakeweb>, ["~> 1.3"])
84
84
  end
85
85
  end
86
86
 
@@ -1,16 +1,14 @@
1
1
  desc "Support bundling from local source code (allows BUNDLE_GEMFILE=Gemfile.local bundle foo)"
2
2
  task :local_gemfile do |t|
3
3
 
4
- root = Pathname(__FILE__).dirname.parent
5
- datamapper = root.parent
6
-
7
- source_regex = /DATAMAPPER = 'git:\/\/github.com\/datamapper'/
8
- gem_source_regex = /:git => \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/
4
+ root = Pathname(__FILE__).dirname.parent
5
+ datamapper = root.parent
9
6
 
10
7
  root.join('Gemfile.local').open('w') do |f|
11
8
  root.join('Gemfile').open.each do |line|
12
- line.sub!(source_regex, "DATAMAPPER = '#{datamapper}'")
13
- line.sub!(gem_source_regex, ':path => "#{DATAMAPPER}/\1"')
9
+ line.sub!(/DATAMAPPER = 'git:\/\/github.com\/datamapper'/, "DATAMAPPER = '#{datamapper}'")
10
+ line.sub!(/:git => \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, ':path => "#{DATAMAPPER}/\1"')
11
+ line.sub!(/do_options\[:git\] = \"#\{DATAMAPPER\}\/(.+?)(?:\.git)?\"/, 'do_options[:path] = "#{DATAMAPPER}/\1"')
14
12
  f.puts line
15
13
  end
16
14
  end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-rest-adapter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 0
10
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - Scott Burton @ Joyent Inc
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2010-06-08 00:00:00 -07:00
17
+ date: 2010-09-07 00:00:00 -07:00
19
18
  default_executable:
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,12 +25,11 @@ dependencies:
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 23
30
28
  segments:
31
29
  - 1
32
30
  - 0
33
- - 0
34
- version: 1.0.0
31
+ - 1
32
+ version: 1.0.1
35
33
  type: :runtime
36
34
  version_requirements: *id001
37
35
  - !ruby/object:Gem::Dependency
@@ -42,12 +40,11 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 23
46
43
  segments:
47
44
  - 1
48
45
  - 0
49
- - 0
50
- version: 1.0.0
46
+ - 1
47
+ version: 1.0.1
51
48
  type: :runtime
52
49
  version_requirements: *id002
53
50
  - !ruby/object:Gem::Dependency
@@ -58,7 +55,6 @@ dependencies:
58
55
  requirements:
59
56
  - - ~>
60
57
  - !ruby/object:Gem::Version
61
- hash: 9
62
58
  segments:
63
59
  - 1
64
60
  - 3
@@ -73,12 +69,11 @@ dependencies:
73
69
  requirements:
74
70
  - - ~>
75
71
  - !ruby/object:Gem::Version
76
- hash: 23
77
72
  segments:
78
73
  - 1
79
74
  - 0
80
- - 0
81
- version: 1.0.0
75
+ - 1
76
+ version: 1.0.1
82
77
  type: :development
83
78
  version_requirements: *id004
84
79
  - !ruby/object:Gem::Dependency
@@ -89,12 +84,10 @@ dependencies:
89
84
  requirements:
90
85
  - - ~>
91
86
  - !ruby/object:Gem::Version
92
- hash: 17
93
87
  segments:
94
88
  - 1
95
- - 2
96
- - 7
97
- version: 1.2.7
89
+ - 3
90
+ version: "1.3"
98
91
  type: :development
99
92
  version_requirements: *id005
100
93
  description: REST Adapter for DataMapper
@@ -147,7 +140,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
140
  requirements:
148
141
  - - ">="
149
142
  - !ruby/object:Gem::Version
150
- hash: 3
151
143
  segments:
152
144
  - 0
153
145
  version: "0"
@@ -156,7 +148,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
148
  requirements:
157
149
  - - ">="
158
150
  - !ruby/object:Gem::Version
159
- hash: 3
160
151
  segments:
161
152
  - 0
162
153
  version: "0"