tool-shed 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/README.md +2 -1
- data/lib/shed/manifest.rb +2 -2
- data/lib/shed/project_tools.rb +1 -1
- data/lib/shed/version.rb +1 -1
- data/test/fixtures/src/org/helvector/three/HelvectorIcon.fxg +1 -0
- data/test/unit/test_manifest.rb +6 -5
- metadata +12 -6
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tool-shed (0.0.
|
4
|
+
tool-shed (0.0.16)
|
5
5
|
rake (>= 0.9.2)
|
6
6
|
|
7
7
|
GEM
|
8
|
-
remote:
|
8
|
+
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
activesupport (3.2.6)
|
11
11
|
i18n (~> 0.6)
|
@@ -15,7 +15,7 @@ GEM
|
|
15
15
|
mocha (0.12.1)
|
16
16
|
metaclass (~> 0.0.1)
|
17
17
|
multi_json (1.3.6)
|
18
|
-
rake (10.
|
18
|
+
rake (10.3.2)
|
19
19
|
shoulda (3.1.1)
|
20
20
|
shoulda-context (~> 1.0)
|
21
21
|
shoulda-matchers (~> 1.2)
|
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# Tool Shed
|
2
2
|
|
3
|
-
[![Build Status](https://secure.travis-ci.org/simongregory/tool-shed.png)](http://travis-ci.org/simongregory/tool-shed)
|
3
|
+
[![Build Status](https://secure.travis-ci.org/simongregory/tool-shed.png)](http://travis-ci.org/simongregory/tool-shed)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/simongregory/tool-shed.png)](https://codeclimate.com/github/simongregory/tool-shed)
|
4
5
|
|
5
6
|
A collection of utility scripts and rake tasks to help working with ActionScript and Flex projects. They are under development, so **don't** expect too much reliability.
|
6
7
|
|
data/lib/shed/manifest.rb
CHANGED
@@ -12,7 +12,7 @@ class Manifest < Tool
|
|
12
12
|
def initialize(opt,out=STDOUT)
|
13
13
|
super(opt,out)
|
14
14
|
|
15
|
-
@filetypes = /\.(as|mxml)$/
|
15
|
+
@filetypes = /\.(as|mxml|fxg)$/
|
16
16
|
@filter = opt[:filter] || ''
|
17
17
|
|
18
18
|
build
|
@@ -68,7 +68,7 @@ class Manifest < Tool
|
|
68
68
|
@components = scan(@src)
|
69
69
|
|
70
70
|
if @components.empty?
|
71
|
-
puts "No ActionScript or
|
71
|
+
puts "No ActionScript, MXML or FXG files found."
|
72
72
|
else
|
73
73
|
create_xml(@components)
|
74
74
|
|
data/lib/shed/project_tools.rb
CHANGED
data/lib/shed/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
HelvectorIcon.fxg
|
data/test/unit/test_manifest.rb
CHANGED
@@ -17,14 +17,15 @@ class TestManifest < Test::Unit::TestCase
|
|
17
17
|
File.delete @output
|
18
18
|
end
|
19
19
|
|
20
|
-
should "find all actionscript and
|
20
|
+
should "find all actionscript, mxml and fxg files in src tree" do
|
21
21
|
assert_equal(false, @manf.xml.empty?)
|
22
22
|
assert((@manf.components.length > 1))
|
23
|
-
assert((@manf.components.length ==
|
23
|
+
assert((@manf.components.length == 7))
|
24
24
|
|
25
|
-
assert_match(/org\.helvector\.one\.HelOneTwo/, @manf.xml)
|
26
|
-
assert_match(/org\.helvector\.one\.HelOne/, @manf.xml)
|
27
|
-
assert_match(/org\.helvector\.three\.HelThree/, @manf.xml)
|
25
|
+
assert_match(/"org\.helvector\.one\.HelOneTwo"/, @manf.xml)
|
26
|
+
assert_match(/"org\.helvector\.one\.HelOne"/, @manf.xml)
|
27
|
+
assert_match(/"org\.helvector\.three\.HelThree"/, @manf.xml)
|
28
|
+
assert_match(/"org\.helvector\.three\.HelvectorIcon"/, @manf.xml)
|
28
29
|
assert_match(/org\.helvector\.Helvector/, @manf.xml)
|
29
30
|
assert_match(/org\.helvector\.four\.helUtil/, @manf.xml)
|
30
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tool-shed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- test/fixtures/src/org/helvector/one/package.asdoc
|
127
127
|
- test/fixtures/src/org/helvector/package.asdoc
|
128
128
|
- test/fixtures/src/org/helvector/three/HelThree.as
|
129
|
+
- test/fixtures/src/org/helvector/three/HelvectorIcon.fxg
|
129
130
|
- test/fixtures/src/org/helvector/three/package.asdoc
|
130
131
|
- test/fixtures/src/org/helvector/two/HelTwo.as
|
131
132
|
- test/fixtures/src/org/helvector/two/package.asdoc
|
@@ -180,9 +181,11 @@ files:
|
|
180
181
|
- test/unit/test_tool.rb
|
181
182
|
- test/unit/test_tool_opts.rb
|
182
183
|
homepage: http://github.com/simongregory/tool-shed
|
183
|
-
licenses:
|
184
|
-
|
185
|
-
|
184
|
+
licenses:
|
185
|
+
- MIT
|
186
|
+
post_install_message: ! "Welcome to the Tool-Shed\n========================\nYou are
|
187
|
+
now tooled up 0.0.16 with a\nsmall set of utilities for keeping ActionScript 3 and\nFlex
|
188
|
+
projects in shape.\n\nThanks for installing:\n\n as-asset-vacuum\n as-class-vacuum\n
|
186
189
|
\ as-concrete\n as-docp\n as-manifest\n as-style-vacuum\n as-vacuum\n\nThe tools
|
187
190
|
are under development so may be a little\ntempremental. When they 'just work' it's
|
188
191
|
likely\nthey're running from a project root, which contains\nsrc, test and lib dirs.\n\nSee
|
@@ -198,6 +201,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
201
|
- - ! '>='
|
199
202
|
- !ruby/object:Gem::Version
|
200
203
|
version: '0'
|
204
|
+
segments:
|
205
|
+
- 0
|
206
|
+
hash: 2232127658182034219
|
201
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
208
|
none: false
|
203
209
|
requirements:
|
@@ -206,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
212
|
version: 1.3.6
|
207
213
|
requirements: []
|
208
214
|
rubyforge_project:
|
209
|
-
rubygems_version: 1.8.23
|
215
|
+
rubygems_version: 1.8.23.2
|
210
216
|
signing_key:
|
211
217
|
specification_version: 3
|
212
218
|
summary: ActionScript and Flex Project Tools
|