skippy 0.1.0.a → 0.1.1.a

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: 6005a25ffc1f9757b4cf9656d97be15351463830
4
- data.tar.gz: da9d85e6b9c72eeee60b18fed419722e13829a64
3
+ metadata.gz: 3d7b3b98fb96f0b69d62ed036e797bea1d0a96d8
4
+ data.tar.gz: 32139d4d554049c6c0c97bd91cfa0f287f2f1b0c
5
5
  SHA512:
6
- metadata.gz: fc7071ef383374ae27cc9fa15d15544dac943d07a53832f91712f8f8a44d9c1d7eeb0286babae6a3cfdb3b4d91b074a4693f2ab825d6f700961942d6fd5ec4c4
7
- data.tar.gz: 0ce7d0c9935e0f607e1367062a297ccc83788efebea2330f282bd1d6f8608b4a72f5fb158a8f26a5f5b9e893c94ef9727e29c2b15039cc5cf7d835ebb81dd508
6
+ metadata.gz: 3f178ab36f1ebd329a1729f9fea5ccba190e02b21cb22ce586aaeef527851d3e4d4afa7abf295cf4e96bfaee0bba9187c00747168d6000ffdd9402de6d5244cc
7
+ data.tar.gz: 78f4c41578fa29c75cd55c4479840966ec107622e23a9cff878bd6ac6348f4096fd2828f7129e656ba75e057ece47a8faa8be9cc6e14212b94bebe2e4b361093
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Skippy
2
2
 
3
+ [![Gem Version](https://badge.fury.io/rb/skippy.svg)](https://badge.fury.io/rb/skippy)
4
+
3
5
  Skippy is a Command Line Interface which aims to automate common developer tasks for SketchUp Ruby extension development.
4
6
 
5
7
  It is currently in very early stage of development so many things are incomplete. Feedback and contributions are welcome.
@@ -3,7 +3,6 @@ require 'json'
3
3
  require 'skippy/app'
4
4
  require 'skippy/group'
5
5
  require 'skippy/project'
6
- require 'skippy/template'
7
6
 
8
7
  class New < Skippy::Command::Group
9
8
 
@@ -8,7 +8,7 @@ class Template < Skippy::Command
8
8
  say ' No templates found'
9
9
  else
10
10
  templates.each { |template|
11
- say " #{template.name}", :green
11
+ say " #{template}", :green
12
12
  }
13
13
  end
14
14
  end
@@ -0,0 +1,7 @@
1
+ @echo off
2
+ REM This is used to be able to run Skippy directly from source.
3
+ REM %~dp0 returns the path for this batch file.
4
+ REM http://stackoverflow.com/a/659672/486990
5
+ REM
6
+ REM %* forwards all command arguments to Ruby.
7
+ ruby %~dp0../bin/skippy %*
@@ -2,7 +2,6 @@ require 'pathname'
2
2
 
3
3
  require 'skippy/command'
4
4
  require 'skippy/group'
5
- require 'skippy/template'
6
5
  require 'skippy/skippy'
7
6
 
8
7
  class Skippy::App
@@ -42,7 +41,7 @@ class Skippy::App
42
41
  template_path = templates_source_path.join(entry)
43
42
  next unless template_path.directory?
44
43
  next if %[. ..].include?(entry.basename.to_s)
45
- result << Skippy::Template.new(entry)
44
+ result << entry
46
45
  }
47
46
  result
48
47
  end
@@ -31,8 +31,15 @@ class Skippy::CLI < Skippy::Command
31
31
 
32
32
  end # Class methods
33
33
 
34
+ map "-v" => :version
35
+
34
36
  default_command :list
35
37
 
38
+ desc "version", "Show Skippy version"
39
+ def version
40
+ display_app_banner
41
+ end
42
+
36
43
  # Verbatim copy from Thor::Runner:
37
44
  # Override Thor#help so it can give information about any class and any method.
38
45
  #
@@ -1,3 +1,3 @@
1
1
  module Skippy
2
- VERSION = '0.1.0.a'.freeze
2
+ VERSION = '0.1.1.a'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skippy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.a
4
+ version: 0.1.1.a
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Thomassen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-01 00:00:00.000000000 Z
11
+ date: 2017-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -98,6 +98,7 @@ files:
98
98
  - bin/setup
99
99
  - bin/skippy
100
100
  - bin/thor
101
+ - debug/skippy.bat
101
102
  - exe/skippy
102
103
  - lib/skippy.rb
103
104
  - lib/skippy/app.rb