barricade 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Rakefile +40 -0
- data/VERSION +1 -0
- metadata +22 -5
data/Rakefile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
desc 'Default: run specs.'
|
4
|
+
task :default => :spec
|
5
|
+
|
6
|
+
require 'spec/rake/spectask'
|
7
|
+
desc 'Run the specs.'
|
8
|
+
Spec::Rake::SpecTask.new(:spec) do |spec|
|
9
|
+
spec.libs << 'lib' << 'spec'
|
10
|
+
spec.spec_files = FileList['spec/**/*_spec.rb']
|
11
|
+
end
|
12
|
+
|
13
|
+
require 'rake/rdoctask'
|
14
|
+
desc 'Generate documentation'
|
15
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'Barricade'
|
18
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
19
|
+
rdoc.rdoc_files.include('README')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
begin
|
24
|
+
require 'jeweler'
|
25
|
+
Jeweler::Tasks.new do |gem|
|
26
|
+
gem.name = "barricade"
|
27
|
+
gem.summary = "Better ActiveRecord locking"
|
28
|
+
gem.description = "Makes ActiveRecord locking more secure and robust"
|
29
|
+
gem.email = "pete@envato.com"
|
30
|
+
gem.homepage = "http://github.com/envato/barricade"
|
31
|
+
gem.authors = ["Pete Yandell"]
|
32
|
+
|
33
|
+
gem.add_development_dependency "rspec", ">= 1.2.9"
|
34
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
35
|
+
end
|
36
|
+
Jeweler::GemcutterTasks.new
|
37
|
+
rescue LoadError
|
38
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
39
|
+
end
|
40
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Pete Yandell
|
@@ -16,8 +16,21 @@ cert_chain: []
|
|
16
16
|
|
17
17
|
date: 2010-04-22 00:00:00 +10:00
|
18
18
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rspec
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 2
|
30
|
+
- 9
|
31
|
+
version: 1.2.9
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
21
34
|
description: Makes ActiveRecord locking more secure and robust
|
22
35
|
email: pete@envato.com
|
23
36
|
executables: []
|
@@ -28,13 +41,17 @@ extra_rdoc_files:
|
|
28
41
|
- LICENSE
|
29
42
|
- README.md
|
30
43
|
files:
|
44
|
+
- .gitignore
|
45
|
+
- LICENSE
|
31
46
|
- README.md
|
47
|
+
- Rakefile
|
48
|
+
- VERSION
|
32
49
|
- init.rb
|
50
|
+
- lib/.better_locking.rb.swp
|
33
51
|
- lib/barricade.rb
|
34
52
|
- spec/barricade_spec.rb
|
35
53
|
- spec/schema.rb
|
36
54
|
- spec/spec_helper.rb
|
37
|
-
- LICENSE
|
38
55
|
has_rdoc: true
|
39
56
|
homepage: http://github.com/envato/barricade
|
40
57
|
licenses: []
|