dm-tags 1.1.0.rc2 → 1.1.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/dm-tags.gemspec +9 -9
- data/lib/dm-tags/dm_tags.rb +1 -1
- metadata +5 -5
data/Gemfile
CHANGED
@@ -5,7 +5,7 @@ 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.1.0.
|
8
|
+
DM_VERSION = '~> 1.1.0.rc3'
|
9
9
|
DO_VERSION = '~> 0.10.2'
|
10
10
|
DM_DO_ADAPTERS = %w[ sqlite postgres mysql oracle sqlserver ]
|
11
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.0.
|
1
|
+
1.1.0.rc3
|
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.rc3"
|
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-03-
|
12
|
+
s.date = %q{2011-03-10}
|
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 = [
|
@@ -42,7 +42,7 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.homepage = %q{http://github.com/datamapper/dm-tags}
|
43
43
|
s.require_paths = ["lib"]
|
44
44
|
s.rubyforge_project = %q{datamapper}
|
45
|
-
s.rubygems_version = %q{1.
|
45
|
+
s.rubygems_version = %q{1.6.2}
|
46
46
|
s.summary = %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.}
|
47
47
|
s.test_files = [
|
48
48
|
"spec/dm-tags/dm_tags_spec.rb",
|
@@ -57,21 +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<dm-core>, ["~> 1.1.0.
|
61
|
-
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.
|
60
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
61
|
+
s.add_development_dependency(%q<dm-validations>, ["~> 1.1.0.rc3"])
|
62
62
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
63
63
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
64
64
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
65
65
|
else
|
66
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
67
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.
|
66
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
67
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc3"])
|
68
68
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
69
69
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
70
70
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
71
71
|
end
|
72
72
|
else
|
73
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
74
|
-
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.
|
73
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
74
|
+
s.add_dependency(%q<dm-validations>, ["~> 1.1.0.rc3"])
|
75
75
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
76
76
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
77
77
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
data/lib/dm-tags/dm_tags.rb
CHANGED
@@ -41,7 +41,7 @@ module DataMapper
|
|
41
41
|
|
42
42
|
associations.each do |association|
|
43
43
|
association = association.to_s
|
44
|
-
singular =
|
44
|
+
singular = DataMapper::Inflector.singularize(association)
|
45
45
|
|
46
46
|
class_eval <<-RUBY, __FILE__, __LINE__ + 1
|
47
47
|
property :frozen_#{singular}_list, Text
|
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.rc3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Bobby Calderwood
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-10 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.1.0.
|
23
|
+
version: 1.1.0.rc3
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: *id001
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - ~>
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 1.1.0.
|
34
|
+
version: 1.1.0.rc3
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: *id002
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
requirements: []
|
124
124
|
|
125
125
|
rubyforge_project: datamapper
|
126
|
-
rubygems_version: 1.
|
126
|
+
rubygems_version: 1.6.2
|
127
127
|
signing_key:
|
128
128
|
specification_version: 3
|
129
129
|
summary: 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.
|