plz 0.1.3 → 0.1.4

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: 8b08b9335d71f78fcbc29c65cf2e34cf7fbb0058
4
- data.tar.gz: af59355a377cd6df6bce02b1bcef3fdf1ffa0a7f
3
+ metadata.gz: 858227ac12e7cc2b117c1d6f7deadfcb2db532e9
4
+ data.tar.gz: 19edf68eb3200c4563bc94d8d53d8972569d9937
5
5
  SHA512:
6
- metadata.gz: 56d10de5ef2e4ed470e764f3016a0152fc93e3dc979ee122dd8033b0e9bc9130f5dfb17d5721b9dd52e0f53bb1fa6a7bd4b39abaffb751b21e6e3d5a6a9e6e94
7
- data.tar.gz: 2072cdbf85fc7edd19e73a2641fc0d24d99b8fdcf763b201537ae987824e658ddf24891b7ae2d3b59d7332cf873550071f5b26f491bf34257a6b0a24f12a8890
6
+ metadata.gz: 95d64404d7f75903c22e3f636ad3c46ac00401076a55925458894ef200835b6b9f17d7da77889ee74ab05b808843c71c6cfdde2c04a696136590b3b3e5e19020
7
+ data.tar.gz: 51285811999d86f70b0f14178612955fec9633086ae5b10bd6408fc0c6c37519c04038c0dff0b655f9968cccf1678b81a5f1246f50880e8f8b3ac2c63b46c260
@@ -1,3 +1,6 @@
1
+ ## 0.1.4
2
+ * Fix wrong keyword arguments definitions
3
+
1
4
  ## 0.1.3
2
5
  * Fix --host option
3
6
 
@@ -45,8 +45,8 @@ module Plz
45
45
  when !has_link?
46
46
  Commands::LinkNotFound.new(
47
47
  pathname: schema_file_pathname,
48
- action_name: action_name,
49
- target_name: target_name
48
+ action_name: nil,
49
+ target_name: nil
50
50
  )
51
51
  when has_invalid_json_input?
52
52
  Commands::InvalidJsonFromStdin.new
@@ -1,7 +1,7 @@
1
1
  module Plz
2
2
  module Commands
3
3
  class InvalidSchema
4
- def initialize(pathname: nil, error: error)
4
+ def initialize(pathname: nil, error: nil)
5
5
  @pathname = pathname
6
6
  @error = error
7
7
  end
@@ -1,7 +1,7 @@
1
1
  module Plz
2
2
  module Commands
3
3
  class LinkNotFound
4
- def initialize(pathname: nil, action_name: action_name, target_name: target_name)
4
+ def initialize(pathname: nil, action_name: nil, target_name: nil)
5
5
  @pathname = pathname
6
6
  @action_name = action_name
7
7
  @target_name = target_name
@@ -1,7 +1,7 @@
1
1
  module Plz
2
2
  module Commands
3
3
  class UnparsableJsonParam
4
- def initialize(error: error)
4
+ def initialize(error: nil)
5
5
  @error = error
6
6
  end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Plz
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  version: '0'
237
237
  requirements: []
238
238
  rubyforge_project:
239
- rubygems_version: 2.2.2
239
+ rubygems_version: 2.4.5
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: JSON Schema based command line HTTP client.