hirlite 0.0.1.2 → 0.0.1.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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjZkYTUwYmFlMjNmMmZmZTQ0YzkwYzQ2MTQxZjM2ZGRlZDA0OGY4ZQ==
5
- data.tar.gz: !binary |-
6
- M2JhM2YwN2JiNGZiNWFjNTcyZjg0MmFhNzFkNzY3ZDJmZjZjN2M5NA==
2
+ SHA1:
3
+ metadata.gz: 08c6b72ffe8ba3eecbcf7b1ca1150c86e6a56592
4
+ data.tar.gz: 67d2dd1febbf2f5e729fa7d93c5477572681d273
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OTZkZjE5MGY5N2Y4ODhlZDY3NjkwZDA4NTc2ZTNjMTI1MWFjNDdkYWIyODcz
10
- ZGViNGViMGIzOTQyOTc4YzA2YzliMzkwNWU0Njc5MjA0Zjk1ZGZmMWIxNTlk
11
- YWE4NzQ3ZDA5NDhiNmQ1ZDM5MGNkMWFmYmViMDFkMGJlMjc4OWQ=
12
- data.tar.gz: !binary |-
13
- NTU2MjQwMmNlNDU4ZDM5MzgwYzhjOTg3YWU2OTdkMDNkYzk4YTFmYjU2M2Q1
14
- NmQyZDA1Mjc1ZjA2NTJiNGRhZGVjMjM2ODQxYzdhZWQzZmY0NzZkYjQ3Y2Vk
15
- MGQ3ZTc1ODYxNzZkYzFiZWIyZDVjZmY2OTQ2MzRhZDhiNGU0OGI=
6
+ metadata.gz: 85b6bc9d6db7f62a630df99b990e9e63af7272300ef758e63c3c0b4d21fec436862cf3b1530daf6199ea1699e8ef26f8a511869c50b2e45f0d31c4dd5c0f9372
7
+ data.tar.gz: 456d4361265c9189d639ea0a4e44a3c55ec3524c1e1bd73f1eadf3ee79ad5f5b7ef088161913e0e9ac577841b370b672b8fe1011d7bc5b82a5116f24870589a5
data/lib/hirlite/rlite.rb CHANGED
@@ -1 +1,18 @@
1
1
  require "hirlite/ext/hirlite_ext"
2
+
3
+ module Hirlite
4
+ class Rlite < Hirlite::Ext::Rlite
5
+ def initialize
6
+ @responses = []
7
+ end
8
+
9
+ def write(command)
10
+ super
11
+ @responses.push self.class.superclass.instance_method(:read).bind(self).call
12
+ end
13
+
14
+ def read
15
+ @responses.shift
16
+ end
17
+ end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module Hirlite
2
- VERSION = "0.0.1.2"
2
+ VERSION = "0.0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hirlite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.2
4
+ version: 0.0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Waisbrot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-28 00:00:00.000000000 Z
11
+ date: 2015-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -134,17 +134,17 @@ require_paths:
134
134
  - lib
135
135
  required_ruby_version: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - ! '>='
137
+ - - '>='
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ! '>='
142
+ - - '>='
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.4.6
147
+ rubygems_version: 2.4.3
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Ruby wrapper for hirlite