sist02-cli 0.1.0 → 0.1.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a564210bfd060386e1214662d04d1c6bfb2e53b8
4
- data.tar.gz: 8f996fe2825009f2a9ccd63619e3cb6019dac143
3
+ metadata.gz: d0a1a330331ab6c608aab7ba3c41331caff49133
4
+ data.tar.gz: b6fedcc9ed5916ea67cb585291f035df25ce3b53
5
5
  SHA512:
6
- metadata.gz: 6b4284edcafa8b81fd9e54896cdac711b0f340e506cea1c06681b1965d04ea42659aec46b5ffa77ec7a8ca20a911d6bb6c9b5c04c9166fea8acc7d066e039ac0
7
- data.tar.gz: f954351ffd3606fb043a5b630f52a7812cffc60c167a44a7e14afd34c319d2460def0cc87ba6ccaf01d255efff8887a23752ea0ab6e903b634abf0c95afcf730
6
+ metadata.gz: d6d110071c30df89a4f17ae35de6a38596f088998774a0af0325ab17ad12905dd73c1b72193532638d2443fd17f7358bae797106127ed5380357ccb8af9466a4
7
+ data.tar.gz: 9c8cee845b397bf6113e16343add53af1fa41c5bac5d7c0d0675ec7e282a4fd3f50f4f3e9c3de861eb2c6bbc05ba6b819c94bf081efc660af599ff1a61bb0a10
data/bin/sist02 CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ $:.unshift File.expand_path("../../lib", __FILE__)
4
+
3
5
  require 'sist02/cli'
4
6
 
5
7
  Sist02::Cli::CiNii.start
@@ -1,5 +1,5 @@
1
1
  module Sist02
2
2
  module Cli
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
data/lib/sist02/cli.rb CHANGED
@@ -4,6 +4,9 @@ require 'thor'
4
4
 
5
5
  module Sist02
6
6
  module Cli
7
+ def self.run
8
+ File.expand_path("../../bin/sist02", __FILE__)
9
+ end
7
10
  # Your code goes here...
8
11
  end
9
12
  end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Sist02::Cli do
4
+ it 'has a version number' do
5
+ expect(Sist02::Cli::VERSION).not_to be nil
6
+ end
7
+
8
+ it 'does something useful' do
9
+ expect(false).to eq(true)
10
+ end
11
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'sist02/cli'
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sist02-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - himkt
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
@@ -55,24 +55,20 @@ dependencies:
55
55
  description: this gem is to make references with sist02 in console
56
56
  email:
57
57
  - himkt@klis.tsukuba.ac.jp
58
- executables: []
58
+ executables:
59
+ - sist02
59
60
  extensions: []
60
61
  extra_rdoc_files: []
61
62
  files:
62
- - ".gitignore"
63
- - ".rspec"
64
- - ".travis.yml"
65
- - Gemfile
66
- - LICENSE.md
67
63
  - README.md
68
- - Rakefile
69
64
  - bin/console
70
65
  - bin/setup
71
66
  - bin/sist02
72
67
  - lib/sist02/cli.rb
73
68
  - lib/sist02/cli/cinii.rb
74
69
  - lib/sist02/cli/version.rb
75
- - sist02-cli.gemspec
70
+ - spec/sist02/cli_spec.rb
71
+ - spec/spec_helper.rb
76
72
  homepage: https://github.com/himkt/sist02-cli
77
73
  licenses: []
78
74
  metadata: {}
data/.gitignore DELETED
@@ -1,11 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- .*
11
- !.gitignore
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color
data/.travis.yml DELETED
@@ -1,3 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.0
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in sist02-cli.gemspec
4
- gemspec
data/LICENSE.md DELETED
@@ -1,22 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015 himkt
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
data/sist02-cli.gemspec DELETED
@@ -1,25 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'sist02/cli/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "sist02-cli"
8
- spec.version = Sist02::Cli::VERSION
9
- spec.authors = ["himkt"]
10
- spec.email = ["himkt@klis.tsukuba.ac.jp"]
11
-
12
- spec.summary = %q{gem for sist02 in console}
13
- spec.description = %q{this gem is to make references with sist02 in console}
14
- spec.homepage = "https://github.com/himkt/sist02-cli"
15
-
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = ["lib"]
21
-
22
- spec.add_dependency "thor"
23
- spec.add_development_dependency "bundler", "~> 1.9"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- end