skippy 0.1.1.a → 0.2.0.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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +14 -0
  3. data/.gitignore +5 -0
  4. data/.idea/.rakeTasks +7 -0
  5. data/.idea/codeStyleSettings.xml +9 -0
  6. data/.idea/encodings.xml +6 -0
  7. data/.idea/inspectionProfiles/Project_Default.xml +8 -0
  8. data/.idea/misc.xml +4 -0
  9. data/.idea/modules.xml +8 -0
  10. data/.idea/runConfigurations/All_Features.xml +32 -0
  11. data/.idea/runConfigurations/test__skippy.xml +21 -0
  12. data/.idea/skippy.iml +83 -0
  13. data/.idea/vcs.xml +6 -0
  14. data/.vscode/launch.json +61 -0
  15. data/.vscode/settings.json +3 -2
  16. data/.vscode/tasks.json +16 -0
  17. data/Gemfile +5 -0
  18. data/Rakefile +4 -4
  19. data/app/boot.rb +1 -1
  20. data/app/commands/debug.rb +2 -1
  21. data/app/commands/lib.rb +46 -0
  22. data/app/commands/new.rb +4 -3
  23. data/app/commands/template.rb +3 -3
  24. data/app/resources/commands/example.rb +1 -1
  25. data/app/templates/standard/%ext_name%.rb.tt +1 -1
  26. data/app/templates/webdialog/{extension.rb.erb → %ext_name%.rb.tt} +1 -1
  27. data/app/templates/webdialog/{extension → %ext_name%}/html/dialog.html +0 -0
  28. data/app/templates/webdialog/{extension/main.rb.erb → %ext_name%/main.rb.tt} +0 -0
  29. data/bin/aruba +17 -0
  30. data/bin/cucumber +17 -0
  31. data/bin/htmldiff +17 -0
  32. data/bin/ldiff +17 -0
  33. data/cSpell.json +18 -0
  34. data/fixtures/my_lib/skippy.json +5 -0
  35. data/fixtures/my_lib/src/command.rb +4 -0
  36. data/fixtures/my_lib/src/geometry.rb +4 -0
  37. data/fixtures/my_lib/src/tool.rb +4 -0
  38. data/fixtures/my_project/skippy.json +8 -0
  39. data/fixtures/my_project/skippy/commands/example.rb +14 -0
  40. data/fixtures/my_project/src/hello_world.rb +47 -0
  41. data/fixtures/my_project/src/hello_world/extension.json +10 -0
  42. data/fixtures/my_project/src/hello_world/main.rb +21 -0
  43. data/lib/skippy.rb +7 -3
  44. data/lib/skippy/app.rb +7 -5
  45. data/lib/skippy/cli.rb +12 -12
  46. data/lib/skippy/config.rb +135 -0
  47. data/lib/skippy/config_accessors.rb +43 -0
  48. data/lib/skippy/error.rb +1 -1
  49. data/lib/skippy/helpers/file.rb +14 -0
  50. data/lib/skippy/lib_module.rb +47 -0
  51. data/lib/skippy/library.rb +57 -0
  52. data/lib/skippy/library_manager.rb +75 -0
  53. data/lib/skippy/module_manager.rb +103 -0
  54. data/lib/skippy/namespace.rb +7 -3
  55. data/lib/skippy/project.rb +55 -26
  56. data/lib/skippy/version.rb +1 -1
  57. data/skippy.gemspec +14 -12
  58. metadata +69 -8
  59. data/lib/skippy/skippy.rb +0 -9
@@ -1,3 +1,3 @@
1
1
  module Skippy
2
- VERSION = '0.1.1.a'.freeze
2
+ VERSION = '0.2.0.a'.freeze
3
3
  end
@@ -4,28 +4,30 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'skippy/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "skippy"
7
+ spec.name = 'skippy'
8
8
  spec.version = Skippy::VERSION
9
- spec.authors = ["Thomas Thomassen"]
10
- spec.email = ["thomas@thomthom.net"]
9
+ spec.authors = ['Thomas Thomassen']
10
+ spec.email = ['thomas@thomthom.net']
11
11
 
12
12
  spec.summary = %q{CLI development tool for SketchUp extensions.}
13
13
  spec.description = %q{Automate common tasks for SketchUp extension development, including managing library dependencies.}
14
- spec.homepage = "https://github.com/thomthom/skippy"
15
- spec.license = "MIT"
14
+ spec.homepage = 'https://github.com/thomthom/skippy'
15
+ spec.license = 'MIT'
16
16
 
17
- spec.required_ruby_version = ">= 2.0"
17
+ spec.required_ruby_version = '>= 2.0'
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
20
  f.match(%r{^(test|spec|features)/})
21
21
  end
