dm-serializer 1.1.0.rc1 → 1.1.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 +20 -30
  2. data/VERSION +1 -1
  3. data/dm-serializer.gemspec +14 -20
  4. metadata +17 -39
data/Gemfile CHANGED
@@ -2,25 +2,16 @@ require 'pathname'
2
2
 
3
3
  source 'http://rubygems.org'
4
4
 
5
- SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
- REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
- DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
- DM_VERSION = '~> 1.1.0.rc1'
9
-
10
- group :runtime do
11
-
12
- if ENV['EXTLIB']
13
- gem 'extlib', '~> 0.9.15', SOURCE => "#{DATAMAPPER}/extlib#{REPO_POSTFIX}", :require => nil
14
- else
15
- gem 'activesupport', '~> 3.0.4', :require => nil
16
- gem 'i18n', '~> 0.5.0'
17
- end
18
-
19
- gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
20
- gem 'fastercsv', '~> 1.5.3'
21
- gem 'json', '~> 1.5.1'
5
+ SOURCE = ENV.fetch('SOURCE', :git).to_sym
6
+ REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
+ DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
+ DM_VERSION = '~> 1.1.0.rc2'
9
+ DO_VERSION = '~> 0.10.2'
10
+ DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
22
11
 
23
- end
12
+ gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
13
+ gem 'fastercsv', '~> 1.5.4'
14
+ gem 'json', '~> 1.4.6'
24
15
 
25
16
  group :development do
26
17
 
@@ -33,17 +24,19 @@ end
33
24
 
34
25
  group :testing do
35
26
 
36
- gem 'nokogiri', '~> 1.4.1'
27
+ gem 'nokogiri', '~> 1.4.4'
37
28
  gem 'libxml-ruby', '~> 1.1.4', :platforms => [ :mri, :mswin ]
38
29
 
39
30
  end
40
31
 
41
- group :quality do
32
+ platforms :mri_18 do
33
+ group :quality do
42
34
 
43
- gem 'rcov', '~> 0.9.9', :platforms => :mri_18
44
- gem 'yard', '~> 0.6'
45
- gem 'yardstick', '~> 0.2'
35
+ gem 'rcov', '~> 0.9.9'
36
+ gem 'yard', '~> 0.6'
37
+ gem 'yardstick', '~> 0.2'
46
38
 
39
+ end
47
40
  end
48
41
 
49
42
  group :datamapper do
@@ -51,18 +44,15 @@ group :datamapper do
51
44
  adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
52
45
  adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
53
46
 
54
- DO_VERSION = '~> 0.10.2'
55
- DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
56
-
57
47
  if (do_adapters = DM_DO_ADAPTERS & adapters).any?
58
- options = {}
59
- options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
48
+ do_options = {}
49
+ do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
60
50
 
61
- gem 'data_objects', DO_VERSION, options.dup
51
+ gem 'data_objects', DO_VERSION, do_options.dup
62
52
 
63
53
  do_adapters.each do |adapter|
64
54
  adapter = 'sqlite3' if adapter == 'sqlite'
65
- gem "do_#{adapter}", DO_VERSION, options.dup
55
+ gem "do_#{adapter}", DO_VERSION, do_options.dup
66
56
  end
67
57
 
68
58
  gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0.rc1
1
+ 1.1.0.rc2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-serializer}
8
- s.version = "1.1.0.rc1"
8
+ s.version = "1.1.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"]
12
- s.date = %q{2011-02-28}
12
+ s.date = %q{2011-03-01}
13
13
  s.description = %q{DataMapper plugin for serializing Resources and Collections}
14
14
  s.email = %q{vandenberg.guy [a] gmail [d] com}
