dm-tags 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.
- data/Gemfile +17 -27
- data/VERSION +1 -1
- data/dm-tags.gemspec +8 -14
- metadata +13 -35
data/Gemfile
CHANGED
@@ -2,23 +2,14 @@ require 'pathname'
|
|
2
2
|
|
3
3
|
source 'http://rubygems.org'
|
4
4
|
|
5
|
-
SOURCE
|
6
|
-
REPO_POSTFIX
|
7
|
-
DATAMAPPER
|
8
|
-
DM_VERSION
|
9
|
-
|
10
|
-
|
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}"
|
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 ]
|
20
11
|
|
21
|
-
|
12
|
+
gem 'dm-core', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}"
|
22
13
|
|
23
14
|
group :development do
|
24
15
|
|
@@ -29,12 +20,14 @@ group :development do
|
|
29
20
|
|
30
21
|
end
|
31
22
|
|
32
|
-
|
23
|
+
platforms :mri_18 do
|
24
|
+
group :quality do
|
33
25
|
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
gem 'rcov', '~> 0.9.9'
|
27
|
+
gem 'yard', '~> 0.6'
|
28
|
+
gem 'yardstick', '~> 0.2'
|
37
29
|
|
30
|
+
end
|
38
31
|
end
|
39
32
|
|
40
33
|
group :datamapper do
|
@@ -42,18 +35,15 @@ group :datamapper do
|
|
42
35
|
adapters = ENV['ADAPTER'] || ENV['ADAPTERS']
|
43
36
|
adapters = adapters.to_s.tr(',', ' ').split.uniq - %w[ in_memory ]
|
44
37
|
|
45
|
-
DO_VERSION = '~> 0.10.2'
|
46
|
-
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
47
|
-
|
48
38
|
if (do_adapters = DM_DO_ADAPTERS & adapters).any?
|
49
|
-
|
50
|
-
|
39
|
+
do_options = {}
|
40
|
+
do_options[:git] = "#{DATAMAPPER}/do#{REPO_POSTFIX}" if ENV['DO_GIT'] == 'true'
|
51
41
|
|
52
|
-
gem 'data_objects', DO_VERSION,
|
42
|
+
gem 'data_objects', DO_VERSION, do_options.dup
|
53
43
|
|
54
44
|
do_adapters.each do |adapter|
|
55
45
|
adapter = 'sqlite3' if adapter == 'sqlite'
|
56
|
-
gem "do_#{adapter}", DO_VERSION,
|
46
|
+
gem "do_#{adapter}", DO_VERSION, do_options.dup
|
57
47
|
end
|
58
48
|
|
59
49
|
gem 'dm-do-adapter', DM_VERSION, SOURCE => "#{DATAMAPPER}/dm-do-adapter#{REPO_POSTFIX}"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.rc2
|
data/dm-tags.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-tags}
|
8
|
-
s.version = "1.1.0.
|
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 = ["Bobby Calderwood"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-01}
|
13
13
|
s.description = %q{This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids.}
|
14
14
|
s.email = %q{bobby_calderwood [a] me [d] com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -57,27 +57,21 @@ Gem::Specification.new do |s|
|
|
57
57
|
s.specification_version = 3
|
58
58
|
|
59
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
60
|
-
s.add_runtime_dependency(%q<
|
61
|
-
s.
|
62
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
63
|
-
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
|
60
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
61
|
+
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
64
62
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
65
63
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
66
64
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
67
65
|
else
|
68
|
-
s.add_dependency(%q<
|
69
|
-
s.add_dependency(%q<
|
70
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
71
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
|
66
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
67
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
72
68
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
73
69
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
74
70
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
75
71
|
end
|
76
72
|
else
|
77
|
-
s.add_dependency(%q<
|
78
|
-
s.add_dependency(%q<
|
79
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc1"])
|
80
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc1"])
|
73
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc2"])
|
74
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc2"])
|
81
75
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
82
76
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
83
77
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 1.1.0.
|
5
|
+
version: 1.1.0.rc2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Bobby Calderwood
|
@@ -10,56 +10,34 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
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:
|
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:
|
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
27
|
- !ruby/object:Gem::Dependency
|
50
28
|
name: dm-validations
|
51
|
-
requirement: &
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
52
30
|
none: false
|
53
31
|
requirements:
|
54
32
|
- - ~>
|
55
33
|
- !ruby/object:Gem::Version
|
56
|
-
version: 1.1.0.
|
34
|
+
version: 1.1.0.rc2
|
57
35
|
type: :development
|
58
36
|
prerelease: false
|
59
|
-
version_requirements: *
|
37
|
+
version_requirements: *id002
|
60
38
|
- !ruby/object:Gem::Dependency
|
61
39
|
name: jeweler
|
62
|
-
requirement: &
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
63
41
|
none: false
|
64
42
|
requirements:
|
65
43
|
- - ~>
|
@@ -67,10 +45,10 @@ dependencies:
|
|
67
45
|
version: 1.5.2
|
68
46
|
type: :development
|
69
47
|
prerelease: false
|
70
|
-
version_requirements: *
|
48
|
+
version_requirements: *id003
|
71
49
|
- !ruby/object:Gem::Dependency
|
72
50
|
name: rake
|
73
|
-
requirement: &
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
52
|
none: false
|
75
53
|
requirements:
|
76
54
|
- - ~>
|
@@ -78,10 +56,10 @@ dependencies:
|
|
78
56
|
version: 0.8.7
|
79
57
|
type: :development
|
80
58
|
prerelease: false
|
81
|
-
version_requirements: *
|
59
|
+
version_requirements: *id004
|
82
60
|
- !ruby/object:Gem::Dependency
|
83
61
|
name: rspec
|
84
|
-
requirement: &
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
85
63
|
none: false
|
86
64
|
requirements:
|
87
65
|
- - ~>
|
@@ -89,7 +67,7 @@ dependencies:
|
|
89
67
|
version: 1.3.1
|
90
68
|
type: :development
|
91
69
|
prerelease: false
|
92
|
-
version_requirements: *
|
70
|
+
version_requirements: *id005
|
93
71
|
description: This package brings tagging to DataMapper. It is inspired by Acts As Taggable On by Michael Bleigh, github's mbleigh. Props to him for the contextual tagging based on Acts As Taggable on Steroids.
|
94
72
|
email: bobby_calderwood [a] me [d] com
|
95
73
|
executables: []
|