eep_client 0.0.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eep_client.rb +8 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4dd7bd071ad6554fb3329c6ba8484c9d4a0f243
4
- data.tar.gz: 85fda6f250d497527b8970a99f39e1605b25cb2c
3
+ metadata.gz: 0341a3de65c6a37de1f7b54fccced3fdbdee0288
4
+ data.tar.gz: 6d75d71a1cc11b5382136d9621ed57fb7580e27f
5
5
  SHA512:
6
- metadata.gz: 96c486a3ae38db0f812d32fe609d9025fa2bc64f1e295c873f7a80cbb3dff004708dad4cfe08e02dd2cfb22d815d892c12ef58c4efec404ddfd2330c465dad65
7
- data.tar.gz: b74eef5638bec2d0776a451fed98df8214738407c0389d1bbe8d42a3090fb0de0fb0da2234d606baa65bed5424dcc595b5778589a92cd0d790ceeea03d776166
6
+ metadata.gz: 573d5c7a2641fd5e6e78940d2d1cacf71a937296c12bf67b57f480056a7678e76e9520fae0ce0b4d804c28830c69f23e9f034d2566251e7314a6236284804464
7
+ data.tar.gz: 7a99476f704251643120509d2bd4e639cff3e37b4bc3c66f38410bf217cffa5910b38154f4c767c8e4b20d186b09fbc6b8f0190448b0df8fe278a72c77778871
data/lib/eep_client.rb CHANGED
@@ -1,9 +1,15 @@
1
+ require 'rubygems' if RUBY_VERSION < '1.9.0'
1
2
  require 'time'
2
3
  require 'net/http'
3
4
  require 'net/https'
4
5
  require 'json'
5
- require_relative 'eep_client/const'
6
- require_relative 'eep_client/response'
6
+ if RUBY_VERSION < '1.9.0'
7
+ require File.join(File.dirname(__FILE__), 'eep_client', 'const')
8
+ require File.join(File.dirname(__FILE__), 'eep_client', 'response')
9
+ else
10
+ require_relative 'eep_client/const'
11
+ require_relative 'eep_client/response'
12
+ end
7
13
 
8
14
  ## some constants
9
15
  EVENT = 'event'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eep_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Lewis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-13 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json