15
15
  s.extra_rdoc_files = [
@@ -77,33 +77,27 @@ Gem::Specification.new do |s|
77
77
  s.specification_version = 3
78
78
 
79
79
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
80
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
81
- s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
82
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
83
- s.add_runtime_dependency(%q<fastercsv>, ["~> 1.5.3"])
84
- s.add_runtime_dependency(%q<json>, ["~> 1.5.1"])
85
- s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
80
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
81
+ s.add_runtime_dependency(%q<fastercsv>, ["~> 1.5.4"])
82
+ s.add_runtime_dependency(%q<json>, ["~> 1.4.6"])
83
+ s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
86
84
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
87
85
  s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
88
86
  s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
89
87
  else
90
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
91
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
92
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
93
- s.add_dependency(%q<fastercsv>, ["~> 1.5.3"])
94
- s.add_dependency(%q<json>, ["~> 1.5.1"])
95
- s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
88
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
89
+ s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
90
+ s.add_dependency(%q<json>, ["~> 1.4.6"])
91
+ s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
96
92
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
97
93
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
98
94
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
99
95
  end
100
96
  else
101
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
102
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
103
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
104
- s.add_dependency(%q<fastercsv>, ["~> 1.5.3"])
105
- s.add_dependency(%q<json>, ["~> 1.5.1"])
106
- s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
97
+ s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
98
+ s.add_dependency(%q<fastercsv>, ["~> 1.5.4"])
99
+ s.add_dependency(%q<json>, ["~> 1.4.6"])
100
+ s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
107
101
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
108
102
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
109
103
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dm-serializer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 1.1.0.rc1
5
+ version: 1.1.0.rc2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Guy van den Berg
@@ -10,78 +10,56 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-28 00:00:00 -08:00
13
+ date: 2011-03-01 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
- name: activesupport
17
+ name: dm-core
18
18
  requirement: &id001 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 3.0.4
23
+ version: 1.1.0.rc2
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: *id001
27
27
  - !ruby/object:Gem::Dependency
28
- name: i18n
28
+ name: fastercsv
29
29
  requirement: &id002 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 0.5.0
34
+ version: 1.5.4
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: *id002
38
38
  - !ruby/object:Gem::Dependency
39
- name: dm-core
39
+ name: json
40
40
  requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 1.1.0.rc1
45
+ version: 1.4.6
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: fastercsv
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 1.5.3
57
- type: :runtime
58
- prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: json
62
- requirement: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 1.5.1
68
- type: :runtime
69
- prerelease: false
70
- version_requirements: *id005
71
49
  - !ruby/object:Gem::Dependency
72
50
  name: dm-validations
73
- requirement: &id006 !ruby/object:Gem::Requirement
51
+ requirement: &id004 !ruby/object:Gem::Requirement
74
52
  none: false
75
53
  requirements:
76
54
  - - ~>
77
55
  - !ruby/object:Gem::Version
78
- version: 1.1.0.rc1
56
+ version: 1.1.0.rc2
79
57
  type: :development
80
58
  prerelease: false
81
- version_requirements: *id006
59
+ version_requirements: *id004
82
60
  - !ruby/object:Gem::Dependency
83
61
  name: jeweler
84
- requirement: &id007 !ruby/object:Gem::Requirement
62
+ requirement: &id005 !ruby/object:Gem::Requirement
85
63
  none: false
86
64
  requirements:
87
65
  - - ~>
@@ -89,10 +67,10 @@ dependencies:
89
67
  version: 1.5.2
90
68
  type: :development
91
69
  prerelease: false
92
- version_requirements: *id007
70
+ version_requirements: *id005
93
71
  - !ruby/object:Gem::Dependency
94
72
  name: rake
95
- requirement: &id008 !ruby/object:Gem::Requirement
73
+ requirement: &id006 !ruby/object:Gem::Requirement
96
74
  none: false
97
75
  requirements:
98
76
  - - ~>
@@ -100,10 +78,10 @@ dependencies:
100
78
  version: 0.8.7
101
79
  type: :development
102
80
  prerelease: false
103
- version_requirements: *id008
81
+ version_requirements: *id006
104
82
  - !ruby/object:Gem::Dependency
105
83
  name: rspec
106
- requirement: &id009 !ruby/object:Gem::Requirement
84
+ requirement: &id007 !ruby/object:Gem::Requirement
107
85
  none: false
108
86
  requirements:
109
87
  - - ~>
@@ -111,7 +89,7 @@ dependencies:
111
89
  version: 1.3.1
112
90
  type: :development
113
91
  prerelease: false
114
- version_requirements: *id009
92
+ version_requirements: *id007
115
93
  description: DataMapper plugin for serializing Resources and Collections
116
94
  email: vandenberg.guy [a] gmail [d] com
117
95
  executables: []