ymdp 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -0
- data/History.txt +8 -4
- data/Rakefile +14 -12
- data/VERSION +1 -1
- data/lib/ymdp/base.rb +10 -14
- data/lib/ymdp/compiler/base.rb +10 -10
- data/lib/ymdp/configuration/config.rb +9 -0
- data/lib/ymdp/configuration/constants.rb +7 -1
- data/lib/ymdp/generator/templates/translation.pres +3 -1
- data/lib/ymdp/processor/form_post.rb +1 -1
- data/lib/ymdp/processor/validator.rb +1 -5
- data/lib/ymdp/tasks/ymdp.rake +12 -9
- data/lib/ymdp/translator/base.rb +1 -1
- data/spec/compiler_spec.rb +4 -4
- data/spec/validator_spec.rb +19 -0
- data/spec/ymdp_base_spec.rb +4 -4
- data/ymdp.gemspec +21 -14
- metadata +35 -14
data/Gemfile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
gem "rspec", ">= 1.2.6"
|
2
|
+
gem "haml"
|
3
|
+
gem "json"
|
4
|
+
gem "hpricot"
|
5
|
+
gem "ruby-growl"
|
6
|
+
gem "activesupport"
|
7
|
+
gem "sishen-rtranslate"
|
8
|
+
gem "progressions-basepath", :require_as => "basepath"
|
9
|
+
gem "progessions-g", :require_as => "g"
|
10
|
+
gem "timer"
|
11
|
+
gem "serenity"
|
12
|
+
gem "ymdp_generator"
|
13
|
+
gem "ymdt"
|
data/History.txt
CHANGED
@@ -1,17 +1,21 @@
|
|
1
|
-
==
|
1
|
+
== 0.1.8 2010-01-20
|
2
2
|
* minor enhancements
|
3
|
-
|
3
|
+
* load JSLint settings from config/jslint.js
|
4
|
+
* bug fixes
|
5
|
+
* eliminate extra newlines in translations
|
6
|
+
* fixed incorrect paths in compiler
|
7
|
+
* correctly sync YMDP application with rake sync
|
4
8
|
|
5
9
|
== 0.1.7 2010-01-17
|
6
10
|
* minor enhancements
|
7
|
-
*
|
11
|
+
* refactored ApplicationView and the F file support class
|
8
12
|
* improved RDoc coverage
|
9
13
|
* improved test coverage to 89%
|
10
14
|
|
11
15
|
== 0.1.6 2010-01-16
|
12
16
|
* major enhancements
|
13
17
|
* YMDP global settings now assigned through YMDP::Base.configure block
|
14
|
-
*
|
18
|
+
* raise exceptions if vital settings like version and server don't exist
|
15
19
|
* minor enhancements
|
16
20
|
* improved RDoc coverage
|
17
21
|
* improved test coverage
|
data/Rakefile
CHANGED
@@ -10,18 +10,20 @@ begin
|
|
10
10
|
gem.email = "progressions@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/progressions/ymdp"
|
12
12
|
gem.authors = ["Jeff Coleman"]
|
13
|
-
gem.add_development_dependency "
|
14
|
-
gem.
|
15
|
-
gem.
|
16
|
-
gem.
|
17
|
-
gem.
|
18
|
-
gem.
|
19
|
-
gem.
|
20
|
-
gem.
|
21
|
-
gem.
|
22
|
-
gem.
|
23
|
-
gem.
|
24
|
-
gem.
|
13
|
+
gem.add_development_dependency "rspec", ">= 1.2.6"
|
14
|
+
gem.add_runtime_dependency "haml", ">= 0"
|
15
|
+
gem.add_runtime_dependency "json", ">= 0"
|
16
|
+
gem.add_runtime_dependency "hpricot", ">= 0"
|
17
|
+
gem.add_runtime_dependency "ruby-growl", ">= 0"
|
18
|
+
gem.add_runtime_dependency "activesupport", ">= 0"
|
19
|
+
gem.add_runtime_dependency "sishen-rtranslate", ">= 0"
|
20
|
+
gem.add_runtime_dependency "progressions-basepath", ">= 0"
|
21
|
+
gem.add_runtime_dependency "progressions-g", ">= 0"
|
22
|
+
gem.add_runtime_dependency "bundler", ">= 0"
|
23
|
+
gem.add_runtime_dependency "timer", ">= 0"
|
24
|
+
gem.add_runtime_dependency "serenity", ">= 0"
|
25
|
+
gem.add_runtime_dependency "ymdp_generator", ">= 0"
|
26
|
+
gem.add_runtime_dependency "ymdt", ">= 0"
|
25
27
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
26
28
|
end
|
27
29
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/lib/ymdp/base.rb
CHANGED
@@ -39,17 +39,22 @@ module YMDP
|
|
39
39
|
|
40
40
|
yield setter
|
41
41
|
|
42
|
-
@@paths = setter.paths
|
43
|
-
@@servers = setter.servers
|
42
|
+
@@paths = setter.paths if setter.paths.try(:any?)
|
43
|
+
@@servers = setter.servers if setter.servers.try(:any?)
|
44
|
+
|
45
|
+
@@content_variables ||= {}
|
44
46
|
|
45
47
|
setter.instance_variables.each do |key|
|
46
|
-
unless ["@servers", "@paths"].include?(key)
|
48
|
+
unless ["@servers", "@paths", "@content_variables"].include?(key)
|
47
49
|
value = setter.instance_variable_get(key)
|
48
50
|
create_accessor(key, value)
|
49
51
|
end
|
50
52
|
end
|
51
53
|
|
52
|
-
|
54
|
+
if setter.content_variables.any?
|
55
|
+
content_variables = @@content_variables.merge(setter.content_variables)
|
56
|
+
create_accessor("content_variables", content_variables)
|
57
|
+
end
|
53
58
|
end
|
54
59
|
|
55
60
|
# Returns the server definition hash as a class variable, making it available to
|
@@ -103,16 +108,6 @@ module YMDP
|
|
103
108
|
|
104
109
|
private
|
105
110
|
|
106
|
-
# This probably isn't actually a good place to have this, because
|
107
|
-
# the 'content variables' are only intended to be relevant inside
|
108
|
-
# of a view template.
|
109
|
-
#
|
110
|
-
def self.create_accessors_from_content_variables(content_variables)
|
111
|
-
content_variables.each do |key, value|
|
112
|
-
create_accessor(key, value)
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
111
|
# Creates class- and instance-level accessors for the key and value.
|
117
112
|
#
|
118
113
|
def self.create_accessor(key, value)
|
@@ -126,6 +121,7 @@ module YMDP
|
|
126
121
|
attr_accessor :#{key}
|
127
122
|
end
|
128
123
|
)
|
124
|
+
|
129
125
|
self.send("#{key}=".to_sym, value)
|
130
126
|
|
131
127
|
eval %(
|
data/lib/ymdp/compiler/base.rb
CHANGED
@@ -115,11 +115,11 @@ module YMDP
|
|
115
115
|
#
|
116
116
|
def clean_domain
|
117
117
|
dir = "#{servers_path}/#{domain}"
|
118
|
-
FileUtils.rm_rf("#{dir}/views")
|
119
|
-
FileUtils.rm_rf("#{dir}/assets/javascripts")
|
120
|
-
FileUtils.rm_rf("#{dir}/assets/stylesheets")
|
121
|
-
FileUtils.rm_rf("#{dir}/assets/yrb")
|
122
|
-
FileUtils.rm_rf("#{TMP_PATH}
|
118
|
+
FileUtils.rm_rf(Dir.glob("#{dir}/views/*"))
|
119
|
+
FileUtils.rm_rf(Dir.glob("#{dir}/assets/javascripts/*"))
|
120
|
+
FileUtils.rm_rf(Dir.glob("#{dir}/assets/stylesheets/*"))
|
121
|
+
FileUtils.rm_rf(Dir.glob("#{dir}/assets/yrb/*"))
|
122
|
+
FileUtils.rm_rf(Dir.glob("#{TMP_PATH}/*"))
|
123
123
|
FileUtils.mkdir_p(TMP_PATH)
|
124
124
|
end
|
125
125
|
|
@@ -161,7 +161,7 @@ module YMDP
|
|
161
161
|
if options[:verbose]
|
162
162
|
$stdout.puts log("Moving images into #{servers_path}/#{domain}/assets/images...")
|
163
163
|
end
|
164
|
-
FileUtils.rm_rf("#{servers_path}/#{domain}/assets/images")
|
164
|
+
FileUtils.rm_rf(Dir.glob("#{servers_path}/#{domain}/assets/images/*"))
|
165
165
|
FileUtils.mkdir_p("#{servers_path}/#{domain}/assets")
|
166
166
|
FileUtils.cp_r("#{images_path}/", "#{servers_path}/#{domain}/assets")
|
167
167
|
end
|
@@ -188,6 +188,10 @@ module YMDP
|
|
188
188
|
"#{base_path}/app"
|
189
189
|
end
|
190
190
|
|
191
|
+
def servers_path
|
192
|
+
"#{base_path}/servers"
|
193
|
+
end
|
194
|
+
|
191
195
|
def assets_path
|
192
196
|
"#{app_path}/assets"
|
193
197
|
end
|
@@ -199,10 +203,6 @@ module YMDP
|
|
199
203
|
def images_path
|
200
204
|
"#{assets_path}/images"
|
201
205
|
end
|
202
|
-
|
203
|
-
def servers_path
|
204
|
-
"#{app_path}/servers"
|
205
|
-
end
|
206
206
|
end
|
207
207
|
end
|
208
208
|
end
|
@@ -57,6 +57,11 @@ module YMDP
|
|
57
57
|
# overwrite default settings.
|
58
58
|
attr_accessor :paths
|
59
59
|
|
60
|
+
# Configuration options for JSLint JavaScript validator. Should be maintained in
|
61
|
+
# <tt>jslint_settings.yml</tt>.
|
62
|
+
#
|
63
|
+
attr_accessor :jslint_settings
|
64
|
+
|
60
65
|
def initialize #:nodoc:
|
61
66
|
@paths = {}
|
62
67
|
@content_variables = {}
|
@@ -103,6 +108,10 @@ module YMDP
|
|
103
108
|
@config.get(base, *args)
|
104
109
|
end
|
105
110
|
|
111
|
+
def any?
|
112
|
+
options.any?
|
113
|
+
end
|
114
|
+
|
106
115
|
def each
|
107
116
|
options.each do |name, values|
|
108
117
|
yield name, values
|
@@ -1,7 +1,9 @@
|
|
1
1
|
CONFIG = YMDP::Configuration::Config.new unless defined?(CONFIG)
|
2
2
|
SERVERS = YMDP::Configuration::Servers.new unless defined?(SERVERS)
|
3
3
|
|
4
|
-
@content_variables = YAML.load_file("#{
|
4
|
+
@content_variables = YAML.load_file("#{BASE_PATH}/config/content.yml")
|
5
|
+
|
6
|
+
@jslint_settings = File.read("#{BASE_PATH}/config/jslint_settings.js") if File.exists?("#{BASE_PATH}/config/jslint.js")
|
5
7
|
|
6
8
|
YMDP::Base.configure do |config|
|
7
9
|
config.username = CONFIG["username"]
|
@@ -17,3 +19,7 @@ YMDP::Base.configure do |config|
|
|
17
19
|
|
18
20
|
config.content_variables = @content_variables
|
19
21
|
end
|
22
|
+
|
23
|
+
YMDP::Validator::JavaScript.configure do |config|
|
24
|
+
config.jslint_settings = @jslint_settings
|
25
|
+
end
|
@@ -11,7 +11,6 @@ module YMDP
|
|
11
11
|
class HTML < Base
|
12
12
|
def self.validate(path)
|
13
13
|
html_display_path = display_path(path)
|
14
|
-
log_path = "#{TMP_PATH}/#{File.basename(path)}_errors.html"
|
15
14
|
|
16
15
|
log_path = validation_errors(path)
|
17
16
|
if log_path
|
@@ -59,10 +58,7 @@ module YMDP
|
|
59
58
|
end
|
60
59
|
|
61
60
|
def self.jslint_settings
|
62
|
-
|
63
|
-
/*jslint bitwise: true, browser: true, evil: true, eqeqeq: true, immed: true, newcap: true, onevar: false, plusplus: true, regexp: true, undef: true, sub: true */
|
64
|
-
/*global YAHOO, openmail, OpenMailIntl, _gat, unescape, $, $$, $A, $H, $R, $w, $div, Event, Effect, Behavior, Try, PeriodicalExecuter, Element, identify, Sortable, window, I18n, Identity, Logger, OIB, Tags, ABTesting, Flash, Debug */
|
65
|
-
JSLINT
|
61
|
+
YMDP::Base.jslint_settings
|
66
62
|
end
|
67
63
|
|
68
64
|
def self.jslint_settings_count
|
data/lib/ymdp/tasks/ymdp.rake
CHANGED
@@ -162,20 +162,20 @@ end
|
|
162
162
|
desc "Deploys application to YMDP servers"
|
163
163
|
task :deploy do
|
164
164
|
time("Deployed #{@application}: #{@path}") do
|
165
|
-
deploy(@application, @path)
|
165
|
+
deploy(@application, @path, :sync => @sync)
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
169
169
|
desc "Deploys application to YMDP servers, matching a path"
|
170
170
|
task :deploy_path do
|
171
171
|
time("Deployed #{@application}: #{@path}") do
|
172
|
-
deploy_path(@application, @path)
|
172
|
+
deploy_path(@application, @path, :sync => @sync)
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
176
176
|
task :deploy_yrb do
|
177
177
|
time("Deployed #{@application}: #{@path}") do
|
178
|
-
deploy_yrb(@application, @path, {:lang => @lang, :view => @view})
|
178
|
+
deploy_yrb(@application, @path, {:lang => @lang, :view => @view, :sync => @sync})
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
@@ -501,19 +501,21 @@ def validated_embedded_js(path)
|
|
501
501
|
system "rm #{js_fragment_path}"
|
502
502
|
end
|
503
503
|
|
504
|
-
def deploy(application, path)
|
504
|
+
def deploy(application, path, options={})
|
505
505
|
puts "\nDeploying #{application}: #{path}"
|
506
|
+
sync = options[:sync]
|
506
507
|
|
507
508
|
Rake::Task["validate:html"].invoke if CONFIG.validate_html?
|
508
509
|
Rake::Task["validate:embedded_js"].invoke if CONFIG.validate_embedded_js?
|
509
510
|
Rake::Task["validate:#{application}:javascripts"].invoke if CONFIG.validate_js_assets?
|
510
511
|
Rake::Task["validate:#{application}:json"].invoke if CONFIG.validate_json_assets?
|
511
512
|
|
512
|
-
ymdt.put(:application => application, :path => path)
|
513
|
+
ymdt.put(:application => application, :path => path, :sync => sync)
|
513
514
|
end
|
514
515
|
|
515
|
-
def deploy_path(application, path)
|
516
|
+
def deploy_path(application, path, options={})
|
516
517
|
puts "\nDeploying #{application}: #{path}"
|
518
|
+
sync = options[:sync]
|
517
519
|
|
518
520
|
Rake::Task["validate:html"].invoke if CONFIG.validate_html?
|
519
521
|
Rake::Task["validate:embedded_js"].invoke if CONFIG.validate_embedded_js?
|
@@ -535,7 +537,7 @@ def deploy_path(application, path)
|
|
535
537
|
|
536
538
|
if file =~ Regexp.new(path)
|
537
539
|
puts file
|
538
|
-
ymdt.put(:application => application, :path => new_path)
|
540
|
+
ymdt.put(:application => application, :path => new_path, :sync => sync)
|
539
541
|
end
|
540
542
|
end
|
541
543
|
end
|
@@ -544,12 +546,13 @@ end
|
|
544
546
|
def deploy_yrb(application, path, options={})
|
545
547
|
lang = options[:lang]
|
546
548
|
view = options[:view]
|
549
|
+
sync = options[:sync]
|
547
550
|
|
548
551
|
if lang
|
549
552
|
new_path = "#{path}/keys_#{lang}.json"
|
550
|
-
deploy_path(application, new_path)
|
553
|
+
deploy_path(application, new_path, sync)
|
551
554
|
else
|
552
|
-
deploy_path(application, path)
|
555
|
+
deploy_path(application, path, sync)
|
553
556
|
end
|
554
557
|
end
|
555
558
|
|
data/lib/ymdp/translator/base.rb
CHANGED
data/spec/compiler_spec.rb
CHANGED
@@ -3,7 +3,7 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
|
3
3
|
require 'compiler/base'
|
4
4
|
require 'compiler/template'
|
5
5
|
|
6
|
-
YMDP_ENV = "build"
|
6
|
+
YMDP_ENV = "build" unless defined?(YMDP_ENV)
|
7
7
|
|
8
8
|
describe "Compiler" do
|
9
9
|
before(:each) do
|
@@ -61,17 +61,17 @@ describe "Compiler" do
|
|
61
61
|
|
62
62
|
describe "copy_images" do
|
63
63
|
it "should remove images folder" do
|
64
|
-
FileUtils.should_receive(:rm_rf).with("./
|
64
|
+
FileUtils.should_receive(:rm_rf).with(Dir.glob("./servers/#{@domain}/assets/images/*"))
|
65
65
|
@compiler.process_all
|
66
66
|
end
|
67
67
|
|
68
68
|
it "should create images folder" do
|
69
|
-
FileUtils.should_receive(:mkdir_p).with("./
|
69
|
+
FileUtils.should_receive(:mkdir_p).with("./servers/#{@domain}/assets")
|
70
70
|
@compiler.process_all
|
71
71
|
end
|
72
72
|
|
73
73
|
it "should copy images from app to server" do
|
74
|
-
FileUtils.should_receive(:cp_r).with("./app/assets/images/", "./
|
74
|
+
FileUtils.should_receive(:cp_r).with("./app/assets/images/", "./servers/#{@domain}/assets")
|
75
75
|
@compiler.process_all
|
76
76
|
end
|
77
77
|
|
data/spec/validator_spec.rb
CHANGED
@@ -72,6 +72,25 @@ describe "Validator" do
|
|
72
72
|
end
|
73
73
|
|
74
74
|
describe "JavaScript" do
|
75
|
+
describe "jslint" do
|
76
|
+
before(:each) do
|
77
|
+
@jslint_settings = "/* These are JSLint settings %/"
|
78
|
+
F.stub!(:execute).with(/java/, :return => true).and_return("jslint: No problems found")
|
79
|
+
end
|
80
|
+
|
81
|
+
it "should set jslint settings" do
|
82
|
+
YMDP::Validator::JavaScript.configure do |config|
|
83
|
+
config.jslint_settings = @jslint_settings
|
84
|
+
end
|
85
|
+
YMDP::Validator::JavaScript.jslint_settings.should == @jslint_settings
|
86
|
+
end
|
87
|
+
|
88
|
+
it "should put jslint settings in the file" do
|
89
|
+
@file.should_receive(:puts).with(@jslint_settings)
|
90
|
+
YMDP::Validator::JavaScript.validate("path")
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
75
94
|
describe "valid" do
|
76
95
|
before(:each) do
|
77
96
|
F.stub!(:execute).with(/java/, :return => true).and_return("jslint: No problems found")
|
data/spec/ymdp_base_spec.rb
CHANGED
@@ -106,7 +106,7 @@ describe YMDP::Base do
|
|
106
106
|
YMDP::Base.configure do |config|
|
107
107
|
config.add_content_variable(:funky, "Real funky")
|
108
108
|
end
|
109
|
-
@ymdp.
|
109
|
+
@ymdp.content_variables.should == {:funky => "Real funky"}
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
@@ -122,7 +122,7 @@ describe YMDP::Base do
|
|
122
122
|
YMDP::Base.configure do |config|
|
123
123
|
config.load_content_variables "content"
|
124
124
|
end
|
125
|
-
@ymdp.version.should == "1.1"
|
125
|
+
@ymdp.content_variables["version"].should == "1.1"
|
126
126
|
end
|
127
127
|
end
|
128
128
|
|
@@ -137,11 +137,11 @@ describe YMDP::Base do
|
|
137
137
|
end
|
138
138
|
|
139
139
|
it "should set sprint name in content variables" do
|
140
|
-
@ymdp.version
|
140
|
+
@ymdp.content_variables["version"] == "1.2"
|
141
141
|
end
|
142
142
|
|
143
143
|
it "should set sprint name in content variables" do
|
144
|
-
@ymdp.sprint_name.should == "Gorgonzola"
|
144
|
+
@ymdp.content_variables["sprint_name"].should == "Gorgonzola"
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
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.1.
|
8
|
+
s.version = "0.1.8"
|
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-01-
|
12
|
+
s.date = %q{2010-01-21}
|
13
13
|
s.default_executable = %q{ymdp}
|
14
14
|
s.description = %q{Framework for developing applications in the Yahoo! Mail Development Platform.}
|
15
15
|
s.email = %q{progressions@gmail.com}
|
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
23
|
".gitignore",
|
24
|
+
"Gemfile",
|
24
25
|
"History.txt",
|
25
26
|
"LICENSE",
|
26
27
|
"README.rdoc",
|
@@ -168,19 +169,22 @@ Gem::Specification.new do |s|
|
|
168
169
|
s.specification_version = 3
|
169
170
|
|
170
171
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
171
|
-
s.add_development_dependency(%q<
|
172
|
-
s.
|
173
|
-
s.
|
174
|
-
s.
|
175
|
-
s.
|
176
|
-
s.
|
177
|
-
s.
|
178
|
-
s.
|
179
|
-
s.
|
180
|
-
s.
|
181
|
-
s.
|
182
|
-
s.
|
172
|
+
s.add_development_dependency(%q<rspec>, [">= 1.2.6"])
|
173
|
+
s.add_runtime_dependency(%q<haml>, [">= 0"])
|
174
|
+
s.add_runtime_dependency(%q<json>, [">= 0"])
|
175
|
+
s.add_runtime_dependency(%q<hpricot>, [">= 0"])
|
176
|
+
s.add_runtime_dependency(%q<ruby-growl>, [">= 0"])
|
177
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
178
|
+
s.add_runtime_dependency(%q<sishen-rtranslate>, [">= 0"])
|
179
|
+
s.add_runtime_dependency(%q<progressions-basepath>, [">= 0"])
|
180
|
+
s.add_runtime_dependency(%q<progressions-g>, [">= 0"])
|
181
|
+
s.add_runtime_dependency(%q<bundler>, [">= 0"])
|
182
|
+
s.add_runtime_dependency(%q<timer>, [">= 0"])
|
183
|
+
s.add_runtime_dependency(%q<serenity>, [">= 0"])
|
184
|
+
s.add_runtime_dependency(%q<ymdp_generator>, [">= 0"])
|
185
|
+
s.add_runtime_dependency(%q<ymdt>, [">= 0"])
|
183
186
|
else
|
187
|
+
s.add_dependency(%q<rspec>, [">= 1.2.6"])
|
184
188
|
s.add_dependency(%q<haml>, [">= 0"])
|
185
189
|
s.add_dependency(%q<json>, [">= 0"])
|
186
190
|
s.add_dependency(%q<hpricot>, [">= 0"])
|
@@ -193,8 +197,10 @@ Gem::Specification.new do |s|
|
|
193
197
|
s.add_dependency(%q<timer>, [">= 0"])
|
194
198
|
s.add_dependency(%q<serenity>, [">= 0"])
|
195
199
|
s.add_dependency(%q<ymdp_generator>, [">= 0"])
|
200
|
+
s.add_dependency(%q<ymdt>, [">= 0"])
|
196
201
|
end
|
197
202
|
else
|
203
|
+
s.add_dependency(%q<rspec>, [">= 1.2.6"])
|
198
204
|
s.add_dependency(%q<haml>, [">= 0"])
|
199
205
|
s.add_dependency(%q<json>, [">= 0"])
|
200
206
|
s.add_dependency(%q<hpricot>, [">= 0"])
|
@@ -207,6 +213,7 @@ Gem::Specification.new do |s|
|
|
207
213
|
s.add_dependency(%q<timer>, [">= 0"])
|
208
214
|
s.add_dependency(%q<serenity>, [">= 0"])
|
209
215
|
s.add_dependency(%q<ymdp_generator>, [">= 0"])
|
216
|
+
s.add_dependency(%q<ymdt>, [">= 0"])
|
210
217
|
end
|
211
218
|
end
|
212
219
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ymdp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Coleman
|
@@ -9,13 +9,23 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-21 00:00:00 -06:00
|
13
13
|
default_executable: ymdp
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
16
|
+
name: rspec
|
17
17
|
type: :development
|
18
18
|
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.2.6
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: haml
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
19
29
|
version_requirements: !ruby/object:Gem::Requirement
|
20
30
|
requirements:
|
21
31
|
- - ">="
|
@@ -24,7 +34,7 @@ dependencies:
|
|
24
34
|
version:
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: json
|
27
|
-
type: :
|
37
|
+
type: :runtime
|
28
38
|
version_requirement:
|
29
39
|
version_requirements: !ruby/object:Gem::Requirement
|
30
40
|
requirements:
|
@@ -34,7 +44,7 @@ dependencies:
|
|
34
44
|
version:
|
35
45
|
- !ruby/object:Gem::Dependency
|
36
46
|
name: hpricot
|
37
|
-
type: :
|
47
|
+
type: :runtime
|
38
48
|
version_requirement:
|
39
49
|
version_requirements: !ruby/object:Gem::Requirement
|
40
50
|
requirements:
|
@@ -44,7 +54,7 @@ dependencies:
|
|
44
54
|
version:
|
45
55
|
- !ruby/object:Gem::Dependency
|
46
56
|
name: ruby-growl
|
47
|
-
type: :
|
57
|
+
type: :runtime
|
48
58
|
version_requirement:
|
49
59
|
version_requirements: !ruby/object:Gem::Requirement
|
50
60
|
requirements:
|
@@ -54,7 +64,7 @@ dependencies:
|
|
54
64
|
version:
|
55
65
|
- !ruby/object:Gem::Dependency
|
56
66
|
name: activesupport
|
57
|
-
type: :
|
67
|
+
type: :runtime
|
58
68
|
version_requirement:
|
59
69
|
version_requirements: !ruby/object:Gem::Requirement
|
60
70
|
requirements:
|
@@ -64,7 +74,7 @@ dependencies:
|
|
64
74
|
version:
|
65
75
|
- !ruby/object:Gem::Dependency
|
66
76
|
name: sishen-rtranslate
|
67
|
-
type: :
|
77
|
+
type: :runtime
|
68
78
|
version_requirement:
|
69
79
|
version_requirements: !ruby/object:Gem::Requirement
|
70
80
|
requirements:
|
@@ -74,7 +84,7 @@ dependencies:
|
|
74
84
|
version:
|
75
85
|
- !ruby/object:Gem::Dependency
|
76
86
|
name: progressions-basepath
|
77
|
-
type: :
|
87
|
+
type: :runtime
|
78
88
|
version_requirement:
|
79
89
|
version_requirements: !ruby/object:Gem::Requirement
|
80
90
|
requirements:
|
@@ -84,7 +94,7 @@ dependencies:
|
|
84
94
|
version:
|
85
95
|
- !ruby/object:Gem::Dependency
|
86
96
|
name: progressions-g
|
87
|
-
type: :
|
97
|
+
type: :runtime
|
88
98
|
version_requirement:
|
89
99
|
version_requirements: !ruby/object:Gem::Requirement
|
90
100
|
requirements:
|
@@ -94,7 +104,7 @@ dependencies:
|
|
94
104
|
version:
|
95
105
|
- !ruby/object:Gem::Dependency
|
96
106
|
name: bundler
|
97
|
-
type: :
|
107
|
+
type: :runtime
|
98
108
|
version_requirement:
|
99
109
|
version_requirements: !ruby/object:Gem::Requirement
|
100
110
|
requirements:
|
@@ -104,7 +114,7 @@ dependencies:
|
|
104
114
|
version:
|
105
115
|
- !ruby/object:Gem::Dependency
|
106
116
|
name: timer
|
107
|
-
type: :
|
117
|
+
type: :runtime
|
108
118
|
version_requirement:
|
109
119
|
version_requirements: !ruby/object:Gem::Requirement
|
110
120
|
requirements:
|
@@ -114,7 +124,7 @@ dependencies:
|
|
114
124
|
version:
|
115
125
|
- !ruby/object:Gem::Dependency
|
116
126
|
name: serenity
|
117
|
-
type: :
|
127
|
+
type: :runtime
|
118
128
|
version_requirement:
|
119
129
|
version_requirements: !ruby/object:Gem::Requirement
|
120
130
|
requirements:
|
@@ -124,7 +134,17 @@ dependencies:
|
|
124
134
|
version:
|
125
135
|
- !ruby/object:Gem::Dependency
|
126
136
|
name: ymdp_generator
|
127
|
-
type: :
|
137
|
+
type: :runtime
|
138
|
+
version_requirement:
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: "0"
|
144
|
+
version:
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: ymdt
|
147
|
+
type: :runtime
|
128
148
|
version_requirement:
|
129
149
|
version_requirements: !ruby/object:Gem::Requirement
|
130
150
|
requirements:
|
@@ -144,6 +164,7 @@ extra_rdoc_files:
|
|
144
164
|
files:
|
145
165
|
- .document
|
146
166
|
- .gitignore
|
167
|
+
- Gemfile
|
147
168
|
- History.txt
|
148
169
|
- LICENSE
|
149
170
|
- README.rdoc
|