postrest 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/postrest +4 -11
  3. data/{app.rb → lib/app.rb} +0 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 62e2ac88e73d725684a65f9e73c0e7ee7188dba8
4
- data.tar.gz: 51ae79cbbaf9acb9dc9d61a9302ede68699b9a70
3
+ metadata.gz: 5e593b8292f51984fe7c22997d1fa09b52f09714
4
+ data.tar.gz: a102ab716e6f4e143d59a03f28a0a6a35c460d47
5
5
  SHA512:
6
- metadata.gz: 30630b1cdf962a9d2b713f94fb41cd7597354402d922f09dbe0f3730d4a55c3e8c4ee0dba7c5566eb9ef00d9b73f8b6b0f7382781f2f65cfc0728df6c63b82c0
7
- data.tar.gz: d91608d76c9219dcf5f63374359c68eade2695b60b164ad75f23839fa4ae032b3ec3e0d0014e22a1cb565294db4922901408adb68b54d388b4b492debe339e8f
6
+ metadata.gz: dbcab027094cd7880b6d8a4e721b9b1db07268b5f6f3a83e8a90b074347529f9d3697341264d67be2f10339ee0fcf7ca2723148341a78fa01b6863e230032d01
7
+ data.tar.gz: 22f5fd2345df864490d8bf4e1e131f826374d6c8a45aa74385ebafa6f11f0e57426f873945d3592b3a14bcdcaffa1681fbfce2ce06ba898aa22a454e38443cae
data/bin/postrest CHANGED
@@ -1,16 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- #Add the currently running directory to the start of the load path
4
- $:.unshift './'
3
+ # Add the currently running directory to the start of the load path
4
+ $LOAD_PATH.unshift './'
5
5
 
6
- #Don't buffer stdout
6
+ # Don't buffer stdout
7
7
  $stdout.sync = true
8
8
 
9
- begin
10
- require 'app.rb'
11
- rescue LoadError => e
12
- require 'rubygems'
13
- path = File.expand_path '../../lib', __FILE__
14
- $:.unshift(path) if File.directory?(path) && !$:.include?(path)
15
- require 'app.rb'
16
- end
9
+ require 'app'
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine
@@ -59,7 +59,7 @@ executables:
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - app.rb
62
+ - lib/app.rb
63
63
  - bin/postrest
64
64
  - LICENSE
65
65
  - local.md