22
- spec.bindir = "exe"
22
+ spec.bindir = 'exe'
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
- spec.require_paths = ["lib"]
24
+ spec.require_paths = ['lib']
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.13"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "minitest", "~> 5.0"
26
+ spec.add_development_dependency 'bundler', '~> 1.13'
27
+ spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'minitest', '~> 5.0'
29
+ spec.add_development_dependency 'cucumber'
30
+ spec.add_development_dependency 'aruba'
29
31
 
30
- spec.add_dependency "thor"
32
+ spec.add_dependency 'thor'
31
33
  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.1.a
4
+ version: 0.2.0.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-02 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: cucumber
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aruba
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: thor
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -75,8 +103,21 @@ executables:
75
103
  extensions: []
76
104
  extra_rdoc_files: []
77
105
  files:
106
+ - ".editorconfig"
78
107
  - ".gitignore"
108
+ - ".idea/.rakeTasks"
109
+ - ".idea/codeStyleSettings.xml"
110
+ - ".idea/encodings.xml"
111
+ - ".idea/inspectionProfiles/Project_Default.xml"
112
+ - ".idea/misc.xml"
113
+ - ".idea/modules.xml"
114
+ - ".idea/runConfigurations/All_Features.xml"
115
+ - ".idea/runConfigurations/test__skippy.xml"
116
+ - ".idea/skippy.iml"
117
+ - ".idea/vcs.xml"
118
+ - ".vscode/launch.json"
79
119
  - ".vscode/settings.json"
120
+ - ".vscode/tasks.json"
80
121
  - Gemfile
81
122
  - LICENSE.txt
82
123
  - README.md
@@ -84,31 +125,52 @@ files:
84
125
  - Skippy.sublime-project
85
126
  - app/boot.rb
86
127
  - app/commands/debug.rb
128
+ - app/commands/lib.rb
87
129
  - app/commands/new.rb
88
130
  - app/commands/template.rb
89
131
  - app/resources/commands/example.rb
90
132
  - app/templates/standard/%ext_name%.rb.tt
91
133
  - app/templates/standard/%ext_name%/main.rb.tt
92
- - app/templates/webdialog/extension.rb.erb
93
- - app/templates/webdialog/extension/html/dialog.html
94
- - app/templates/webdialog/extension/main.rb.erb
134
+ - app/templates/webdialog/%ext_name%.rb.tt
135
+ - app/templates/webdialog/%ext_name%/html/dialog.html
136
+ - app/templates/webdialog/%ext_name%/main.rb.tt
137
+ - bin/aruba
95
138
  - bin/bundler
96
139
  - bin/console
140
+ - bin/cucumber
141
+ - bin/htmldiff
142
+ - bin/ldiff
97
143
  - bin/rake
98
144
  - bin/setup
99
145
  - bin/skippy
100
146
  - bin/thor
147
+ - cSpell.json
101
148
  - debug/skippy.bat
102
149
  - exe/skippy
150
+ - fixtures/my_lib/skippy.json
151
+ - fixtures/my_lib/src/command.rb
152
+ - fixtures/my_lib/src/geometry.rb
153
+ - fixtures/my_lib/src/tool.rb
154
+ - fixtures/my_project/skippy.json
155
+ - fixtures/my_project/skippy/commands/example.rb
156
+ - fixtures/my_project/src/hello_world.rb
157
+ - fixtures/my_project/src/hello_world/extension.json
158
+ - fixtures/my_project/src/hello_world/main.rb
103
159
  - lib/skippy.rb
104
160
  - lib/skippy/app.rb
105
161
  - lib/skippy/cli.rb
106
162
  - lib/skippy/command.rb
163
+ - lib/skippy/config.rb
164
+ - lib/skippy/config_accessors.rb
107
165
  - lib/skippy/error.rb
108
166
  - lib/skippy/group.rb
167
+ - lib/skippy/helpers/file.rb
168
+ - lib/skippy/lib_module.rb
169
+ - lib/skippy/library.rb
170
+ - lib/skippy/library_manager.rb
171
+ - lib/skippy/module_manager.rb
109
172
  - lib/skippy/namespace.rb
110
173
  - lib/skippy/project.rb
111
- - lib/skippy/skippy.rb
112
174
  - lib/skippy/version.rb
113
175
  - skippy.gemspec
114
176
  homepage: https://github.com/thomthom/skippy
@@ -131,9 +193,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
193
  version: 1.3.1
132
194
  requirements: []
133
195
  rubyforge_project:
134
- rubygems_version: 2.0.3
196
+ rubygems_version: 2.5.2
135
197
  signing_key:
136
198
  specification_version: 4
137
199
  summary: CLI development tool for SketchUp extensions.
138
200
  test_files: []
139
- has_rdoc:
@@ -1,9 +0,0 @@
1
- require 'skippy/version'
2
-
3
- module Skippy
4
-
5
- class << self
6
- attr_accessor :app
7
- end
8
-
9
- end