tool-shed 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,23 +1,18 @@
1
1
  # Tool Shed
2
2
 
3
- A collection of utility scripts and rake tasks to help working with ActionScript
4
- and Flex projects. They are under development, so **don't** expect too much reliability.
3
+ 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.
5
4
 
6
5
  All tools have help available on the command line, to view use: `as-tool-name -h`
7
6
 
8
7
  ### as-docp
9
8
 
10
- The `as-docp` tool can be used to generate a `flex-config.xml` file from package
11
- level ASDoc files. This can then be used by the `asdoc` tool when generating
12
- ASDocs for your project. To document a package create a single file with a
13
- `.asdoc` suffix to contain your ASDoc comments.
9
+ The `as-docp` tool can be used to generate a `flex-config.xml` file from package level ASDoc files. This can then be used by the `asdoc` tool when generating ASDocs for your project. To document a package create a single file with a `.asdoc` suffix to contain your ASDoc comments.
14
10
 
15
11
  as-docp -s src -o tmp/asdocp-config.xml
16
12
 
17
13
  ### as-manifest
18
14
 
19
- Scans a specified source tree for ActionScript and MXML files and for each one
20
- found creates a manifest entry. When complete writes the results to disk.
15
+ Scans a specified source tree for ActionScript and MXML files and for each one found creates a manifest entry. When complete writes the results to disk.
21
16
 
22
17
  as-manifest
23
18
  as-manifest -s source/main -o project-manifest.xml
@@ -25,14 +20,11 @@ found creates a manifest entry. When complete writes the results to disk.
25
20
 
26
21
  ### as-class-vacuum
27
22
 
28
- Compares a `mxmlc` generated `link-report.xml` against a `manifest.xml` file to
29
- identify files that are in a project source tree but are no longer compiled
30
- into the application.
23
+ Compares a `mxmlc` generated `link-report.xml` against a `manifest.xml` file to identify files that are in a project source tree but are no longer compiled into the application.
31
24
 
32
25
  as-class-vacuum -s src/main -o report/vacuum/class.xml -l report/link/app-link-report.xml -m manifest.xml
33
26
 
34
- To generate a link report via mxmlc use `-link-report=report.xml` in the compiler
35
- arguments.
27
+ To generate a link report via mxmlc use `-link-report=report.xml` in the compiler arguments.
36
28
 
37
29
  ### as-style-vacuum
38
30
 
@@ -43,25 +35,20 @@ styles that are not referenced in the source tree.
43
35
 
44
36
  ### as-asset-vacuum
45
37
 
46
- This script scans a source tree for assets of types `jpg, jpeg, png, otf, ttf,
47
- swf, svg, mp3, gif` then searches all ActionScript, CSS and MXML files to
48
- identify which assets are not referenced in the source files.
38
+ This script scans a source tree for assets of types `jpg, jpeg, png, otf, ttf, swf, svg, mp3, gif` then searches all ActionScript, CSS and MXML files to identify which assets are not referenced in the source files.
49
39
 
50
40
  as-asset-vacuum
51
41
  as-asset-vacuum -s source/main -o report/vacuum/asset.xml
52
-
42
+
53
43
  ### as-concrete
54
44
 
55
- Takes an Interface and generates a concrete class from it. Output is directed to
56
- standard out. Using the `--type` argument will change the format, by default an
57
- ActionScript class is generated, using `-t imp` only outputs the accessor and
58
- method implementations, and `-t mock4as` will generate a Mock4AS class.
45
+ Takes an Interface and generates a concrete class from it. Output is directed to standard out. Using the `--type` argument will change the format, by default an ActionScript class is generated, using `-t imp` only outputs the accessor and method implementations, and `-t mock4as` will generate a Mock4AS class.
59
46
 
60
47
  as-concrete -i IShed.as
61
48
  as-concrete -i IShed.as -t mock4as
62
49
  as-concrete -i IShed.as -t class
63
50
  as-concrete -i IShed.as -t imp
64
-
51
+
65
52
  ## Rake tasks
66
53
 
