trackman 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trackman (0.1.9)
4
+ trackman (0.2.0)
5
5
  heroku (>= 2.26.2)
6
6
  json
7
7
  nokogiri
@@ -14,22 +14,22 @@ GEM
14
14
  addressable (2.2.8)
15
15
  blockenspiel (0.4.5)
16
16
  diff-lcs (1.1.3)
17
- excon (0.14.1)
18
- heroku (2.28.2)
19
- heroku-api (~> 0.2.6)
17
+ excon (0.15.4)
18
+ heroku (2.28.15)
19
+ heroku-api (~> 0.2.12)
20
20
  launchy (>= 0.3.2)
21
- netrc (~> 0.7.4)
21
+ netrc (~> 0.7.5)
22
22
  rest-client (~> 1.6.1)
23
23
  rubyzip
24
- heroku-api (0.2.6)
25
- excon (~> 0.14.0)
24
+ heroku-api (0.2.12)
25
+ excon (~> 0.15.3)
26
26
  hike (1.2.1)
27
27
  json (1.7.3)
28
28
  launchy (2.1.0)
29
29
  addressable (~> 2.2.6)
30
30
  mime-types (1.19)
31
31
  multi_json (1.3.6)
32
- netrc (0.7.4)
32
+ netrc (0.7.5)
33
33
  nokogiri (1.5.5)
34
34
  rack (1.4.1)
35
35
  rest-client (1.6.7)
data/README.md CHANGED
@@ -39,12 +39,12 @@ rake trackman:setup
39
39
  This sets your initial heroku configurations and ensures that when your app is down or in maintenance your pages will be requested by heroku.
40
40
  If you have maintenance or error pages setup for heroku, we will back them up in a configuration before we override them.
41
41
 
42
- ### Optional
42
+ ### Optional - If for any reason you wish to troubleshoot the sync operation:
43
+
43
44
  ```console
44
- rake trackman:sync
45
+ heroku run rake trackman:sync
45
46
  ```
46
- Performs a manual sync of your error/maintenance pages and their related assets.
47
- This normally gets executed everytime you deploy to heroku.
47
+ Calling this command manually will throw exceptions instead of silently failing like the normal sync would.
48
48
 
49
49
  ### For best results, make sure you have those installed:
50
50
  * Heroku >= 2.26.2
@@ -1,3 +1,3 @@
1
1
  module Trackman
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -8,10 +8,10 @@ namespace :trackman do
8
8
  Trackman::Assets::Asset.sync
9
9
  end
10
10
 
11
- desc "Sets up the heroku configs required by Trackman"
11
+ desc "Sets up the heroku configs required by Trackman"
12
12
  task :setup do
13
- configs = ConfigurationHandler.s_to_h(`heroku config -s`)
14
- heroku_version = `heroku -v`[/[\d]*\.[\d]*.[\d]*/]
15
- ConfigurationHandler.new(configs, heroku_version).setup
16
- end
13
+ configs = Trackman::ConfigurationHandler.s_to_h(`heroku config -s`)
14
+ heroku_version = Gem.loaded_specs["heroku"].version
15
+ Trackman::ConfigurationHandler.new(configs, heroku_version).setup
16
+ end
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trackman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-08 00:00:00.000000000 Z
13
+ date: 2012-07-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rest-client
@@ -504,7 +504,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
504
504
  version: '0'
505
505
  requirements: []
506
506
  rubyforge_project:
507
- rubygems_version: 1.8.22
507
+ rubygems_version: 1.8.24
508
508
  signing_key:
509
509
  specification_version: 3
510
510
  summary: Client version of the Trackman addon on Heroku