lookout-jruby 1.2.4 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDg4ZjZmMDRiMjIyMTM2MjJiNWY1YmRhNjQ3ZjU0ZGNmMzE5MjMyMA==
5
- data.tar.gz: !binary |-
6
- ZGEzMzdiMGQ0NzU5YTVhNTAzNjNkYTA3ZWVjYzljNzQ4Yzg5MDY0ZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- Mzk3OWJjYzFjYzAxYmE5ZmRjOGFkZWY3MGYwOTFjOGZhZTY2OGZkODJiNjQ0
10
- Mjc3NGQ5YmZhYWQ2ZjljMDMwOTIxYmZjMjc0NTQ3Nzk0MTRiOWNkYjM2NTAy
11
- MTE4YzVkZmZmMzNjNzdkN2U4NDI0YmQxYzI3MTY1MTBjMDU2MjI=
12
- data.tar.gz: !binary |-
13
- NTlhZGMxNzE5MGQxYWNhMDExODU0MGZiMmRkMGMyYmE3NDM2NzJjNTNhYjFh
14
- NzdlMzQyNTQ3YzdiYzM1M2U0OTYwYWQyYTVhOWIwZWU5YTk0YjhjNDM4OGRl
15
- NDA4Njk3YzhlZjE1NThhM2ZlMmUyNTZlMzM1ZDUzYjBmNTMyNWQ=
2
+ SHA1:
3
+ metadata.gz: 6c9b80a928e20a97c7f0e93e37592f512d2ac0fc
4
+ data.tar.gz: 48eddb3316f14460d788de6a97f2de94d2e134f0
5
+ SHA512:
6
+ metadata.gz: 35b8473921c5ebe23a59a9c0dcb046c71d8331eeadf3e19b5cc1fae9280237117719c78dd0fb1b1c6c67cfc1271c17f5b77cbf7775554fe0d1a026fc1b6a4f64
7
+ data.tar.gz: 95251c783e539c2fb1d5176ae6666ed7cf5ed454111685533268addbddcd9a2e6d03452ca1928e48209dfc4c933c8881558461abfd7e6ee00e07b015cd9160d5
data/README.md CHANGED
@@ -4,6 +4,9 @@ JRuby hacks/compatibility code for JRUBY-6970
4
4
  (https://jira.codehaus.org/browse/JRUBY-6970, fix taken from the Logstash
5
5
  project) and for YAML/Configatron
6
6
 
7
+ Note: with JRuby 1.7+, openssl is baked in, and so this gem does not depend on
8
+ jruby-openssl. However, if you're using an older JRuby, you will need to have
9
+ jruby-openssl in your gemfile.
7
10
 
8
11
  ## Installation
9
12
 
@@ -1,5 +1,5 @@
1
1
  module Lookout
2
2
  module Jruby
3
- VERSION = "1.2.4"
3
+ VERSION = "1.3.0"
4
4
  end
5
5
  end
data/lib/lookout/jruby.rb CHANGED
@@ -5,7 +5,13 @@ module Lookout
5
5
  if RUBY_PLATFORM == 'java'
6
6
  require 'java'
7
7
 
8
- require 'jruby-openssl'
8
+ # If we can require jruby-openssl - because it's available in the bundle -
9
+ # do so. If not, JRuby should have openssl baked in, as of 1.7.
10
+ begin
11
+ require 'jruby-openssl'
12
+ rescue LoadError => e
13
+ require 'openssl'
14
+ end
9
15
 
10
16
  # JRuby cert/path hack
11
17
  require 'lookout/jruby/jruby-6970'
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lookout-jruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Smith
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.5'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '1.5'
25
+ prerelease: false
26
+ type: :development
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
29
+ version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
37
35
  requirements:
38
- - - ! '>='
36
+ - - '>='
39
37
  - !ruby/object:Gem::Version
40
38
  version: '0'
39
+ prerelease: false
40
+ type: :development
41
41
  description: ''
42
42
  email:
43
43
  - ian.smith@lookout.com
@@ -60,25 +60,24 @@ homepage: ''
60
60
  licenses:
61
61
  - MIT
62
62
  metadata: {}
63
- post_install_message:
63
+ post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
66
66
  - lib
67
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ! '>='
69
+ - - '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ! '>='
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubyforge_project:
79
- rubygems_version: 2.0.5
80
- signing_key:
78
+ rubyforge_project:
79
+ rubygems_version: 2.2.2
80
+ signing_key:
81
81
  specification_version: 4
82
82
  summary: JRuby hacks
83
83
  test_files: []
84
- has_rdoc: