ezapi_client 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env +4 -3
- data/.gitignore +0 -2
- data/CHANGELOG.md +4 -0
- data/README.md +3 -1
- data/lib/ezapi_client/services/exec_command.rb +4 -1
- data/lib/ezapi_client/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f1e227d88c32617992da666064320a7bc92c433
|
4
|
+
data.tar.gz: 2e4e10c807545ce41724d96247f28bf6242e1609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3107cdf686fe73b4d5e9fed39b7fef7df885f45083eecc58a807e23262b919d8e6d4de2277dd4eda088c7973102bc1c9263c4144d641a36bf2edda94a8f82ed
|
7
|
+
data.tar.gz: ff2a76984617687c954e146da9a9b0c7f35ea558cdfb917c5ec2ef22626881785a27f66fc3fe0dc315f4f72951c020641f7ef9dd005a428a51d365389e06e45d
|
data/.env
CHANGED
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.3.0] - 2016-10-11
|
6
|
+
### Added
|
7
|
+
- Include stdout in the exception raised when ExecCommand fails
|
8
|
+
|
5
9
|
## [0.2.1] - 2016-09-19
|
6
10
|
### Fixed
|
7
11
|
- updated jar for special characters fix
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# EZAPIClient
|
2
2
|
|
3
|
+
[![Build Status](https://travis-ci.org/imacchiato/ezapi_client-ruby.svg?branch=master)](https://travis-ci.org/imacchiato/ezapi_client-ruby)
|
4
|
+
|
3
5
|
Ruby wrapper for EasyPadala's API.
|
4
6
|
|
5
7
|
## Installation
|
@@ -24,7 +26,7 @@ See `spec/functional` for examples.
|
|
24
26
|
|
25
27
|
## Development
|
26
28
|
|
27
|
-
1.
|
29
|
+
1. Create `.env.sample` and override the password (see `.env`). If you do not have access to the password but have your own credentials, then will have to override everything except `HOST`.
|
28
30
|
2. `docker-compose build`
|
29
31
|
3. `docker-compose run app rspec`
|
30
32
|
|
@@ -11,7 +11,10 @@ module EZAPIClient
|
|
11
11
|
def call
|
12
12
|
stdout_str, stderr_str, status = Open3.capture3(command)
|
13
13
|
unless status.success?
|
14
|
-
fail(
|
14
|
+
fail(
|
15
|
+
ArgumentError,
|
16
|
+
"Error executing command: #{[stdout_str, stderr_str].compact.join("; ")}"
|
17
|
+
)
|
15
18
|
end
|
16
19
|
stdout_str.chomp
|
17
20
|
end
|
data/lib/ezapi_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ezapi_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -233,3 +233,4 @@ signing_key:
|
|
233
233
|
specification_version: 4
|
234
234
|
summary: Ruby wrapper for EZAPI
|
235
235
|
test_files: []
|
236
|
+
has_rdoc:
|