difio-heroku-ruby 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -3
- data/lib/difio-heroku-ruby.rb +1 -1
- data/lib/difio-heroku-ruby/version.rb +1 -1
- metadata +1 -1
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
|
34
|
-
Running `/app
|
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
|
54
|
+
heroku run /app/bin/difio-heroku
|
51
55
|
|
data/lib/difio-heroku-ruby.rb
CHANGED
@@ -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' =>
|
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
|