chocbomb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +3 -2
- data/VERSION +1 -1
- data/bin/chocbomb +9 -4
- data/chocbomb.gemspec +12 -13
- data/lib/chocbomb.rb +2 -1
- data/lib/chocbomb/rake/tasks.rb +2 -1
- data/lib/chocbomb/tool.rb +9 -0
- data/lib/chocbomb/tools/xcode.rb +1 -1
- metadata +22 -10
data/Rakefile
CHANGED
@@ -18,6 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
|
19
19
|
gem.add_development_dependency "jeweler", "~> 1.5.2"
|
20
20
|
gem.add_development_dependency "rcov", ">= 0"
|
21
|
+
gem.add_development_dependency "rdoc", ">= 0"
|
21
22
|
end
|
22
23
|
Jeweler::RubygemsDotOrgTasks.new
|
23
24
|
|
@@ -37,8 +38,8 @@ end
|
|
37
38
|
|
38
39
|
task :default => :test
|
39
40
|
|
40
|
-
require '
|
41
|
-
|
41
|
+
require 'rdoc/task'
|
42
|
+
RDoc::Task.new do |rdoc|
|
42
43
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
43
44
|
|
44
45
|
rdoc.rdoc_dir = 'rdoc'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/bin/chocbomb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
#!ruby
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'rubygems'
|
4
|
+
require 'chocbomb/tool'
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
ChocBomb.create
|
7
|
+
|
8
|
+
# require 'erb'
|
9
|
+
#
|
10
|
+
# templates = File.expand_path(File.join(File.dirname($0), "..", "templates"))
|
11
|
+
# data = ERB.new(open(File.join(templates, "Rakefile.erb")).read).result(binding)
|
12
|
+
# File.open("Rakefile", 'w') {|f| f.write(data) }
|
data/chocbomb.gemspec
CHANGED
@@ -4,15 +4,14 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.0.
|
7
|
+
s.name = "chocbomb"
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["glejeune"]
|
12
|
-
s.date =
|
13
|
-
s.
|
14
|
-
s.
|
15
|
-
s.email = %q{gregoire.lejeune@gmail.com}
|
12
|
+
s.date = "2011-12-05"
|
13
|
+
s.description = "ChocBomb is a shameful copy of ChocTop - Build and deploy tools for Cocoa apps using Sparkle for distributions and upgrades; it\342\200\231s like Hoe but for Cocoa apps."
|
14
|
+
s.email = "gregoire.lejeune@gmail.com"
|
16
15
|
s.executables = ["chocbomb"]
|
17
16
|
s.extra_rdoc_files = [
|
18
17
|
"LICENSE.txt",
|
@@ -28,6 +27,7 @@ Gem::Specification.new do |s|
|
|
28
27
|
"chocbomb.gemspec",
|
29
28
|
"lib/chocbomb.rb",
|
30
29
|
"lib/chocbomb/rake/tasks.rb",
|
30
|
+
"lib/chocbomb/tool.rb",
|
31
31
|
"lib/chocbomb/tools/dmg.rb",
|
32
32
|
"lib/chocbomb/tools/feed.rb",
|
33
33
|
"lib/chocbomb/tools/images.rb",
|
@@ -40,15 +40,11 @@ Gem::Specification.new do |s|
|
|
40
40
|
"test/ressources/default_background.png",
|
41
41
|
"test/test_chocbomb.rb"
|
42
42
|
]
|
43
|
-
s.homepage =
|
43
|
+
s.homepage = "http://github.com/glejeune/chocbomb"
|
44
44
|
s.licenses = ["MIT"]
|
45
45
|
s.require_paths = ["lib"]
|
46
|
-
s.rubygems_version =
|
47
|
-
s.summary =
|
48
|
-
s.test_files = [
|
49
|
-
"test/helper.rb",
|
50
|
-
"test/test_chocbomb.rb"
|
51
|
-
]
|
46
|
+
s.rubygems_version = "1.8.11"
|
47
|
+
s.summary = "ChocBomb is a shameful copy of ChocTop"
|
52
48
|
|
53
49
|
if s.respond_to? :specification_version then
|
54
50
|
s.specification_version = 3
|
@@ -60,6 +56,7 @@ Gem::Specification.new do |s|
|
|
60
56
|
s.add_runtime_dependency(%q<RedCloth>, [">= 4.2.3"])
|
61
57
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
62
58
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
59
|
+
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
63
60
|
else
|
64
61
|
s.add_dependency(%q<plist>, [">= 3.1.0"])
|
65
62
|
s.add_dependency(%q<escape>, [">= 0.0.4"])
|
@@ -67,6 +64,7 @@ Gem::Specification.new do |s|
|
|
67
64
|
s.add_dependency(%q<RedCloth>, [">= 4.2.3"])
|
68
65
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
69
66
|
s.add_dependency(%q<rcov>, [">= 0"])
|
67
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
70
68
|
end
|
71
69
|
else
|
72
70
|
s.add_dependency(%q<plist>, [">= 3.1.0"])
|
@@ -75,6 +73,7 @@ Gem::Specification.new do |s|
|
|
75
73
|
s.add_dependency(%q<RedCloth>, [">= 4.2.3"])
|
76
74
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
77
75
|
s.add_dependency(%q<rcov>, [">= 0"])
|
76
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
78
77
|
end
|
79
78
|
end
|
80
79
|
|
data/lib/chocbomb.rb
CHANGED
data/lib/chocbomb/rake/tasks.rb
CHANGED
@@ -5,6 +5,7 @@ require 'chocbomb/tools/feed'
|
|
5
5
|
module ChocBomb
|
6
6
|
module Tasks
|
7
7
|
include Tools
|
8
|
+
include Rake::DSL
|
8
9
|
|
9
10
|
def define_tasks
|
10
11
|
return unless Object.const_defined?("Rake")
|
@@ -36,4 +37,4 @@ module ChocBomb
|
|
36
37
|
task :appcast => [:build, :dmg, :feed]
|
37
38
|
end
|
38
39
|
end
|
39
|
-
end
|
40
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
require 'erb'
|
2
|
+
|
3
|
+
module ChocBomb
|
4
|
+
def self.create
|
5
|
+
templates = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "templates"))
|
6
|
+
data = ERB.new(open(File.join(templates, "Rakefile.erb")).read).result(binding)
|
7
|
+
File.open("Rakefile", 'w') {|f| f.write(data) }
|
8
|
+
end
|
9
|
+
end
|
data/lib/chocbomb/tools/xcode.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chocbomb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- glejeune
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable: chocbomb
|
18
|
+
date: 2011-12-05 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: plist
|
@@ -112,6 +111,20 @@ dependencies:
|
|
112
111
|
version: "0"
|
113
112
|
type: :development
|
114
113
|
version_requirements: *id006
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
|
+
name: rdoc
|
116
|
+
prerelease: false
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
hash: 3
|
123
|
+
segments:
|
124
|
+
- 0
|
125
|
+
version: "0"
|
126
|
+
type: :development
|
127
|
+
version_requirements: *id007
|
115
128
|
description: "ChocBomb is a shameful copy of ChocTop - Build and deploy tools for Cocoa apps using Sparkle for distributions and upgrades; it\xE2\x80\x99s like Hoe but for Cocoa apps."
|
116
129
|
email: gregoire.lejeune@gmail.com
|
117
130
|
executables:
|
@@ -131,6 +144,7 @@ files:
|
|
131
144
|
- chocbomb.gemspec
|
132
145
|
- lib/chocbomb.rb
|
133
146
|
- lib/chocbomb/rake/tasks.rb
|
147
|
+
- lib/chocbomb/tool.rb
|
134
148
|
- lib/chocbomb/tools/dmg.rb
|
135
149
|
- lib/chocbomb/tools/feed.rb
|
136
150
|
- lib/chocbomb/tools/images.rb
|
@@ -142,7 +156,6 @@ files:
|
|
142
156
|
- test/ressources/default_background.jpg
|
143
157
|
- test/ressources/default_background.png
|
144
158
|
- test/test_chocbomb.rb
|
145
|
-
has_rdoc: true
|
146
159
|
homepage: http://github.com/glejeune/chocbomb
|
147
160
|
licenses:
|
148
161
|
- MIT
|
@@ -172,10 +185,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
185
|
requirements: []
|
173
186
|
|
174
187
|
rubyforge_project:
|
175
|
-
rubygems_version: 1.
|
188
|
+
rubygems_version: 1.8.11
|
176
189
|
signing_key:
|
177
190
|
specification_version: 3
|
178
191
|
summary: ChocBomb is a shameful copy of ChocTop
|
179
|
-
test_files:
|
180
|
-
|
181
|
-
- test/test_chocbomb.rb
|
192
|
+
test_files: []
|
193
|
+
|