ymdp 0.1.15 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/ymdp/tasks/build.rake +35 -0
- data/ymdp.gemspec +3 -2
- metadata +6 -5
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'lib/init'
|
2
|
+
|
3
|
+
@server_names = []
|
4
|
+
|
5
|
+
SERVERS.each do |k,v|
|
6
|
+
@server_names << k
|
7
|
+
end
|
8
|
+
|
9
|
+
@message = ENV["m"] || ENV["M"]
|
10
|
+
|
11
|
+
def message
|
12
|
+
unless @message
|
13
|
+
$stdout.print "Enter a commit message: "
|
14
|
+
@message = $stdin.gets
|
15
|
+
@message.gsub!("\n", "")
|
16
|
+
end
|
17
|
+
@message
|
18
|
+
end
|
19
|
+
|
20
|
+
task :b => :build
|
21
|
+
|
22
|
+
task :build do
|
23
|
+
system "#{BASE_PATH}/script/build -m \"#{message}\" -d #{CONFIG['default_server']}"
|
24
|
+
end
|
25
|
+
|
26
|
+
namespace :build do
|
27
|
+
task :all => @server_names
|
28
|
+
|
29
|
+
@server_names.each do |name|
|
30
|
+
task name.to_sym do
|
31
|
+
system "#{BASE_PATH}/script/build -m \"#{message}\" -d #{name}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
data/ymdp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ymdp}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Jeff Coleman"]
|
12
|
-
s.date = %q{2010-12-
|
12
|
+
s.date = %q{2010-12-14}
|
13
13
|
s.description = %q{Framework for developing applications in the Yahoo! Mail Development Platform.}
|
14
14
|
s.email = %q{progressions@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -53,6 +53,7 @@ Gem::Specification.new do |s|
|
|
53
53
|
"lib/ymdp/generator/templates/stylesheet.css",
|
54
54
|
"lib/ymdp/generator/templates/translation.pres",
|
55
55
|
"lib/ymdp/generator/templates/view.html.haml",
|
56
|
+
"lib/ymdp/tasks/build.rake",
|
56
57
|
"lib/ymdp/tasks/keys.rake",
|
57
58
|
"lib/ymdp/tasks/ymdp.rake",
|
58
59
|
"lib/ymdp/view/application.rb",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ymdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeff Coleman
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-14 00:00:00 -06:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -614,6 +614,7 @@ files:
|
|
614
614
|
- lib/ymdp/generator/templates/stylesheet.css
|
615
615
|
- lib/ymdp/generator/templates/translation.pres
|
616
616
|
- lib/ymdp/generator/templates/view.html.haml
|
617
|
+
- lib/ymdp/tasks/build.rake
|
617
618
|
- lib/ymdp/tasks/keys.rake
|
618
619
|
- lib/ymdp/tasks/ymdp.rake
|
619
620
|
- lib/ymdp/view/application.rb
|