wizarddev-heroku 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98d42486e642ab72a26ef05ce761504e608a1b5c
4
- data.tar.gz: ce7a6ef47f1f41478e708210dbb67a4e7077c4ce
3
+ metadata.gz: a5f674f0614372098e0372bbbd6bca3a9f223604
4
+ data.tar.gz: 3176f853dac6eebd61087fce42ea946357d1fc8e
5
5
  SHA512:
6
- metadata.gz: 4b2cd1dd48b0177c822a6d4a8d922ad8b84afec694bb53c3b891a427b7db62f5291f9778cd469e11457377aae20dd8bbe9be9d31cec9772373c8d37c9a0cd46b
7
- data.tar.gz: 92bffd015a204c4a2d24e85d5a1e36f498d68f73362ae55bde5dafe6da71926077eba4145d5e409d1c192311955431d4832a242343e45aac7c578e60d6873d16
6
+ metadata.gz: e9f3ff52761658651c5ba8e262b89382ab65cb4ad236398fbba4c585d14fbc332c6f245c5b948984b9f25ea90ff52b6ab1afb094c77cdec107d9993dfe6e96ef
7
+ data.tar.gz: b0a74c052666db7b3050d835fdc77090c178303b40d049df1cd29093ce10a29d45105ea848b5e428e6a0d821fef0edca31bbe335606bf7dae84d51f5899e9bfd
data/README.md CHANGED
@@ -19,7 +19,7 @@ Or install it yourself as:
19
19
  $ gem install wizarddev-heroku
20
20
 
21
21
  ## Usage
22
- From `rake wizarddev:deploy`
22
+ From `rake deploy`
23
23
 
24
24
  ```
25
25
  Deploys the currently checked out revision to Heroku.
@@ -32,8 +32,8 @@ Tasks include:
32
32
 
33
33
  Uses the ~/.netrc file for authentication per the Heroku toolbelt.
34
34
 
35
- usage: rake wizarddev:deploy TARGET=target_name
36
- usage: rake wizarddev:deploy:{staging|production}
35
+ usage: rake deploy TARGET=target_name
36
+ usage: rake deploy:{staging|production}
37
37
  ```
38
38
 
39
39
  ## Example app.json
@@ -71,7 +71,7 @@ This is very similar and compatible with Heroku's `app.json`.
71
71
 
72
72
  ## Contributing
73
73
 
74
- 1. Fork it ( https://github.com/[my-github-username]/wizarddev-heroku/fork )
74
+ 1. Fork it ( https://github.com/wizarddevelopment/wizarddev-heroku/fork )
75
75
  2. Create your feature branch (`git checkout -b my-new-feature`)
76
76
  3. Commit your changes (`git commit -am 'Add some feature'`)
77
77
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,44 +1,42 @@
1
- namespace :wizarddev do
2
- task :deploy do
3
- if ENV['TARGET']
4
- Wizarddev::Heroku.load
5
- Wizarddev::Heroku::Deploy.new(ENV['TARGET']).deploy!
6
- else
7
- Rake::Task["wizarddev:deploy:help"].invoke
8
- end
1
+ task :deploy do
2
+ if ENV['TARGET']
3
+ Wizarddev::Heroku.load
4
+ Wizarddev::Heroku::Deploy.new(ENV['TARGET']).deploy!
5
+ else
6
+ Rake::Task["deploy:help"].invoke
9
7
  end
8
+ end
10
9
 
11
- namespace :deploy do
12
- desc 'Deploy script usage information'
13
- task :help do
14
- puts 'Deploys the currently checked out revision to heroku.'
15
- puts 'Reads the project\'s app.json file to determine tasks for a target.'
16
- puts 'Tasks include:'
17
- puts "\t Tag the release and pushes it to github"
18
- puts "\t Deploy the release to Heroku"
19
- puts "\t Execute commands remotely eg 'rake db:migrate'"
20
- puts "\t Restart the app"
21
- puts "\nUses the ~/.netrc file for authentication per the heroku toolbelt."
22
- puts "\nusage: rake wizarddev:deploy TARGET=target_name"
23
- puts "usage: rake wizarddev:deploy:{staging|production}"
24
-
25
- Wizarddev::Heroku.load
26
- Wizarddev::Heroku::Deploy.check_auth_config
27
- exit 0
28
- end
10
+ namespace :deploy do
11
+ desc 'Deploy script usage information'
12
+ task :help do
13
+ puts 'Deploys the currently checked out revision to heroku.'
14
+ puts 'Reads the project\'s app.json file to determine tasks for a target.'
15
+ puts 'Tasks include:'
16
+ puts "\t Tag the release and pushes it to github"
17
+ puts "\t Deploy the release to Heroku"
18
+ puts "\t Execute commands remotely eg 'rake db:migrate'"
19
+ puts "\t Restart the app"
20
+ puts "\nUses the ~/.netrc file for authentication per the heroku toolbelt."
21
+ puts "\nusage: rake deploy TARGET=target_name"
22
+ puts "usage: rake deploy:{staging|production}"
29
23
 
30
- desc 'Deploy to Production'
31
- task :production do
32
- Wizarddev::Heroku.load
33
- Wizarddev::Heroku::Deploy.new(:production).deploy!
34
- end
24
+ Wizarddev::Heroku.load
25
+ Wizarddev::Heroku::Deploy.check_auth_config
26
+ exit 0
27
+ end
35
28
 
36
- desc 'Deploy to Staging'
37
- task :staging do
38
- Wizarddev::Heroku.load
39
- Wizarddev::Heroku::Deploy.new(:staging).deploy!
40
- end
29
+ desc 'Deploy to Production'
30
+ task :production do
31
+ Wizarddev::Heroku.load
32
+ Wizarddev::Heroku::Deploy.new(:production).deploy!
33
+ end
41
34
 
35
+ desc 'Deploy to Staging'
36
+ task :staging do
37
+ Wizarddev::Heroku.load
38
+ Wizarddev::Heroku::Deploy.new(:staging).deploy!
42
39
  end
40
+
43
41
  end
44
42
 
@@ -1,5 +1,5 @@
1
1
  module Wizarddev
2
2
  module Heroku
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['francis@wizarddevelopment.com']
11
11
  spec.summary = %q{Deploys rails apps to heroku}
12
12
  # spec.description = %q{TODO: Write a longer description. Optional.}
13
- spec.homepage = 'https://www.wizarddevelopment.com'
13
+ spec.homepage = 'https://github.com/wizarddevelopment/wizarddev-heroku'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wizarddev-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Gulotta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,7 +100,7 @@ files:
100
100
  - lib/wizarddev/heroku/tasks/deploy.rb
101
101
  - lib/wizarddev/heroku/version.rb
102
102
  - wizarddev-heroku.gemspec
103
- homepage: https://www.wizarddevelopment.com
103
+ homepage: https://github.com/wizarddevelopment/wizarddev-heroku
104
104
  licenses:
105
105
  - MIT
106
106
  metadata: {}