dm-serializer 1.2.0.rc1 → 1.2.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile +19 -6
  2. data/VERSION +1 -1
  3. data/dm-serializer.gemspec +7 -7
  4. metadata +37 -37
data/Gemfile CHANGED
@@ -5,11 +5,15 @@ source 'http://rubygems.org'
5
5
  SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
6
  REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
7
  DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
- DM_VERSION = '~> 1.2.0.rc1'
8
+ DM_VERSION = '~> 1.2.0.rc2'
9
9
  DO_VERSION = '~> 0.10.6'
10
10
  DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
11
+ CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
12
+
13
+ gem 'dm-core', DM_VERSION,
14
+ SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}",
15
+ :branch => CURRENT_BRANCH
11
16
 
12
- gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
13
17
  gem 'fastercsv', '~> 1.5.4'
14
18
  gem 'multi_json', '~> 1.0.3'
15
19
  gem 'json', '~> 1.5.4', :platforms => [ :ruby_18, :jruby ]
@@ -17,7 +21,10 @@ gem 'json_pure', '~> 1.5.4', :platforms => [ :mswin ]
17
21
 
18
22
  group :development do
19
23
 
20
- gem 'dm-validations', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-validations#{REPO_POSTFIX}"
24
+ gem 'dm-validations', DM_VERSION,
25
+ SOURCE => "#{DATAMAPPER}/dm-validations#{REPO_POSTFIX}",
26
+ :branch => CURRENT_BRANCH
27
+
21
28
  gem 'jeweler', '~> 1.6.4'
22
29
  gem 'rake', '~> 0.9.2'
23
30
  gem 'rspec', '~> 1.3.2'
@@ -57,18 +64,24 @@ group :datamapper do
57
64
  gem "do_#{adapter}", DO_VERSION, do_options.dup
58
65
  end
59
66
 
60
- gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
67
+ gem 'dm-do-adapter', DM_VERSION,
68
+ SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}",
69
+ :branch => CURRENT_BRANCH
61
70
  end
62
71
 
63
72
  adapters.each do |adapter|
64
- gem "dm-#{adapter}-adapter", DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}"
73
+ gem "dm-#{adapter}-adapter", DM_VERSION,
74
+ SOURCE => "#{DATAMAPPER}/dm-#{adapter}-adapter#{REPO_POSTFIX}",
75
+ :branch => CURRENT_BRANCH
65
76
  end
66
77
 
67
78
  plugins = ENV['PLUGINS'] || ENV['PLUGIN']
68
79
  plugins = plugins.to_s.tr(',', ' ').split.push('dm-migrations').uniq
69
80
 
70
81
  plugins.each do |plugin|
71
- gem plugin, DM_VERSION, SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}"
82
+ gem plugin, DM_VERSION,
83
+ SOURCE => "#{DATAMAPPER}/#{plugin}#{REPO_POSTFIX}",
84
+ :branch => CURRENT_BRANCH
72
85
  end
73
86
 
74
87
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0.rc1
1
+ 1.2.0.rc2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dm-serializer"
8
- s.version = "1.2.0.rc1"
8
+ s.version = "1.2.0.rc2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Guy van den Berg"]
@@ -62,33 +62,33 @@ Gem::Specification.new do |s|
62
62
  s.specification_version = 3
63
63
 
64
64
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
65
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
65
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
66
66
  s.add_runtime_dependency(%q<fastercsv>, ["~> 1.5.4"])
67
67
  s.add_runtime_dependency(%q<multi_json>, ["~> 1.0.3"])
68
68
  s.add_runtime_dependency(%q<json>, ["~> 1.5.4"])
69
69
  s.add_runtime_dependency(%q<json_pure>, ["~> 1.5.4"])
70
- s.add_development_dependency(%q<dm-validations>, ["~> 1.2.0.rc1"])
70
+ s.add_development_dependency(%q<dm-validations>, ["~> 1.2.0.rc2"])
71
71
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
72
72
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
73
73
  s.add_development_dependency(%q<rspec>, ["~> 1.3.2"])
74
74
  else
75
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
75
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
76
76
  s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
77
77
  s.add_dependency(%q<multi_json>, ["~> 1.0.3"])
78
78
  s.add_dependency(%q<json>, ["~> 1.5.4"])
79
79
  s.add_dependency(%q<json_pure>, ["~> 1.5.4"])
80
- s.add_dependency(%q<dm-validations>, ["~> 1.2.0.rc1"])
80
+ s.add_dependency(%q<dm-validations>, ["~> 1.2.0.rc2"])
81
81
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
82
82
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
83
83
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
84
84
  end
85
85
  else
86
- s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc1"])
86
+ s.add_dependency(%q<dm-core>, ["~> 1.2.0.rc2"])
87
87
  s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
88
88
  s.add_dependency(%q<multi_json>, ["~> 1.0.3"])
89
89
  s.add_dependency(%q<json>, ["~> 1.5.4"])
90
90
  s.add_dependency(%q<json_pure>, ["~> 1.5.4"])
91
- s.add_dependency(%q<dm-validations>, ["~> 1.2.0.rc1"])
91
+ s.add_dependency(%q<dm-validations>, ["~> 1.2.0.rc2"])
92
92
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
93
93
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
94
94
  s.add_dependency(%q<rspec>, ["~> 1.3.2"])
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-serializer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424023
4
+ hash: 15424017
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
9
  - 0
10
10
  - rc
11
- - 1
12
- version: 1.2.0.rc1
11
+ - 2
12
+ version: 1.2.0.rc2
13
13
  platform: ruby
14
14
  authors:
15
15
  - Guy van den Berg
