gondler 0.0.3 → 0.1.0

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: 6f45c6f030b16dcf668b852a6ad8cf38aa3dcd8c
4
- data.tar.gz: c59c85cf4b94f661080eff0f6f52f92e78424680
3
+ metadata.gz: 7f2ccebc776c25088a08c03eea6eb75a0c1a9206
4
+ data.tar.gz: 9873afe2a086e33d519ef074625ac2ffc6ec14bb
5
5
  SHA512:
6
- metadata.gz: 2fe061e44abb41e2a0b8ba230b0b4a376b4990edf8d10509ecc0ae04b8c8f2c5c0a62b3c72c4f4e04d9c6b65fbdcaa2ae2ba5d1f3e20703a764cfb3effa84222
7
- data.tar.gz: c22619b469e1528f31fc3edb3d6d12c3c4b9810d6ac1f2e0e3e2547d83d257e74f2e20863563dc0198031d88789a693dd9747eaeb46f64f7a1eb2cc37560a2e1
6
+ metadata.gz: 9865031e440540831076e67b37d18b7ebe297c0c6cd09197132ff4261e3733e53c7b92e4a33540142f722b19bd22bbeb8e712ba067a2b7ab10800023490b58fe
7
+ data.tar.gz: 91d9ca4d45c648832683688daa37343af4c17a95a4c35a111cd5824edca50f10b35df462fe996fa48c1b5554fd9712e01f545d8e8e6fd18b70c61ea04c7409be
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.0.0
4
- gemfile:
4
+ - 1.9.3
5
+ - 1.8.7
6
+ gemfile:
5
7
  - Gemfile
6
8
  script: bundle ex rspec
data/gondler.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ['rosylilly@aduca.org']
11
11
  spec.description = %q{bundler for golang}
12
12
  spec.summary = %q{bundler for golang}
13
- spec.homepage = ''
13
+ spec.homepage = 'https://github.com/rosylilly/gondler'
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
data/lib/gondler/cli.rb CHANGED
@@ -5,8 +5,8 @@ require 'gondler'
5
5
 
6
6
  module Gondler
7
7
  class CLI < Thor
8
- class_option :gomfile, type: :string, default: 'Gomfile'
9
- class_option :path, type: :string, default: '.gondler'
8
+ class_option :gomfile, :type => :string, :default => 'Gomfile'
9
+ class_option :path, :type => :string, :default => '.gondler'
10
10
 
11
11
  def initialize(*args)
12
12
  super
@@ -15,7 +15,7 @@ module Gondler
15
15
  end
16
16
 
17
17
  desc 'install', 'Install the dependecies specified in your Gomfile'
18
- method_option :without, type: :array, default: []
18
+ method_option :without, :type => :array, :default => []
19
19
  def install
20
20
  gomfile.packages.each do |package|
21
21
  puts "Install #{package}"
@@ -49,7 +49,7 @@ module Gondler
49
49
  end
50
50
 
51
51
  desc 'list', 'Show all of the dependencies in the current bundle'
52
- method_option :without, type: :array, default: []
52
+ method_option :without, :type => :array, :default => []
53
53
  def list
54
54
  Gondler.withouts = options[:without]
55
55
 
@@ -1,3 +1,3 @@
1
1
  module Gondler
2
- VERSION = '0.0.3'
2
+ VERSION = '0.1.0'
3
3
  end
@@ -10,13 +10,13 @@ describe Gondler::Package do
10
10
  subject { package.os }
11
11
 
12
12
  context 'with ["linux", "darwin"]' do
13
- let(:options) { { os: %w(linux darwin) } }
13
+ let(:options) { { :os => %w(linux darwin) } }
14
14
 
15
15
  it { should == expected }
16
16
  end
17
17
 
18
18
  context 'with "linux darwin"' do
19
- let(:options) { { os: 'linux darwin' } }
19
+ let(:options) { { :os => 'linux darwin' } }
20
20
 
21
21
  it { should == expected }
22
22
  end
@@ -33,19 +33,19 @@ describe Gondler::Package do
33
33
  end
34
34
 
35
35
  context 'when os option is darwin' do
36
- let(:options) { { os: 'darwin' } }
36
+ let(:options) { { :os => 'darwin' } }
37
37
 
38
38
  it { should be_true }
39
39
  end
40
40
 
41
41
  context 'when os option is linux' do
42
- let(:options) { { os: 'linux' } }
42
+ let(:options) { { :os => 'linux' } }
43
43
 
44
44
  it { should be_false }
45
45
  end
46
46
 
47
47
  context 'when os option is linux and darwin' do
48
- let(:options) { { os: 'linux darwin' } }
48
+ let(:options) { { :os => 'linux darwin' } }
49
49
 
50
50
  it { should be_true }
51
51
  end
@@ -54,7 +54,7 @@ describe Gondler::Package do
54
54
  before { Gondler.withouts = %w(development) }
55
55
  after { Gondler.withouts = [] }
56
56
 
57
- let(:options) { { group: 'development' } }
57
+ let(:options) { { :group => 'development' } }
58
58
 
59
59
  it { should be_false }
60
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gondler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Kusano
@@ -67,7 +67,7 @@ files:
67
67
  - spec/gondler/package_spec.rb
68
68
  - spec/gondler_spec.rb
69
69
  - spec/spec_helper.rb
70
- homepage: ''
70
+ homepage: https://github.com/rosylilly/gondler
71
71
  licenses:
72
72
  - MIT
73
73
  metadata: {}