dm-is-nested_set 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 +19 -28
  2. data/VERSION +1 -1
  3. data/dm-is-nested_set.gemspec +5 -14
  4. metadata +10 -43
data/Gemfile CHANGED
@@ -2,24 +2,14 @@ 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 'dm-adjust', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-adjust#{REPO_POSTFIX}"
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 ]
21
11
 
22
- end
12
+ gem 'dm-adjust', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-adjust#{REPO_POSTFIX}"
23
13
 
24
14
  group :development do
25
15
 
@@ -29,31 +19,32 @@ group :development do
29
19
 
30
20
  end
31
21
 
32
- group :quality do
22
+ platforms :mri_18 do
23
+ group :quality do
33
24
 
34
- gem 'rcov', '~> 0.9.9', :platforms => :mri_18
35
- gem 'yard', '~> 0.6'
36
- gem 'yardstick', '~> 0.2'
25
+ gem 'rcov', '~> 0.9.9'
26
+ gem 'yard', '~> 0.6'
27
+ gem 'yardstick', '~> 0.2'
37
28
 
29
+ end
38
30
  end
39
31
 
40
32
  group :datamapper do
41
33
 
34
+ gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
35
+
42
36
  adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
43
37
  adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
44
38
 
45
- DO_VERSION = '~> 0.10.2'
46
- DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
47
-
48
39
  if (do_adapters = DM_DO_ADAPTERS & adapters).any?
49
- options = {}
50
- options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
40
+ do_options = {}
41
+ do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
51
42
 
52
- gem 'data_objects', DO_VERSION, options.dup
43
+ gem 'data_objects', DO_VERSION, do_options.dup
53
44
 
54
45
  do_adapters.each do |adapter|
55
46
  adapter = 'sqlite3' if adapter == 'sqlite'
56
- gem "do_#{adapter}", DO_VERSION, options.dup
47
+ gem "do_#{adapter}", DO_VERSION, do_options.dup
57
48
  end
58
49
 
59
50
  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-is-nested_set}
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 = ["Sindre Aarsaether"]
12
- s.date = %q{2011-02-28}
12
+ s.date = %q{2011-03-01}
13
13
  s.description = %q{DataMapper plugin allowing the creation of nested sets from data models}
14
14
  s.email = %q{sindre [a] identu [d] no}
15
15
  s.extra_rdoc_files = [
@@ -47,27 +47,18 @@ Gem::Specification.new do |s|
47
47
  s.specification_version = 3
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.4"])
51
- s.add_runtime_dependency(%q<i18n>, ["~> 0.5.0"])
52
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
53
- s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.1.0.rc1"])
50
+ s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.1.0.rc2"])
54
51
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
55
52
  s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
56
53
  s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
57
54
  else
58
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
59
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
60
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
61
- s.add_dependency(%q<dm-adjust>, ["~> 1.1.0.rc1"])
55
+ s.add_dependency(%q<dm-adjust>, ["~> 1.1.0.rc2"])
62
56
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
63
57
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
64
58
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
65
59
  end
66
60
  else
67
- s.add_dependency(%q<activesupport>, ["~> 3.0.4"])
68
- s.add_dependency(%q<i18n>, ["~> 0.5.0"])
69
- s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
70
- s.add_dependency(%q<dm-adjust>, ["~> 1.1.0.rc1"])
61
+ s.add_dependency(%q<dm-adjust>, ["~> 1.1.0.rc2"])
71
62
  s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
72
63
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
73
64
  s.add_dependency(%q<rspec>, ["~> 1.3.1"])
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: dm-is-nested_set
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
  - Sindre Aarsaether
@@ -10,56 +10,23 @@ 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-adjust
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
- - !ruby/object:Gem::Dependency
28
- name: i18n
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ~>
33
- - !ruby/object:Gem::Version
34
- version: 0.5.0
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: dm-core
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.1.0.rc1
46
- type: :runtime
47
- prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: dm-adjust
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 1.1.0.rc1
57
- type: :runtime
58
- prerelease: false
59
- version_requirements: *id004
60
27
  - !ruby/object:Gem::Dependency
61
28
  name: jeweler
62
- requirement: &id005 !ruby/object:Gem::Requirement
29
+ requirement: &id002 !ruby/object:Gem::Requirement
63
30
  none: false
64
31
  requirements:
65
32
  - - ~>
@@ -67,10 +34,10 @@ dependencies:
67
34
  version: 1.5.2
68
35
  type: :development
69
36
  prerelease: false
70
- version_requirements: *id005
37
+ version_requirements: *id002
71
38
  - !ruby/object:Gem::Dependency
72
39
  name: rake
73
- requirement: &id006 !ruby/object:Gem::Requirement
40
+ requirement: &id003 !ruby/object:Gem::Requirement
74
41
  none: false
75
42
  requirements:
76
43
  - - ~>
@@ -78,10 +45,10 @@ dependencies:
78
45
  version: 0.8.7
79
46
  type: :development
80
47
  prerelease: false
81
- version_requirements: *id006
48
+ version_requirements: *id003
82
49
  - !ruby/object:Gem::Dependency
83
50
  name: rspec
84
- requirement: &id007 !ruby/object:Gem::Requirement
51
+ requirement: &id004 !ruby/object:Gem::Requirement
85
52
  none: false
86
53
  requirements:
87
54
  - - ~>
@@ -89,7 +56,7 @@ dependencies:
89
56
  version: 1.3.1
90
57
  type: :development
91
58
  prerelease: false
92
- version_requirements: *id007
59
+ version_requirements: *id004
93
60
  description: DataMapper plugin allowing the creation of nested sets from data models
94
61
  email: sindre [a] identu [d] no
95
62
  executables: []