appygram 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,6 @@ module Appygram
10
10
  'protocol_version' => Appygram::PROTOCOL_VERSION
11
11
  },
12
12
  'application_environment' => {
13
- 'environment' => environment,
14
- 'env' => extract_environment(ENV),
15
13
  'host' => get_hostname,
16
14
  'run_as_user' => get_username,
17
15
  'application_root_directory' => (application_root.to_s.respond_to?(:force_encoding) ? application_root.to_s.force_encoding("UTF-8") : application_root),
@@ -31,12 +29,6 @@ module Appygram
31
29
  Config.application_root
32
30
  end
33
31
 
34
- def self.extract_environment(env)
35
- env.reject do |k, v|
36
- (k =~ /^HTTP_/) || Appygram::ENVIRONMENT_FILTER.include?(k)
37
- end
38
- end
39
-
40
32
  def self.get_hostname
41
33
  require 'socket' unless defined?(Socket)
42
34
  Socket.gethostname
@@ -60,4 +52,4 @@ module Appygram
60
52
  {}
61
53
  end
62
54
  end
63
- end
55
+ end
@@ -1,3 +1,3 @@
1
1
  module Appygram
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appygram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &70352055862840 !ruby/object:Gem::Requirement
16
+ requirement: &70327238274080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70352055862840
24
+ version_requirements: *70327238274080
25
25
  description: Appygram is the Ruby gem for communicating with http://appygram.com (hosted
26
26
  messaging service). It supports an exception reporting mechanism similar to http://exceptional.io,
27
27
  and this Ruby gem, forked from the Exceptional gem, emulates Exceptional functionality.