distributed_mutex 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +0 -31
  2. data/VERSION +1 -1
  3. data/init.rb +1 -1
  4. data/rails/init.rb +1 -0
  5. metadata +3 -2
data/Rakefile CHANGED
@@ -10,9 +10,6 @@ begin
10
10
  s.email = %q{birkirb@stoicviking.net}
11
11
  s.has_rdoc = true
12
12
  s.homepage = %q{http://github.com/birkirb/distributed_mutex}
13
- #s.rubyforge_project = %q{serializable}
14
- #s.rubygems_version = %q{1.3.1}
15
- #s.required_rubygems_version = "1.3.1"
16
13
  s.add_dependency(%q<activerecord>, [">= 1.2"])
17
14
  end
18
15
  rescue LoadError
@@ -34,45 +31,18 @@ rescue LoadError
34
31
  end
35
32
  end
36
33
 
37
- # begin
38
- # require 'cucumber'
39
- # require 'cucumber/rake/task'
40
-
41
-
42
- # desc "Run Cucumber feature tests"
43
- # Cucumber::Rake::Task.new(:features) do |t|
44
- # t.cucumber_opts = "--format pretty"
45
- # end
46
-
47
- # rescue LoadError
48
- # desc 'Cucumber rake task not available'
49
- # task :features do
50
- # abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
51
- # end
52
- # end
53
-
54
34
  begin
55
35
  require 'spec/rake/spectask'
56
- # require 'cucumber'
57
- # require 'cucumber/rake/task'
58
36
  require 'spec/rake/verify_rcov'
59
37
 
60
38
  task :test do
61
39
  Rake::Task[:spec].invoke
62
- # Rake::Task[:features].invoke
63
40
  end
64
41
 
65
42
  desc "Run tests with RCov"
66
43
  namespace :rcov do
67
44
  rm "coverage.data" if File.exist?("coverage.data")
68
45
 
69
- # desc "Run Features with RCov"
70
- # Cucumber::Rake::Task.new(:features) do |t|
71
- # t.rcov = true
72
- # t.rcov_opts = %w{ --exclude osx\/objc,gems\/,spec\/,features\/ --aggregate coverage.data}
73
- # t.rcov_opts << %[-o "coverage"]
74
- # end
75
-
76
46
  Spec::Rake::SpecTask.new(:spec) do |t|
77
47
  t.spec_opts = ["-f specdoc", "-c"]
78
48
  t.spec_files = FileList['spec/*_spec.rb']
@@ -83,7 +53,6 @@ begin
83
53
  desc "Run both specs and features to generate aggregated coverage"
84
54
  task :all do |t|
85
55
  Rake::Task["rcov:spec"].invoke
86
- # Rake::Task["rcov:features"].invoke
87
56
  end
88
57
 
89
58
  RCov::VerifyTask.new(:verify => 'rcov:all') do |t|
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
data/init.rb CHANGED
@@ -1 +1 @@
1
- require 'mysql_mutex'
1
+ File.dirname(__FILE__) + "/rails/init".
data/rails/init.rb ADDED
@@ -0,0 +1 @@
1
+ require 'mysql_mutex'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Birkir A. Barkarson
@@ -48,6 +48,7 @@ files:
48
48
  - lib/global_mutex.rb
49
49
  - lib/mutex_lock_timeout.rb
50
50
  - lib/mysql_mutex.rb
51
+ - rails/init.rb
51
52
  - spec/config/database.stub
52
53
  - spec/global_mutex_spec.rb
53
54
  - spec/mysql_mutex_spec.rb