fcshd 0.7.2 → 0.8.0

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.
data/bin/fcshc CHANGED
@@ -9,6 +9,7 @@ rescue LoadError
9
9
  end
10
10
 
11
11
  require "optparse"
12
+ require "shellwords"
12
13
  require "socket"
13
14
 
14
15
  def die(message)
@@ -70,7 +71,8 @@ Dependencies can also be specified by name using the `-l LIB` option,
70
71
  which will search for LIB or LIB.swc in `~/.fcshd-lib`. Both source
71
72
  directories, SWC directories, and SWC files can be named in this way.
72
73
 
73
- To pass extra arguments, use e.g. `-X -include-file -X NAME -X FILE`.
74
+ To pass extra arguments, use e.g. `-X -include-file -X NAME -X FILE`
75
+ or `--extra-arguments='-include-file NAME FILE'`.
74
76
 
75
77
  EOF
76
78
 
@@ -124,6 +126,11 @@ EOF
124
126
  $extra_arguments << value
125
127
  end
126
128
 
129
+ parser.on("--extra-arguments ARGUMENTS", "Pass ARGUMENTS to the compiler") do |value|
130
+ $run_compilation = true
131
+ $extra_arguments.concat(value.shellsplit)
132
+ end
133
+
127
134
  parser.separator ""
128
135
 
129
136
  parser.on("-R", "--restart", "Restart the compiler first") do
@@ -56,9 +56,6 @@ EOF
56
56
 
57
57
  when /^Interface method (.+) in namespace (.+) not implemented by class (.+)\.$/ then <<EOF
58
58
  error: #{quote $1} (from #{name $2}) not implemented
59
- EOF
60
- when /^Interface method (.+) in namespace (.+) not implemented by class (.+)\.$/ then <<EOF
61
- error: #{quote $1} (from #{name $2}) not implemented
62
59
  EOF
63
60
  when /^Interface method (.+) in namespace (.+) is implemented with an incompatible signature in class (.+)\.$/ then <<EOF
64
61
  error: #{quote $1} (from #{name $2}) implemented incorrectly
@@ -1,5 +1,5 @@
1
1
  unless defined? FCSHD::VERSION
2
2
  module FCSHD
3
- VERSION = "0.7.2"
3
+ VERSION = "0.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,39 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fcshd
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 2
10
- version: 0.7.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Daniel Brockman
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-20 00:00:00 Z
12
+ date: 2012-06-05 00:00:00.000000000 Z
19
13
  dependencies: []
14
+ description: ! 'By using a client-server architecture, we are able to make the Adobe
15
+ Flex
20
16
 
21
- description: |
22
- By using a client-server architecture, we are able to make the Adobe Flex
23
17
  compiler run fast while still being usable in command-line environments.
24
- In practice, you start the `fcshd' server, and are then able to use the
25
- client program `fcshc' as a faster and more usable replacement for `mxmlc'.
26
18
 
19
+ In practice, you start the `fcshd'' server, and are then able to use the
20
+
21
+ client program `fcshc'' as a faster and more usable replacement for `mxmlc''.
22
+
23
+ '
27
24
  email: daniel@gointeractive.se
28
- executables:
25
+ executables:
29
26
  - fcshd
30
27
  - fcshc
31
28
  - fcshc-repl
32
29
  extensions: []
33
-
34
30
  extra_rdoc_files: []
35
-
36
- files:
31
+ files:
37
32
  - .gitignore
38
33
  - Gemfile
39
34
  - Gemfile.lock
@@ -57,36 +52,26 @@ files:
57
52
  - lib/fcshd/version.rb
58
53
  homepage: http://github.com/dbrock/fcshd
59
54
  licenses: []
60
-
61
55
  post_install_message:
62
56
  rdoc_options: []
63
-
64
- require_paths:
57
+ require_paths:
65
58
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
59
+ required_ruby_version: !ruby/object:Gem::Requirement
67
60
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
- required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
66
  none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
84
71
  requirements: []
85
-
86
72
  rubyforge_project:
87
- rubygems_version: 1.8.22
73
+ rubygems_version: 1.8.24
88
74
  signing_key:
89
75
  specification_version: 3
90
76
  summary: Usable CLI for the Adobe Flex compiler shell (fcsh)
91
77
  test_files: []
92
-