deka 0.0.2 → 0.0.3

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: 2c173d10f74c99df0bcf63dce853ad58a285bcab
4
- data.tar.gz: 7179e40b8bafa541572d92068f1e0856f150fbd5
3
+ metadata.gz: afccbdc908bb24ccaf46193f5276ed343eb60b27
4
+ data.tar.gz: c4096f72b66b61fb8d84e7e7d39a1cc0e0623fc9
5
5
  SHA512:
6
- metadata.gz: da5e55d82b80892ac8242c3e7eae133cef823b21890753f7cc88851dceae1d57e66a84d3d0ea6dfa5b9f8141c2a143ee3b8da93e7893468003eb6f8b69577949
7
- data.tar.gz: 1ffc02b4c65174051194dd8856accaeea30866310db678cba83c459974de19ec895ba279eaf72e28ded7bee125e37689520f073c0478225619ed467fbf442dad
6
+ metadata.gz: f11761f94c815ad9991aff67e7165297c5eab2bcc92da77cac1f0b24db4496243a59ebac86b59a14d8d8e9deef75718ea494c4fecd3f1458e34f4de09389278b
7
+ data.tar.gz: e24a80cc0e6b1506646af7c352d1cda072b5468105f4863e99bdc3a92f505c9cf49fca2d325f689d3136ac3edec3d6dee937b8eafbacad48f81ad27097fcc8b6
@@ -1,3 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.3
3
+ - 2.1.5
4
+ - 2.2.0
data/bin/deka CHANGED
@@ -6,15 +6,19 @@ Bundler.require
6
6
  require 'deka'
7
7
  require 'slop'
8
8
 
9
- opts = Slop.new(strict: true) do
10
- banner 'Usage: deka [options]'
11
- on 'dry-run', 'Dry run'
12
- on 'c=', 'config', 'config path (default `./deka.yml`)'
13
- on 's=', 'save', 'path for saving tracked hash (default `./.tracked_hash`)'
9
+ opts = Slop.parse do |o|
10
+ o.banner = 'Usage: deka [options]'
11
+ o.bool '--dry-run', 'Dry run'
12
+ o.string 'c=', 'config', 'config path (default `./deka.yml`)'
13
+ o.string 's=', 'save', 'path for saving tracked hash (default `./.tracked_hash`)'
14
+
15
+ o.on '-h', '--help', 'show this messages' do
16
+ puts o
17
+ exit
18
+ end
14
19
  end
15
20
 
16
21
  begin
17
- opts.parse
18
22
  Deka::Cli.run(opts.to_hash)
19
23
  rescue Slop::Error => e
20
24
  puts e.message
@@ -1,3 +1,3 @@
1
1
  module Deka
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'octokit'
22
- spec.add_dependency 'slop'
21
+ spec.add_dependency 'octokit', '~> 3.7.1'
22
+ spec.add_dependency 'slop', '~> 4.0.0'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.6'
25
25
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - willnet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-25 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 3.7.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 3.7.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: slop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 4.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 4.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.2.2
128
+ rubygems_version: 2.4.5
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: tracking commit of README