tickets 0.1.0 → 0.1.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: 192822149565853aa1e2dd4456773d293d154b6e
4
- data.tar.gz: 925a628fca856d1d50102bf9dd9d74649a9b48f1
3
+ metadata.gz: a5ce03b33f0d3297cdceeb211e8a76db2a770662
4
+ data.tar.gz: 9b387f2fd16c90f8346a58e0ac2e1fa990fc5112
5
5
  SHA512:
6
- metadata.gz: 71afdc9dd0552c5081ec548c5f8ae5c3f141f24c38d2d3add2431679051b3b8e8485f49bb950d80733bed2c098e61cd6e31f7268b33aad628ee55469c7e6875d
7
- data.tar.gz: 7aadd2d98183dec0fa7f35e6bbe011ed2dd1d9783ba824ad44b776cb40903fa54f37ab529b989553f83871b7d47be2cb56c657a19a9618476c7d12820014bae6
6
+ metadata.gz: f1dd046c2c24bdb703ec0bae191b92b1270a54462f656cf549c94c8b39651c833d6fd51b52a1706a7f316be4b7285bcb9451d800013f8fd083a53790ad8fa03e
7
+ data.tar.gz: 8476260842159d4bf6362c7912c145d27e1923cffcb08fdafd4ecd9cad60ff7075f84b8ff6545e51b0fa1a44cad3b40e7623fb4c8ed6468bb550fec3beff7bff
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
1
3
  require 'tickets'
2
4
  require 'trollop'
3
5
 
@@ -1,3 +1,5 @@
1
+ module Tickets; end
2
+
1
3
  require 'json'
2
4
  require 'terminal-table'
3
5
  require 'colorize'
@@ -1,3 +1,3 @@
1
1
  module Tickets
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -25,8 +25,10 @@ Gem::Specification.new do |spec|
25
25
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
26
  f.match(%r{^(test|spec|features)/})
27
27
  end
28
- spec.bindir = "exe"
29
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ # spec.bindir = "exe"
29
+ # spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.bindir = "bin"
31
+ spec.executables = ["tickets"]
30
32
  spec.require_paths = ["lib"]
31
33
 
32
34
  spec.add_development_dependency "bundler", "~> 1.15"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tickets
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
  - mao
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-07 00:00:00.000000000 Z
11
+ date: 2017-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,7 +111,8 @@ dependencies:
111
111
  description: 'Query train tickets info by 12306 '
112
112
  email:
113
113
  - maojie225@gmail.com
114
- executables: []
114
+ executables:
115
+ - tickets
115
116
  extensions: []
116
117
  extra_rdoc_files: []
117
118
  files: