ymdp 0.0.15 → 0.0.16
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.16
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
include Grit
|
|
2
2
|
|
|
3
3
|
include ApplicationView::Config
|
|
4
|
-
include Timer
|
|
5
4
|
|
|
6
5
|
class GitHelper
|
|
7
6
|
def get_hash(branch)
|
|
@@ -250,7 +249,7 @@ class TemplateCompiler
|
|
|
250
249
|
attr_accessor :domain, :git_hash, :options
|
|
251
250
|
|
|
252
251
|
def self.compile
|
|
253
|
-
|
|
252
|
+
Timer.new(:title => "YMDP").time do
|
|
254
253
|
system "rm ./tmp/*"
|
|
255
254
|
|
|
256
255
|
options = parse_options
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
include Timer
|
|
2
1
|
include ApplicationView::Config
|
|
3
2
|
|
|
4
|
-
@start_time = Time.now
|
|
5
|
-
|
|
6
3
|
begin
|
|
7
4
|
CATEGORIES = YAML.load_file("./config/categories.yml")["categories"] unless defined?(CATEGORIES)
|
|
8
5
|
rescue
|
|
@@ -160,6 +157,10 @@ DOCS
|
|
|
160
157
|
puts docs
|
|
161
158
|
end
|
|
162
159
|
|
|
160
|
+
def time(message="")
|
|
161
|
+
Timer.new(:title => "YMDP").time(message) yield
|
|
162
|
+
end
|
|
163
|
+
|
|
163
164
|
desc "Deploys application to YMDP servers"
|
|
164
165
|
task :deploy do
|
|
165
166
|
time("Deployed #{@application}: #{@path}") do
|
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.0.
|
|
8
|
+
s.version = "0.0.16"
|
|
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-11}
|
|
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}
|
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.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Coleman
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-01-
|
|
12
|
+
date: 2010-01-11 00:00:00 -06:00
|
|
13
13
|
default_executable: ymdp
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|