67
54
  Insert Copyright headers into all of your ActionScript source files
@@ -69,7 +56,7 @@ Insert Copyright headers into all of your ActionScript source files
69
56
  headers do |t|
70
57
  t.copyright = 'Copyright MMXI Big Corporation. All Rights Reserved.'
71
58
  end
72
-
59
+
73
60
  To generate a manifest.xml file for use when declaring namespaces to the flex compilers
74
61
 
75
62
  manifest do |t|
data/bin/as-vacuum CHANGED
File without changes
@@ -43,12 +43,12 @@ module FlexHeaders
43
43
 
44
44
  def as3_header
45
45
  %{//AS3///////////////////////////////////////////////////////////////////////////
46
- //
47
- // [COPYRIGHT]
48
- //
49
- ////////////////////////////////////////////////////////////////////////////////
46
+ //
47
+ // [COPYRIGHT]
48
+ //
49
+ ////////////////////////////////////////////////////////////////////////////////
50
50
 
51
- }
51
+ }
52
52
  end
53
53
  end
54
54
  end
data/lib/shed/version.rb CHANGED
@@ -5,7 +5,7 @@ module ToolShed #:nodoc:
5
5
  module VERSION #:nodoc:
6
6
  MAJOR = 0
7
7
  MINOR = 0
8
- TINY = 12
8
+ TINY = 13
9
9
 
10
10
  STRING = [MAJOR, MINOR, TINY].join('.')
11
11
  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.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-06 00:00:00.000000000Z
12
+ date: 2012-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70340588969180 !ruby/object:Gem::Requirement
16
+ requirement: &70220740076880 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70340588969180
24
+ version_requirements: *70220740076880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: shoulda
27
- requirement: &70340588968440 !ruby/object:Gem::Requirement
27
+ requirement: &70220740076180 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70340588968440
35
+ version_requirements: *70220740076180
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: mocha
38
- requirement: &70340588967740 !ruby/object:Gem::Requirement
38
+ requirement: &70220740075560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70340588967740
46
+ version_requirements: *70220740075560
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: metric_fu
49
- requirement: &70340588966980 !ruby/object:Gem::Requirement
49
+ requirement: &70220740074900 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.1.1
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70340588966980
57
+ version_requirements: *70220740074900
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: ci_reporter
60
- requirement: &70340588966140 !ruby/object:Gem::Requirement
60
+ requirement: &70220740074220 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 1.6.5
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70340588966140
68
+ version_requirements: *70220740074220
69
69
  description: Utility scripts and Rake tasks for working with ActionScript and Flex
70
70
  projects.
71
71
  email: tool-shed@helvector.org
@@ -187,28 +187,12 @@ files:
187
187
  - test/unit/test_tool_opts.rb
188
188
  homepage: http://github.com/simongregory/tool-shed
189
189
  licenses: []
190
- post_install_message: ! 'Welcome to the Tool-Shed
191
-
192
- ========================
193
-
194
- Get Tooled Up 0.0.12. Kick off.
195
-
196
-
197
- Thanks for installing, the tools are under development
198
-
199
- so may be a little tempremental. When they ''just work''
200
-
201
- it''s likely they''re running from a project root, which
202
-
203
- contains src, test and lib dirs.
204
-
205
-
206
- See the README for more details, each tool can be run
207
-
208
- with -h for a list of options.
209
-
210
-
211
- '
190
+ post_install_message: ! "Welcome to the Tool-Shed\n========================\nGet Tooled
191
+ Up 0.0.13. Kick off.\n\nThanks for installing:\n\n as-asset-vacuum\n as-class-vacuum\n
192
+ \ as-concrete\n as-docp\n as-manifest\n as-style-vacuum\n as-vacuum\n\nThe tools
193
+ are under development so may be a little\ntempremental. When they 'just work' it's
194
+ likely\nthey're running from a project root, which contains\nsrc, test and lib dirs.\n\nSee
195
+ the README for more details, each tool can be run\nwith -h for a list of options.\n\n"
212
196
  rdoc_options:
213
197
  - --charset=UTF-8
214
198
  require_paths: