osdn-cli 0.1.7 → 0.1.8

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: bd1074fe6f6db050e158a2fb48ebebcf4b764eab
4
- data.tar.gz: eaeaf3f74d378633cc5c90ef5d6cd8a89817492c
3
+ metadata.gz: 8d8128c6e8f948432b276e4e26577b1b7df9ba31
4
+ data.tar.gz: 3458d3981cabfd0acfd98a7e8aa7000650695a09
5
5
  SHA512:
6
- metadata.gz: 53f33b2b1f1147fd7759dc404a59c70e0cbc7f72c5348e26e6cd4bfa294b18c9d7ed8fe6f62165ee06a0e67bea9695db4008ade202e44ab94bdd2bd5c689bc72
7
- data.tar.gz: 8307787a132219a023efea5894d2730c057ee63a5251b46e86d47cb4151db7ae167622adefdda32cd08a4b8ce4d7d4599651a7bfd0e3bdb726d1ce5b91533e5d
6
+ metadata.gz: 77b0ff81d195169bb9a18d76151642a3cdf970e43aaacd465bb60564d04ed026fd75df10c9cbb563f0f2881025a123632549dc83a4a32723aefda382f5fa4ddb
7
+ data.tar.gz: 5b1940aeec8b29fe2cdc3f04dabae41f327c8de33a90378a0024286185228a54eed9b65f0634e6d0b7e32f1323635ebe60fd58409528f81c600ad3f84d05c649
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ 2017-02-15 Tatsuki Sugiura <sugi@nemui.org>
2
+
3
+ * Fix command class loader to support ruby 1.9.x.
4
+ * Version 0.1.8
5
+
1
6
  2016-10-04 Tatsuki Sugiura <sugi@nemui.org>
2
7
 
3
8
  * Version 0.1.7
@@ -55,7 +55,7 @@ module OSDN
55
55
  def get_command_class(command_name)
56
56
  class_name = command_name.to_s.split('_').map(&:capitalize).join
57
57
  begin
58
- return self.class.const_get("OSDN::CLI::Command::#{class_name}")
58
+ return OSDN::CLI::Command.const_get(class_name)
59
59
  rescue NameError => e
60
60
  logger.fatal "Invalid command name '#{command_name}'. Use 'help' to list commands."
61
61
  exit
@@ -1,5 +1,5 @@
1
1
  module OSDN
2
2
  module CLI
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osdn-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - OSDN
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-04 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  requirements: []
131
131
  rubyforge_project:
132
- rubygems_version: 2.5.1
132
+ rubygems_version: 2.5.2
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: OSDN Command Line Interface