jasmine-sauce 0.2.0.alpha3 → 0.2.0.alpha4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +28 -2
- data/lib/sauce/jasmine/config.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
@@ -13,7 +13,33 @@ task :build do
|
|
13
13
|
system "gem build jasmine-sauce.gemspec"
|
14
14
|
end
|
15
15
|
|
16
|
-
desc '
|
17
|
-
task :
|
16
|
+
desc 'Release gem to rubygems.org'
|
17
|
+
task :release => :build do
|
18
18
|
system "gem push `ls *.gem | sort | tail -n 1`"
|
19
19
|
end
|
20
|
+
|
21
|
+
desc 'tag current version'
|
22
|
+
task :tag do
|
23
|
+
version = nil
|
24
|
+
File.open("jasmine-sauce.gemspec").each do |line|
|
25
|
+
if line =~ /s.version = "(.*)"/
|
26
|
+
version = $1
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
if version.nil?
|
31
|
+
raise "Couldn't find version"
|
32
|
+
end
|
33
|
+
|
34
|
+
system "git tag v#{version}"
|
35
|
+
end
|
36
|
+
|
37
|
+
desc 'push to github'
|
38
|
+
task :push do
|
39
|
+
system "git push origin master --tags"
|
40
|
+
end
|
41
|
+
|
42
|
+
desc 'everything'
|
43
|
+
task :everything => [:tag, :release, :push]
|
44
|
+
|
45
|
+
task :default => :everything
|
data/lib/sauce/jasmine/config.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-sauce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: -
|
4
|
+
hash: -3702664332
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- alpha
|
11
|
-
-
|
12
|
-
version: 0.2.0.
|
11
|
+
- 4
|
12
|
+
version: 0.2.0.alpha4
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Eric Allen
|