postrest 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/postrest +4 -11
- data/{app.rb → lib/app.rb} +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e593b8292f51984fe7c22997d1fa09b52f09714
|
|
4
|
+
data.tar.gz: a102ab716e6f4e143d59a03f28a0a6a35c460d47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
-
|
|
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'
|
data/{app.rb → lib/app.rb}
RENAMED
|
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.
|
|
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
|