seb_elink 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4754ac20b5f8fb96fa6f5da401ad7a743eb9f0bc
4
- data.tar.gz: 35fd08333c236cc5e4b3fca833cf178880b81f4c
3
+ metadata.gz: 9177c328b5fa9bd21d9a5602f05fa63383b0bbfb
4
+ data.tar.gz: 40cdb828d5b8404cefb963e3a01dd80846d86ae3
5
5
  SHA512:
6
- metadata.gz: e91e10a2ecfe7bc6a1dc525ca931f2111af3c38356c8866a8c82e58cfc3a5fdc0df4de4c99552b77a62fb0b540b746d2c31c558c41913027110714147f571185
7
- data.tar.gz: 2bae5422c88af83cd9b16c07af01efa1501044b482b4167b41c896f024d16d7c49fb6b3d15eb0753e4f496b60856436df5b2b731acfd7ac46186cd2fad1cc7b5
6
+ metadata.gz: a189076c71d75ebd1842a1f50eb94a74f5fd55a60cb11330cf30bad306390cf7b5eff9859506d1fa66d1cdac6a506d059cf816c3e5fd9bbe994c29fe5c2dd090
7
+ data.tar.gz: 1ad05eec15892933d7c0df498c2a7708e6cebe4a03cd866297872f22731fa677e498a75cced3276a2838c9c318e74485b64322201b2ce7dafbb823744639cc0e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seb_elink (0.9.0)
4
+ seb_elink (0.9.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -14,7 +14,7 @@ gem 'seb_elink'
14
14
  ```
15
15
 
16
16
  ## Usage
17
- Please note that for consistency in this gem all hash keys are constant-case __symbols__.
17
+ Please note that for consistency in this gem all hash keys are constant-case __symbols__ like `:IB_VERSION`.
18
18
 
19
19
  The gem has three elements represented as Ruby classes:
20
20
 
@@ -125,7 +125,11 @@ The project uses TDD approach to software development, follow these steps to set
125
125
  6. Make a Pull Request in github
126
126
 
127
127
  ## Releasing a new version
128
- TODO
128
+
129
+ ```
130
+ gem push # to set credentials
131
+ rake release
132
+ ```
129
133
 
130
134
  ## License
131
135
 
@@ -1,19 +1,21 @@
1
- module SebElink::Communications
2
- private
1
+ module SebElink
2
+ module Communications
3
+ private
3
4
 
4
- def validate_message_code
5
- message_codes = send(:class)::SUPPORTED_MESSAGES
5
+ def validate_message_code
6
+ message_codes = send(:class)::SUPPORTED_MESSAGES
6
7
 
7
- raise ArgumentError.new(
8
- "'#{message_code}' is not a supported message code. Supported ones are: #{message_codes}"
9
- ) unless message_codes.include?(message_code)
10
- end
8
+ raise ArgumentError.new(
9
+ "'#{message_code}' is not a supported message code. Supported ones are: #{message_codes}"
10
+ ) unless message_codes.include?(message_code)
11
+ end
11
12
 
12
- def validate_version
13
- versions = send(:class)::SUPPORTED_VERSIONS
13
+ def validate_version
14
+ versions = send(:class)::SUPPORTED_VERSIONS
14
15
 
15
- raise ArgumentError.new(
16
- "'#{version}' is not a supported version. Supported ones are: #{versions}"
17
- ) unless versions.include?(version)
16
+ raise ArgumentError.new(
17
+ "'#{version}' is not a supported version. Supported ones are: #{versions}"
18
+ ) unless versions.include?(version)
19
+ end
18
20
  end
19
21
  end
@@ -1,3 +1,3 @@
1
1
  module SebElink
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seb_elink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Epigene