heroku_deployment 0.0.7 → 0.0.8

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.7
1
+ 0.0.8
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{heroku_deployment}
8
+ s.version = "0.0.6"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Mooktakim Ahmed"]
12
+ s.date = %q{2011-01-27}
13
+ s.description = %q{Tools to automate deployment to Heroku. Heroku is already automatic, but if you like to compile all your SASS and compress all your CSS&JS files before committing to Heroku, this tool is great for that}
14
+ s.email = %q{Mooktakim@fluxter.co.uk}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE.txt",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".rspec",
22
+ "Gemfile",
23
+ "Gemfile.lock",
24
+ "LICENSE.txt",
25
+ "README.rdoc",
26
+ "Rakefile",
27
+ "VERSION",
28
+ "deploy_test",
29
+ "lib/heroku_deployment.rb",
30
+ "lib/heroku_deployment/config.rb",
31
+ "lib/heroku_deployment/git.rb",
32
+ "lib/heroku_deployment/hoptoad.rb",
33
+ "lib/heroku_deployment/packer.rb",
34
+ "spec/heroku_deployment_spec.rb",
35
+ "spec/spec_helper.rb"
36
+ ]
37
+ s.homepage = %q{http://github.com/mooktakim/heroku_deployment}
38
+ s.licenses = ["MIT"]
39
+ s.require_paths = ["lib"]
40
+ s.rubygems_version = %q{1.3.7}
41
+ s.summary = %q{Tools to automate deployment to Heroku}
42
+ s.test_files = [
43
+ "spec/heroku_deployment_spec.rb",
44
+ "spec/spec_helper.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<rspec>, ["~> 2.1.0"])
53
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
55
+ s.add_development_dependency(%q<rcov>, [">= 0"])
56
+ s.add_runtime_dependency(%q<yui-compressor>, [">= 0"])
57
+ else
58
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
59
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
60
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
61
+ s.add_dependency(%q<rcov>, [">= 0"])
62
+ s.add_dependency(%q<yui-compressor>, [">= 0"])
63
+ end
64
+ else
65
+ s.add_dependency(%q<rspec>, ["~> 2.1.0"])
66
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
67
+ s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
68
+ s.add_dependency(%q<rcov>, [">= 0"])
69
+ s.add_dependency(%q<yui-compressor>, [">= 0"])
70
+ end
71
+ end
72
+
@@ -14,7 +14,14 @@ module HerokuDeployment
14
14
  system %(rm #{(js_files.collect{|j| "public/javascripts/#{j}"} + css_files.collect{|c| "public/stylesheets/#{c}"}).join(" ")} 2> /dev/null)
15
15
  HerokuDeployment::Config.commit_files << 'public/javascripts/'
16
16
  HerokuDeployment::Config.commit_files << 'public/stylesheets/'
17
- !!system(%(RAILS_ENV=production ./script/rails runner "Rails.application.config.action_controller.perform_caching = false ; Rails.cache.clear; require 'rails/console/app' ; app.get '#{HerokuDeployment::Config.generate_url}'"))
17
+ res = !!system(%(RAILS_ENV=production ./script/rails runner "Rails.application.config.action_controller.perform_caching = false; require 'rails/console/app' ; app.get '#{HerokuDeployment::Config.generate_url}'"))
18
+ HerokuDeployment::Config.commit_files.each do |f|
19
+ unless File.exist?(f)
20
+ puts "File '#{f}' did not get created! Deploy failed"
21
+ return false
22
+ end
23
+ end
24
+ res
18
25
  end
19
26
 
20
27
  def db_migrate
@@ -48,4 +55,4 @@ module HerokuDeployment
48
55
  end
49
56
 
50
57
  end
51
- end
58
+ end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: heroku_deployment
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.7
5
+ version: 0.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mooktakim Ahmed
@@ -87,6 +87,7 @@ files:
87
87
  - Rakefile
88
88
  - VERSION
89
89
  - deploy_test
90
+ - heroku_deployment.gemspec
90
91
  - lib/heroku_deployment.rb
91
92
  - lib/heroku_deployment/config.rb
92
93
  - lib/heroku_deployment/git.rb
@@ -108,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
109
  requirements:
109
110
  - - ">="
110
111
  - !ruby/object:Gem::Version
111
- hash: 3214702586424188424
112
+ hash: -365256954535373735
112
113
  segments:
113
114
  - 0
114
115
  version: "0"