coded_options 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +18 -0
- data/lib/coded_options/version.rb +1 -1
- metadata +4 -3
data/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require "bundler"
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
require "rspec"
|
5
|
+
require "rspec/core/rake_task"
|
6
|
+
|
7
|
+
Rspec::Core::RakeTask.new(:spec)
|
8
|
+
|
9
|
+
gemspec = eval(File.read("coded_options.gemspec"))
|
10
|
+
|
11
|
+
task :build => "#{gemspec.full_name}.gem"
|
12
|
+
|
13
|
+
task :test => :spec
|
14
|
+
|
15
|
+
file "#{gemspec.full_name}.gem" => gemspec.files + ["coded_options.gemspec"] do
|
16
|
+
system "gem build coded_options.gemspec"
|
17
|
+
system "gem install coded_options-#{CodedOptions::VERSION}.gem"
|
18
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coded_options
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jason Dew
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/rails/coded_options.rb
|
36
36
|
- LICENSE
|
37
37
|
- README.md
|
38
|
+
- Rakefile
|
38
39
|
- .gemtest
|
39
40
|
has_rdoc: true
|
40
41
|
homepage: http://github.com/jasondew/coded_options
|