ymdp 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.15
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
- time("", :title => "YMDP") do
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
@@ -1,4 +1,4 @@
1
1
  YMDP_ENV="deploy"
2
2
  require "lib/init"
3
3
 
4
- load 'tasks/ymdp.rake'
4
+ load 'application_view/tasks/ymdp.rake'
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.15"
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-10}
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.15
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-10 00:00:00 -06:00
12
+ date: 2010-01-11 00:00:00 -06:00
13
13
  default_executable: ymdp
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency