dm-optlock 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,12 @@
1
- == 0.1.0 2008-09-30
2
-
1
+ == 0.1.3 2009-01-10
3
2
  * 1 major enhancement:
4
- * Initial release
5
-
3
+ * replaced 'set_locking_column' by 'add_locking_column'
4
+
6
5
  == 0.1.2 2008-10-01
7
-
8
6
  * 1 major enhancement:
9
7
  * Added class method 'set_locking_column'
10
8
 
11
- == 0.1.3 2009-01-10
12
-
9
+ == 0.1.0 2008-09-30
13
10
  * 1 major enhancement:
14
- * replaced 'set_locking_column' by 'add_locking_column'
11
+ * Initial release
12
+
@@ -3,9 +3,6 @@ Manifest.txt
3
3
  README.rdoc
4
4
  Rakefile
5
5
  lib/dm-optlock.rb
6
- script/console
7
- script/destroy
8
- script/generate
9
6
  spec/dm-optlock_spec.rb
10
7
  spec/spec.opts
11
8
  spec/spec_helper.rb
@@ -1,48 +1,10 @@
1
1
  = dm-optlock
2
-
3
- * FIX (url)
4
-
5
- == DESCRIPTION:
6
-
7
- FIX (describe your package)
8
-
9
- == FEATURES/PROBLEMS:
10
-
11
- * FIX (list of features or problems)
12
-
13
- == SYNOPSIS:
14
-
15
- FIX (code sample of usage)
2
+ Adds optimistic locking to Datamapper.
16
3
 
17
4
  == REQUIREMENTS:
18
5
 
19
- * FIX (list of requirements)
20
-
21
- == INSTALL:
22
-
23
- * FIX (sudo gem install, anything else)
6
+ * dm-core >= 0.9.5
24
7
 
25
8
  == LICENSE:
26
-
27
- (The MIT License)
28
-
29
- Copyright (c) 2009 FIXME full name
30
-
31
- Permission is hereby granted, free of charge, to any person obtaining
32
- a copy of this software and associated documentation files (the
33
- 'Software'), to deal in the Software without restriction, including
34
- without limitation the rights to use, copy, modify, merge, publish,
35
- distribute, sublicense, and/or sell copies of the Software, and to
36
- permit persons to whom the Software is furnished to do so, subject to
37
- the following conditions:
38
-
39
- The above copyright notice and this permission notice shall be
40
- included in all copies or substantial portions of the Software.
41
-
42
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
43
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
44
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
45
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
46
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
47
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
48
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
+ GPL v3
10
+ http://www.gnu.de/documents/gpl-3.0.en.html
data/Rakefile CHANGED
@@ -4,7 +4,7 @@ require File.dirname(__FILE__) + '/lib/dm-optlock'
4
4
  # Generate all the Rake tasks
5
5
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
6
6
  $hoe = Hoe.new('dm-optlock', DataMapper::DmOptlock::VERSION) do |p|
7
- p.developer('FIXME full name', 'FIXME email')
7
+ p.developer('Martin Vielsmaier', 'martin.vielsmaier@gmail.com')
8
8
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
9
9
  p.rubyforge_name = p.name # TODO this is default value
10
10
  p.extra_deps = [
@@ -10,7 +10,7 @@ module DataMapper
10
10
  end
11
11
 
12
12
  module DmOptlock
13
- VERSION = '0.1.3'
13
+ VERSION = '0.1.4'
14
14
  DEFAULT_LOCKING_COLUMN = :lock_version
15
15
 
16
16
  def self.included(base) #:nodoc:
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-optlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
- - FIXME full name
7
+ - Martin Vielsmaier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -32,9 +32,9 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.8.0
34
34
  version:
35
- description: FIX (describe your package)
35
+ description: ""
36
36
  email:
37
- - FIXME email
37
+ - martin.vielsmaier@gmail.com
38
38
  executables: []
39
39
 
40
40
  extensions: []
@@ -49,15 +49,12 @@ files:
49
49
  - README.rdoc
50
50
  - Rakefile
51
51
  - lib/dm-optlock.rb
52
- - script/console
53
- - script/destroy
54
- - script/generate
55
52
  - spec/dm-optlock_spec.rb
56
53
  - spec/spec.opts
57
54
  - spec/spec_helper.rb
58
55
  - tasks/rspec.rake
59
56
  has_rdoc: true
60
- homepage: FIX (url)
57
+ homepage: Adds optimistic locking to Datamapper.
61
58
  post_install_message:
62
59
  rdoc_options:
63
60
  - --main
@@ -82,6 +79,6 @@ rubyforge_project: dm-optlock
82
79
  rubygems_version: 1.3.1
83
80
  signing_key:
84
81
  specification_version: 2
85
- summary: FIX (describe your package)
82
+ summary: ""
86
83
  test_files: []
87
84
 
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # File: script/console
3
- irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
4
-
5
- libs = " -r irb/completion"
6
- # Perhaps use a console_lib to store any extra methods I may want available in the cosole
7
- # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}"
8
- libs << " -r #{File.dirname(__FILE__) + '/../lib/dm-optlock.rb'}"
9
- puts "Loading dm-optlock gem"
10
- exec "#{irb} #{libs} --simple-prompt"
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/destroy'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
- APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
-
4
- begin
5
- require 'rubigen'
6
- rescue LoadError
7
- require 'rubygems'
8
- require 'rubigen'
9
- end
10
- require 'rubigen/scripts/generate'
11
-
12
- ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
- RubiGen::Scripts::Generate.new.run(ARGV)