bowtie-start 0.0.3 → 0.0.4

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: dcaaba90f0b82c24046710fe6e317744b000995d
4
- data.tar.gz: 2143a9b2e8777390af1178880f9040bbde40c5d7
3
+ metadata.gz: eefa7b0ab49fa7f596adda8461c8c7631fdd9667
4
+ data.tar.gz: cdea2380383e8f24fb198d31d473d311ab252cdc
5
5
  SHA512:
6
- metadata.gz: 95b5a736105857653ec0958e4fca86e466ff5d0465f56edc40430547fd519add81981603a2806ba50018e5a0cbb4ea1d9c1ec887f83b9a5e7a478d8e87116980
7
- data.tar.gz: e9a52e03a07a122fc9cc0e314fde554464fc68ca08decc8d7221c962bf891ce2a7c1f37598a9d65d23b0bbbf2b9e5ff7ee28057517af70e8d1b87315fea8542d
6
+ metadata.gz: cbf8f74c8959b36ffa06e6df2372b2be24d44dc1e99411a90f3c699842ef09129a7383d23fbd1efffab9800d25ecb3080c521350e62055ae3b08782042ee8628
7
+ data.tar.gz: 8ba57e74af5acc9e417cade5df323ec2d4de7120158d8ed49483af1f33006516634a8f70ac98911789bca355920ecb916315567b22567684430feb6cd149215d
@@ -1,14 +1,19 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
+ require 'yaml'
4
5
  require 'commander'
5
6
 
6
7
  module BowtieStart
7
8
  class Runner
8
9
  include Commander::Methods
9
10
  # include whatever modules you need
11
+ def initialize
12
+ @path = File.dirname(File.expand_path(__FILE__))
13
+ end
10
14
 
11
15
  def run
16
+ random_quote = YAML.load(File.open(File.join(@path, 'quotes.yaml')))["quotes"].sample
12
17
  program :name, 'bowtie_starter'
13
18
  program :version, '0.0.1'
14
19
  program :description, '
@@ -27,11 +32,7 @@ module BowtieStart
27
32
 
28
33
  Bowtie Starter
29
34
  -----------
30
-
31
- Ship, ya hooligan.
32
-
33
- This gem installs all of our starter kits.
34
- '
35
+ ' + random_quote["quote"].to_s
35
36
  default_command :help
36
37
 
37
38
  command :install_dependencies do |c|
@@ -1,3 +1,3 @@
1
1
  module BowtieStart
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -0,0 +1,6 @@
1
+ ---
2
+ quotes:
3
+ - quote: "You CAN and WILL ship something today."
4
+ - quote: "Are you still talking.. and not shipping code?"
5
+ - quote: "FOR THE LOVE OF GOD - SHIP SOMETHING."
6
+ - quote: "If you add angular one more time..."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bowtie-start
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Golden
@@ -73,6 +73,7 @@ files:
73
73
  - bowtie_start.gemspec
74
74
  - lib/bowtie_start.rb
75
75
  - lib/bowtie_start/version.rb
76
+ - lib/quotes.yaml
76
77
  homepage: http://bowtie.io
77
78
  licenses:
78
79
  - MIT