crxmake 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +21 -6
  2. data/lib/crxmake.rb +4 -2
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -75,13 +75,28 @@ task :gemspec do
75
75
  end
76
76
  end
77
77
 
78
- desc "gem install"
79
- task :install => [:gem] do
80
- sh "sudo gem install pkg/#{$name}-#{$version}.gem --local"
78
+ namespace :install do
79
+ desc "install 1.8"
80
+ task "1.8" => [:gem] do
81
+ sh "sudo gem1.8 install pkg/#{$name}-#{$version}.gem --local"
82
+ end
83
+
84
+ desc "install 1.9"
85
+ task "1.9" => [:gem] do
86
+ sh "sudo gem1.9 install pkg/#{$name}-#{$version}.gem --local"
87
+ end
81
88
  end
82
89
 
83
- desc "gem uninstall"
84
- task :uninstall do
85
- sh "sudo gem uninstall #{$name}"
90
+ namespace :uninstall do
91
+ desc "uninstall 1.8"
92
+ task "1.8" do
93
+ sh "sudo gem1.8 uninstall #{$name}"
94
+ end
95
+
96
+ desc "uninstall 1.9"
97
+ task "1.9" do
98
+ sh "sudo gem1.9 uninstall #{$name}"
99
+ end
86
100
  end
101
+
87
102
  # vim: syntax=ruby
@@ -9,8 +9,10 @@ require 'find'
9
9
  require 'pathname'
10
10
 
11
11
  class CrxMake < Object
12
- VERSION = '2.0.1'
13
- @@magic = [?C, ?r, ?2, ?4].pack('C*')
12
+ VERSION = '2.0.2'
13
+ # thx masover
14
+ @@magic = 'Cr24'
15
+
14
16
  # this is chromium extension version
15
17
  @@version = [2].pack('L')
16
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crxmake
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Constellation
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-03 00:00:00 +09:00
12
+ date: 2009-12-04 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency