difio-heroku-ruby 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -22,6 +22,10 @@ Installing inside your Heroku application
22
22
  gem 'difio-heroku-ruby'
23
23
  ...
24
24
 
25
+ - Update your `Gemfile.lock` by running locally
26
+
27
+ bundle install
28
+
25
29
  - Then commit and push your application to Heroku
26
30
 
27
31
  git commit -a -m "added dependency on Difio"
@@ -30,8 +34,8 @@ Installing inside your Heroku application
30
34
 
31
35
  - Execute the registration script to submit the information to Difio
32
36
 
33
- heroku run /app/.heroku/....
34
- Running `/app/.heroku/....` attached to terminal... up, run.1
37
+ heroku run /app/bin/difio-heroku
38
+ Running `/app/bin/difio-heroku` attached to terminal... up, run.1
35
39
  Success, registered/updated application 8370e3be-6e54-462d-9ca9-224301c29a1d
36
40
 
37
41
 
@@ -47,5 +51,5 @@ upgrade/downgrade package versions you should re-submit the information to Difio
47
51
 
48
52
  ::
49
53
 
50
- heroku run /app/.heroku/.................
54
+ heroku run /app/bin/difio-heroku
51
55
 
@@ -5,7 +5,7 @@ module Difio
5
5
  configure({
6
6
  'user_id' => ENV['DIFIO_USER_ID'],
7
7
  'app_name' => ENV['DIFIO_APP_NAME'],
8
- 'app_uuid' => ENV['HOSTNAME'], # this looks like an UUID
8
+ 'app_uuid' => `hostname`.chomp, # this looks like an UUID
9
9
  'app_type' => 'ruby-' + RUBY_VERSION,
10
10
  'app_url' => ENV['DIFIO_APP_URL'],
11
11
  'app_vendor' => 2, # Heroku
@@ -1,5 +1,5 @@
1
1
  module Difio
2
2
  class Heroku
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: difio-heroku-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: