dm-adjust 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-adjust.gemspec +6 -6
- data/lib/dm-adjust/adapters/data_objects_adapter.rb +1 -1
- metadata +4 -4
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-adjust.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{dm-adjust}
|
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 = ["Sindre Aarsaether"]
|
12
|
-
s.date = %q{2011-03-
|
12
|
+
s.date = %q{2011-03-10}
|
13
13
|
s.description = %q{DataMapper plugin providing methods to increment and decrement properties}
|
14
14
|
s.email = %q{sindre [a] identu [d] no}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,7 +40,7 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = %q{http://github.com/datamapper/dm-adjust}
|
41
41
|
s.require_paths = ["lib"]
|
42
42
|
s.rubyforge_project = %q{datamapper}
|
43
|
-
s.rubygems_version = %q{1.
|
43
|
+
s.rubygems_version = %q{1.6.2}
|
44
44
|
s.summary = %q{DataMapper plugin providing methods to increment and decrement properties}
|
45
45
|
s.test_files = [
|
46
46
|
"spec/integration/adjust_spec.rb",
|
@@ -51,18 +51,18 @@ Gem::Specification.new do |s|
|
|
51
51
|
s.specification_version = 3
|
52
52
|
|
53
53
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
-
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.
|
54
|
+
s.add_runtime_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
55
55
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
56
56
|
s.add_development_dependency(%q<rake>, ["~> 0.8.7"])
|
57
57
|
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
58
58
|
else
|
59
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
59
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
60
60
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
61
61
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
62
62
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
63
63
|
end
|
64
64
|
else
|
65
|
-
s.add_dependency(%q<dm-core>, ["~> 1.1.0.
|
65
|
+
s.add_dependency(%q<dm-core>, ["~> 1.1.0.rc3"])
|
66
66
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
67
67
|
s.add_dependency(%q<rake>, ["~> 0.8.7"])
|
68
68
|
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
@@ -32,7 +32,7 @@ module DataMapper
|
|
32
32
|
|
33
33
|
statement = "UPDATE #{quote_name(query.model.storage_name(name))}"
|
34
34
|
statement << " SET #{set_adjustment_statement(properties)}"
|
35
|
-
statement << " WHERE #{conditions_statement}" unless
|
35
|
+
statement << " WHERE #{conditions_statement}" unless DataMapper::Ext.blank?(conditions_statement)
|
36
36
|
|
37
37
|
return statement, bind_values
|
38
38
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-adjust
|
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
|
- Sindre Aarsaether
|
@@ -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
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements: []
|
111
111
|
|
112
112
|
rubyforge_project: datamapper
|
113
|
-
rubygems_version: 1.
|
113
|
+
rubygems_version: 1.6.2
|
114
114
|
signing_key:
|
115
115
|
specification_version: 3
|
116
116
|
summary: DataMapper plugin providing methods to increment and decrement properties
|