acts_as_label 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -45
- data/lib/acts_as_label/version.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -1,45 +1,2 @@
|
|
1
|
-
require
|
2
|
-
|
3
|
-
require "rdoc/task"
|
4
|
-
require "jeweler"
|
5
|
-
|
6
|
-
|
7
|
-
desc "Default: run tests."
|
8
|
-
task :default => [:test]
|
9
|
-
|
10
|
-
|
11
|
-
desc "Test the gem."
|
12
|
-
Rake::TestTask.new(:test) do |t|
|
13
|
-
t.libs << ["lib", "test"]
|
14
|
-
t.pattern = "test/**/*_test.rb"
|
15
|
-
t.verbose = true
|
16
|
-
end
|
17
|
-
|
18
|
-
|
19
|
-
desc "Generate documentation for the gem."
|
20
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
21
|
-
rdoc.rdoc_dir = "rdoc"
|
22
|
-
rdoc.title = "acts_as_label"
|
23
|
-
rdoc.options << "--line-numbers --inline-source"
|
24
|
-
rdoc.rdoc_files.include("README")
|
25
|
-
rdoc.rdoc_files.include("lib/**/*.rb")
|
26
|
-
end
|
27
|
-
|
28
|
-
|
29
|
-
begin
|
30
|
-
Jeweler::Tasks.new do |gemspec|
|
31
|
-
gemspec.authors = ["Coroutine", "John Dugan", "Rick Branson"]
|
32
|
-
gemspec.description = "This acts_as extension implements a system label and a friendly label on a class and centralizes the logic for performing validations and accessing items by system label."
|
33
|
-
gemspec.email = "jdugan@coroutine.com"
|
34
|
-
gemspec.homepage = "http://github.com/coroutine/acts_as_label"
|
35
|
-
gemspec.name = "acts_as_label"
|
36
|
-
gemspec.summary = "Gem version of acts_as_label Rails plugin."
|
37
|
-
|
38
|
-
gemspec.add_dependency("activerecord", ">=3.0.0")
|
39
|
-
gemspec.add_development_dependency("activesupport", ">=3.0.0")
|
40
|
-
gemspec.files.include("lib/**/*.rb")
|
41
|
-
end
|
42
|
-
Jeweler::GemcutterTasks.new
|
43
|
-
rescue LoadError
|
44
|
-
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
45
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_label
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 4
|
10
|
+
version: 1.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Coroutine
|