@@ -17,29 +17,30 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-09-09 00:00:00 Z
20
+ date: 2011-09-21 00:00:00 Z
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
23
23
  type: :runtime
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ requirement: &id001 !ruby/object:Gem::Requirement
25
26
  none: false
26
27
  requirements:
27
28
  - - ~>
28
29
  - !ruby/object:Gem::Version
29
- hash: 15424023
30
+ hash: 15424017
30
31
  segments:
31
32
  - 1
32
33
  - 2
33
34
  - 0
34
35
  - rc
35
- - 1
36
- version: 1.2.0.rc1
37
- prerelease: false
38
- requirement: *id001
36
+ - 2
37
+ version: 1.2.0.rc2
38
+ version_requirements: *id001
39
39
  name: dm-core
40
40
  - !ruby/object:Gem::Dependency
41
41
  type: :runtime
42
- version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ prerelease: false
43
+ requirement: &id002 !ruby/object:Gem::Requirement
43
44
  none: false
44
45
  requirements:
45
46
  - - ~>
@@ -50,12 +51,12 @@ dependencies:
50
51
  - 5
51
52
  - 4
52
53
  version: 1.5.4
53
- prerelease: false
54
- requirement: *id002
54
+ version_requirements: *id002
55
55
  name: fastercsv
56
56
  - !ruby/object:Gem::Dependency
57
57
  type: :runtime
58
- version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ prerelease: false
59
+ requirement: &id003 !ruby/object:Gem::Requirement
59
60
  none: false
60
61
  requirements:
61
62
  - - ~>
@@ -66,12 +67,12 @@ dependencies:
66
67
  - 0
67
68
  - 3
68
69
  version: 1.0.3
69
- prerelease: false
70
- requirement: *id003
70
+ version_requirements: *id003
71
71
  name: multi_json
72
72
  - !ruby/object:Gem::Dependency
73
73
  type: :runtime
74
- version_requirements: &id004 !ruby/object:Gem::Requirement
74
+ prerelease: false
75
+ requirement: &id004 !ruby/object:Gem::Requirement
75
76
  none: false
76
77
  requirements:
77
78
  - - ~>
@@ -82,12 +83,12 @@ dependencies:
82
83
  - 5
83
84
  - 4
84
85
  version: 1.5.4
85
- prerelease: false
86
- requirement: *id004
86
+ version_requirements: *id004
87
87
  name: json
88
88
  - !ruby/object:Gem::Dependency
89
89
  type: :runtime
90
- version_requirements: &id005 !ruby/object:Gem::Requirement
90
+ prerelease: false
91
+ requirement: &id005 !ruby/object:Gem::Requirement
91
92
  none: false
92
93
  requirements:
93
94
  - - ~>
@@ -98,30 +99,30 @@ dependencies:
98
99
  - 5
99
100
  - 4
100
101
  version: 1.5.4
101
- prerelease: false
102
- requirement: *id005
102
+ version_requirements: *id005
103
103
  name: json_pure
104
104
  - !ruby/object:Gem::Dependency
105
105
  type: :development
106
- version_requirements: &id006 !ruby/object:Gem::Requirement
106
+ prerelease: false
107
+ requirement: &id006 !ruby/object:Gem::Requirement
107
108
  none: false
108
109
  requirements:
109
110
  - - ~>
110
111
  - !ruby/object:Gem::Version
111
- hash: 15424023
112
+ hash: 15424017
112
113
  segments:
113
114
  - 1
114
115
  - 2
115
116
  - 0
116
117
  - rc
117
- - 1
118
- version: 1.2.0.rc1
119
- prerelease: false
120
- requirement: *id006
118
+ - 2
119
+ version: 1.2.0.rc2
120
+ version_requirements: *id006
121
121
  name: dm-validations
122
122
  - !ruby/object:Gem::Dependency
123
123
  type: :development
124
- version_requirements: &id007 !ruby/object:Gem::Requirement
124
+ prerelease: false
125
+ requirement: &id007 !ruby/object:Gem::Requirement
125
126
  none: false
126
127
  requirements:
127
128
  - - ~>
@@ -132,12 +133,12 @@ dependencies:
132
133
  - 6
133
134
  - 4
134
135
  version: 1.6.4
135
- prerelease: false
136
- requirement: *id007
136
+ version_requirements: *id007
137
137
  name: jeweler
138
138
  - !ruby/object:Gem::Dependency
139
139
  type: :development
140
- version_requirements: &id008 !ruby/object:Gem::Requirement
140
+ prerelease: false
141
+ requirement: &id008 !ruby/object:Gem::Requirement
141
142
  none: false
142
143
  requirements:
143
144
  - - ~>
@@ -148,12 +149,12 @@ dependencies:
148
149
  - 9
149
150
  - 2
150
151
  version: 0.9.2
151
- prerelease: false
152
- requirement: *id008
152
+ version_requirements: *id008
153
153
  name: rake
154
154
  - !ruby/object:Gem::Dependency
155
155
  type: :development
156
- version_requirements: &id009 !ruby/object:Gem::Requirement
156
+ prerelease: false
157
+ requirement: &id009 !ruby/object:Gem::Requirement
157
158
  none: false
158
159
  requirements:
159
160
  - - ~>
@@ -164,8 +165,7 @@ dependencies:
164
165
  - 3
165
166
  - 2
166
167
  version: 1.3.2
167
- prerelease: false
168
- requirement: *id009
168
+ version_requirements: *id009
169
169
  name: rspec
170
170
  description: DataMapper plugin for serializing Resources and Collections
171
171
  email: vandenberg.guy [a] gmail [d] com