hockeybrake 0.0.7 → 0.0.8

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: ded2046d14f135a1f014dd9f4c8813672eac1b23
4
- data.tar.gz: 14dc7d0f5e709350c729c7656126846898ba64fe
3
+ metadata.gz: dbb166e6e609ee010e4fb9be6b79b95f4d2e8e35
4
+ data.tar.gz: 957c520f6ae43faba857230cf4399987e74b10eb
5
5
  SHA512:
6
- metadata.gz: 6f2cbca1727555ca304e8aadfa1e350c5d655360e319ec80f4369ccdde8efd4ebc1a13d081c7d77a5d3b6aa6f9f8a0f4e62116b64f6cb15be71e9f2349eeb58a
7
- data.tar.gz: 30d81fc37159e148fe8bb74fe3f354b4497d6866923c8bedb6db70ae897fa105e4edb47fa02113d5c7d5a5b8f6c6216909c5729cee3c0da2b3bfc20ad00c6b75
6
+ metadata.gz: a8aac5a253f9a9a8d49668de679f855d47c9d7de6d25b15137b01915098e1e14c2007658d80a2e2372ffa6815e71f1e68f6a072760a65c32e39f2327f3ad231b
7
+ data.tar.gz: 7555d46957a5096cc56b61562c081716ece49d4cb95406f4839179ac9644e8d7f8b9cae03111c533d74b983877a60bd9a551001df11e8cb997bf861d524e76c6
Binary file
@@ -47,10 +47,16 @@ module HockeyBrake
47
47
  output += "Version: #{HockeyBrake.configuration.app_version}\n"
48
48
  output += "Date: #{dtstr}\n"
49
49
 
50
+ # try to get the hostname
51
+ hostname = ""
52
+ begin
53
+ hostname = `hostname`.strip
54
+ rescue
55
+ end
50
56
  # add the optional values if possible
51
57
  begin
52
58
  output += "Android: #{RUBY_PLATFORM}\n"
53
- output += "Model: Ruby #{RUBY_VERSION} Rails #{Rails.version}\n"
59
+ output += "Model: #{hostname} Ruby #{RUBY_VERSION} Rails #{Rails.version}\n"
54
60
  rescue
55
61
  # nothing to do
56
62
  end
@@ -1,4 +1,4 @@
1
1
  module HockeyBrake
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hockeybrake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dirk Eisenberg
@@ -74,6 +74,7 @@ files:
74
74
  - gemfiles/airbrake-3.1.5
75
75
  - gemfiles/airbrake-3.1.6
76
76
  - hockeybrake-0.0.6.gem
77
+ - hockeybrake-0.0.7.gem
77
78
  - hockeybrake.gemspec
78
79
  - lib/generators/hockeybrake/hockeybrake_generator.rb
79
80
  - lib/generators/hockeybrake/templates/initializer.rb