basicjrpc 0.1.4 → 0.1.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fb9cbe30747d1d2d5de983927a24ae7588308ee
4
- data.tar.gz: 065ae5939e9ee84fb7eaa27964e7ef20f463929f
3
+ metadata.gz: 4b533ebb3c51db3ecd64f248fcaf2b4d9485b701
4
+ data.tar.gz: f7262e30c8ebbc523f61866619cc3248d210074f
5
5
  SHA512:
6
- metadata.gz: a9625c0c210d31363e5034423c84d28b996fc66afe2024646f9f67a7f6291f20eda088a883c5cb5564d03e57ee1c719ce7bdcdae88152fe098014acc56200078
7
- data.tar.gz: 1adfcf8641aa62209b08fa5682a3d1dbcc7fb752e50f337827ce4b4aff7f9996a604d7f5ed1a175926f2dba1126be25dedfca459a8cc277ff47ee172897b508e
6
+ metadata.gz: 8f834a596de9506b6d46724ff73f8425fb0aef2dc4e181dced1cf29444b4e2b55386d4b95e377139ceaffd14f41b57e01b0dad0ae28b80219a14f41c878ef6ff
7
+ data.tar.gz: 3d1d6a3667faf395166acb4fd9a2327353faa7247144bf76fe8c633da0a5166419057f8f019358b26865dae37b186117f450fe60c85280d6d441f528bf01b0fe
data/Gemfile.lock ADDED
@@ -0,0 +1,24 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ basicjrpc (0.1.0)
5
+ oj
6
+ redis
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ oj (2.15.0)
12
+ rake (10.5.0)
13
+ redis (3.3.0)
14
+
15
+ PLATFORMS
16
+ ruby
17
+
18
+ DEPENDENCIES
19
+ basicjrpc!
20
+ bundler (~> 1.11)
21
+ rake (~> 10.0)
22
+
23
+ BUNDLED WITH
24
+ 1.11.2
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Jrpc
1
+ # Basic JRPC
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/jrpc`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
@@ -9,7 +9,7 @@ TODO: Delete this and the text above, and describe your gem
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'jrpc'
12
+ gem 'basicjrpc'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -18,7 +18,7 @@ And then execute:
18
18
 
19
19
  Or install it yourself as:
20
20
 
21
- $ gem install jrpc
21
+ $ gem install basicjrpc
22
22
 
23
23
  ## Usage
24
24
 
@@ -32,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
32
 
33
33
  ## Contributing
34
34
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jrpc.
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/sunseriescoltd/basicjrpc.
36
36
 
37
37
 
38
38
  ## License
@@ -1,3 +1,3 @@
1
1
  module BasicJRPC
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/basicjrpc.rb CHANGED
@@ -17,7 +17,7 @@ module BasicJRPC
17
17
  end
18
18
 
19
19
  def initialize(queue)
20
- @redis = Redis.new
20
+ @redis = Redis.new(host: "redis")
21
21
  @queue = queue
22
22
  @payload = nil
23
23
  end
@@ -37,7 +37,7 @@ module BasicJRPC
37
37
  def initialize queue, injected_class
38
38
  @injected_class = injected_class
39
39
  @queue = queue
40
- @redis = Redis.new
40
+ @redis = Redis.new(host: "redis")
41
41
  end
42
42
 
43
43
  def listen
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basicjrpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Simpson
@@ -73,8 +73,8 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - ".gitignore"
77
76
  - Gemfile
77
+ - Gemfile.lock
78
78
  - LICENSE.txt
79
79
  - README.md
80
80
  - Rakefile
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/