dm-adjust 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,15 @@
1
+ History.txt
2
+ LICENSE
3
+ Manifest.txt
4
+ README.txt
5
+ Rakefile
6
+ TODO
7
+ lib/dm-adjust.rb
8
+ lib/dm-adjust/adapters/data_objects_adapter.rb
9
+ lib/dm-adjust/collection.rb
10
+ lib/dm-adjust/model.rb
11
+ lib/dm-adjust/repository.rb
12
+ lib/dm-adjust/version.rb
13
+ spec/integration/adjust_spec.rb
14
+ spec/spec.opts
15
+ spec/spec_helper.rb
File without changes
data/Rakefile CHANGED
@@ -1,46 +1,39 @@
1
1
  require 'rubygems'
2
2
  require 'spec'
3
- require 'rake/clean'
4
- require 'rake/gempackagetask'
5
3
  require 'spec/rake/spectask'
6
4
  require 'pathname'
7
5
 
8
- CLEAN.include '{log,pkg}/'
9
-
10
- spec = Gem::Specification.new do |s|
11
- s.name = 'dm-adjust'
12
- s.version = '0.9.2'
13
- s.platform = Gem::Platform::RUBY
14
- s.has_rdoc = true
15
- s.extra_rdoc_files = %w[ README LICENSE TODO ]
16
- s.summary = 'DataMapper plugin providing methods to increment and decrement properties'
17
- s.description = s.summary
18
- s.author = 'Sindre Aarsaether'
19
- s.email = 'sindre [a] identu [d] no'
20
- s.homepage = 'http://github.com/sam/dm-more/tree/master/dm-adjust'
21
- s.require_path = 'lib'
22
- s.files = FileList[ '{lib,spec}/**/*.rb', 'spec/spec.opts', 'Rakefile', *s.extra_rdoc_files ]
23
- s.add_dependency('dm-core', "=#{s.version}")
24
- end
6
+ ROOT = Pathname(__FILE__).dirname.expand_path
7
+ require ROOT + 'lib/dm-adjust/version'
8
+
9
+ AUTHOR = "Sindre Aarsaether"
10
+ EMAIL = "sindre [a] identu [d] no"
11
+ GEM_NAME = "dm-adjust"
12
+ GEM_VERSION = DataMapper::More::Adjust::VERSION
13
+ GEM_DEPENDENCIES = [["dm-core", GEM_VERSION]]
14
+ GEM_CLEAN = ["log", "pkg"]
15
+ GEM_EXTRAS = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO ] }
16
+
17
+ PROJECT_NAME = "datamapper"
18
+ PROJECT_URL = "http://github.com/sam/dm-more/tree/master/dm-adjust"
19
+ PROJECT_DESCRIPTION = PROJECT_SUMMARY = "DataMapper plugin providing methods to increment and decrement properties"
20
+
21
+ require ROOT.parent + 'tasks/hoe'
25
22
 
26
23
  task :default => [ :spec ]
27
24
 
28
25
  WIN32 = (RUBY_PLATFORM =~ /win32|mingw|cygwin/) rescue nil
29
26
  SUDO = WIN32 ? '' : ('sudo' unless ENV['SUDOLESS'])
30
27
 
31
- Rake::GemPackageTask.new(spec) do |pkg|
32
- pkg.gem_spec = spec
33
- end
34
-
35
- desc "Install #{spec.name} #{spec.version} (default ruby)"
28
+ desc "Install #{GEM_NAME} #{GEM_VERSION} (default ruby)"
36
29
  task :install => [ :package ] do
37
- sh "#{SUDO} gem install --local pkg/#{spec.name}-#{spec.version} --no-update-sources", :verbose => false
30
+ sh "#{SUDO} gem install --local pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources", :verbose => false
38
31
  end
39
32
 
40
33
  namespace :jruby do
41
- desc "Install #{spec.name} #{spec.version} with JRuby"
34
+ desc "Install #{GEM_NAME} #{GEM_VERSION} with JRuby"
42
35
  task :install => [ :package ] do
43
- sh %{#{SUDO} jruby -S gem install --local pkg/#{spec.name}-#{spec.version} --no-update-sources}, :verbose => false
36
+ sh %{#{SUDO} jruby -S gem install --local pkg/#{GEM_NAME}-#{GEM_VERSION} --no-update-sources}, :verbose => false
44
37
  end
45
38
  end
46
39
 
@@ -1,6 +1,9 @@
1
1
  require 'rubygems'
2
+ require 'pathname'
2
3
 
3
- gem 'dm-core', '=0.9.3'
4
+ require Pathname(__FILE__).dirname + 'dm-adjust/version'
5
+
6
+ gem 'dm-core', DataMapper::More::Adjust::VERSION
4
7
  require 'dm-core'
5
8
 
6
9
  dir = Pathname(__FILE__).dirname.expand_path / 'dm-adjust'
@@ -0,0 +1,7 @@
1
+ module DataMapper
2
+ module More
3
+ module Adjust
4
+ VERSION = "0.9.3"
5
+ end
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-adjust
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sindre Aarsaether
@@ -9,46 +9,62 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-30 00:00:00 -05:00
12
+ date: 2008-07-24 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dm-core
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
20
21
  - - "="
21
22
  - !ruby/object:Gem::Version
22
- version: 0.9.2
23
+ version: 0.9.3
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.7.0
23
34
  version:
24
35
  description: DataMapper plugin providing methods to increment and decrement properties
25
- email: sindre [a] identu [d] no
36
+ email:
37
+ - sindre [a] identu [d] no
26
38
  executables: []
27
39
 
28
40
  extensions: []
29
41
 
30
42
  extra_rdoc_files:
31
- - README
43
+ - README.txt
32
44
  - LICENSE
33
45
  - TODO
34
46
  files:
47
+ - History.txt
48
+ - LICENSE
49
+ - Manifest.txt
50
+ - README.txt
51
+ - Rakefile
52
+ - TODO
53
+ - lib/dm-adjust.rb
35
54
  - lib/dm-adjust/adapters/data_objects_adapter.rb
36
55
  - lib/dm-adjust/collection.rb
37
56
  - lib/dm-adjust/model.rb
38
57
  - lib/dm-adjust/repository.rb
39
- - lib/dm-adjust.rb
58
+ - lib/dm-adjust/version.rb
40
59
  - spec/integration/adjust_spec.rb
41
- - spec/spec_helper.rb
42
60
  - spec/spec.opts
43
- - Rakefile
44
- - README
45
- - LICENSE
46
- - TODO
61
+ - spec/spec_helper.rb
47
62
  has_rdoc: true
48
63
  homepage: http://github.com/sam/dm-more/tree/master/dm-adjust
49
64
  post_install_message:
50
- rdoc_options: []
51
-
65
+ rdoc_options:
66
+ - --main
67
+ - README.txt
52
68
  require_paths:
53
69
  - lib
54
70
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -65,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
81
  version:
66
82
  requirements: []
67
83
 
68
- rubyforge_project:
69
- rubygems_version: 1.0.1
84
+ rubyforge_project: datamapper
85
+ rubygems_version: 1.2.0
70
86
  signing_key:
71
87
  specification_version: 2
72
88
  summary: DataMapper plugin providing methods to increment and decrement properties