mack-javascript 0.8.1 → 0.8.2

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 (29) hide show
  1. data/lib/gems/json_pure-1.1.3/VERSION +1 -0
  2. data/lib/gems/json_pure-1.1.3/bin/edit_json.rb +10 -0
  3. data/lib/gems/json_pure-1.1.3/bin/prettify_json.rb +76 -0
  4. data/lib/gems/json_pure-1.1.3/lib/json/Array.xpm +21 -0
  5. data/lib/gems/json_pure-1.1.3/lib/json/FalseClass.xpm +21 -0
  6. data/lib/gems/json_pure-1.1.3/lib/json/Hash.xpm +21 -0
  7. data/lib/gems/json_pure-1.1.3/lib/json/Key.xpm +73 -0
  8. data/lib/gems/json_pure-1.1.3/lib/json/NilClass.xpm +21 -0
  9. data/lib/gems/json_pure-1.1.3/lib/json/Numeric.xpm +28 -0
  10. data/lib/gems/json_pure-1.1.3/lib/json/String.xpm +96 -0
  11. data/lib/gems/json_pure-1.1.3/lib/json/TrueClass.xpm +21 -0
  12. data/lib/gems/json_pure-1.1.3/lib/json/add/core.rb +135 -0
  13. data/lib/gems/json_pure-1.1.3/lib/json/add/rails.rb +58 -0
  14. data/lib/gems/json_pure-1.1.3/lib/json/common.rb +354 -0
  15. data/lib/gems/json_pure-1.1.3/lib/json/editor.rb +1362 -0
  16. data/lib/gems/json_pure-1.1.3/lib/json/ext.rb +13 -0
  17. data/lib/gems/json_pure-1.1.3/lib/json/json.xpm +1499 -0
  18. data/lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb +394 -0
  19. data/lib/gems/json_pure-1.1.3/lib/json/pure/parser.rb +259 -0
  20. data/lib/gems/json_pure-1.1.3/lib/json/pure.rb +75 -0
  21. data/lib/gems/json_pure-1.1.3/lib/json/version.rb +9 -0
  22. data/lib/gems/json_pure-1.1.3/lib/json.rb +235 -0
  23. data/lib/gems.rb +13 -0
  24. data/lib/mack-javascript/generators/templates/javascripts/prototype.js.template +1 -1
  25. data/lib/mack-javascript/rendering/engine/rjs.rb +3 -0
  26. data/lib/mack-javascript/rendering/type/js.rb +7 -3
  27. data/lib/mack-javascript/view_helpers/html_helpers.rb +11 -0
  28. data/lib/mack-javascript.rb +2 -0
  29. metadata +50 -16
@@ -0,0 +1,75 @@
1
+ require 'json/common'
2
+ require 'json/pure/parser'
3
+ require 'json/pure/generator'
4
+
5
+ module JSON
6
+ begin
7
+ require 'iconv'
8
+ # An iconv instance to convert from UTF8 to UTF16 Big Endian.
9
+ UTF16toUTF8 = Iconv.new('utf-8', 'utf-16be') # :nodoc:
10
+ # An iconv instance to convert from UTF16 Big Endian to UTF8.
11
+ UTF8toUTF16 = Iconv.new('utf-16be', 'utf-8') # :nodoc:
12
+ UTF8toUTF16.iconv('no bom')
13
+ rescue Errno::EINVAL, Iconv::InvalidEncoding
14
+ # Iconv doesn't support big endian utf-16. Let's try to hack this manually
15
+ # into the converters.
16
+ begin
17
+ old_verbose, $VERBSOSE = $VERBOSE, nil
18
+ # An iconv instance to convert from UTF8 to UTF16 Big Endian.
19
+ UTF16toUTF8 = Iconv.new('utf-8', 'utf-16') # :nodoc:
20
+ # An iconv instance to convert from UTF16 Big Endian to UTF8.
21
+ UTF8toUTF16 = Iconv.new('utf-16', 'utf-8') # :nodoc:
22
+ UTF8toUTF16.iconv('no bom')
23
+ if UTF8toUTF16.iconv("\xe2\x82\xac") == "\xac\x20"
24
+ swapper = Class.new do
25
+ def initialize(iconv) # :nodoc:
26
+ @iconv = iconv
27
+ end
28
+
29
+ def iconv(string) # :nodoc:
30
+ result = @iconv.iconv(string)
31
+ JSON.swap!(result)
32
+ end
33
+ end
34
+ UTF8toUTF16 = swapper.new(UTF8toUTF16) # :nodoc:
35
+ end
36
+ if UTF16toUTF8.iconv("\xac\x20") == "\xe2\x82\xac"
37
+ swapper = Class.new do
38
+ def initialize(iconv) # :nodoc:
39
+ @iconv = iconv
40
+ end
41
+
42
+ def iconv(string) # :nodoc:
43
+ string = JSON.swap!(string.dup)
44
+ @iconv.iconv(string)
45
+ end
46
+ end
47
+ UTF16toUTF8 = swapper.new(UTF16toUTF8) # :nodoc:
48
+ end
49
+ rescue Errno::EINVAL, Iconv::InvalidEncoding
50
+ raise MissingUnicodeSupport, "iconv doesn't seem to support UTF-8/UTF-16 conversions"
51
+ ensure
52
+ $VERBOSE = old_verbose
53
+ end
54
+ rescue LoadError
55
+ raise MissingUnicodeSupport,
56
+ "iconv couldn't be loaded, which is required for UTF-8/UTF-16 conversions"
57
+ end
58
+
59
+ # Swap consecutive bytes of _string_ in place.
60
+ def self.swap!(string) # :nodoc:
61
+ 0.upto(string.size / 2) do |i|
62
+ break unless string[2 * i + 1]
63
+ string[2 * i], string[2 * i + 1] = string[2 * i + 1], string[2 * i]
64
+ end
65
+ string
66
+ end
67
+
68
+ # This module holds all the modules/classes that implement JSON's
69
+ # functionality in pure ruby.
70
+ module Pure
71
+ $DEBUG and warn "Using pure library for JSON."
72
+ JSON.parser = Parser
73
+ JSON.generator = Generator
74
+ end
75
+ end
@@ -0,0 +1,9 @@
1
+ module JSON
2
+ # JSON version
3
+ VERSION = '1.1.3'
4
+ VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
5
+ VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
+ VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
7
+ VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
8
+ VARIANT_BINARY = false
9
+ end
@@ -0,0 +1,235 @@
1
+ require 'json/common'
2
+ # = json - JSON for Ruby
3
+ #
4
+ # == Description
5
+ #
6
+ # This is a implementation of the JSON specification according to RFC 4627
7
+ # (http://www.ietf.org/rfc/rfc4627.txt). Starting from version 1.0.0 on there
8
+ # will be two variants available:
9
+ #
10
+ # * A pure ruby variant, that relies on the iconv and the stringscan
11
+ # extensions, which are both part of the ruby standard library.
12
+ # * The quite a bit faster C extension variant, which is in parts implemented
13
+ # in C and comes with its own unicode conversion functions and a parser
14
+ # generated by the ragel state machine compiler
15
+ # (http://www.cs.queensu.ca/~thurston/ragel).
16
+ #
17
+ # Both variants of the JSON generator escape all non-ASCII an control
18
+ # characters with \uXXXX escape sequences, and support UTF-16 surrogate pairs
19
+ # in order to be able to generate the whole range of unicode code points. This
20
+ # means that generated JSON text is encoded as UTF-8 (because ASCII is a subset
21
+ # of UTF-8) and at the same time avoids decoding problems for receiving
22
+ # endpoints, that don't expect UTF-8 encoded texts. On the negative side this
23
+ # may lead to a bit longer strings than necessarry.
24
+ #
25
+ # All strings, that are to be encoded as JSON strings, should be UTF-8 byte
26
+ # sequences on the Ruby side. To encode raw binary strings, that aren't UTF-8
27
+ # encoded, please use the to_json_raw_object method of String (which produces
28
+ # an object, that contains a byte array) and decode the result on the receiving
29
+ # endpoint.
30
+ #
31
+ # == Author
32
+ #
33
+ # Florian Frank <mailto:flori@ping.de>
34
+ #
35
+ # == License
36
+ #
37
+ # This software is distributed under the same license as Ruby itself, see
38
+ # http://www.ruby-lang.org/en/LICENSE.txt.
39
+ #
40
+ # == Download
41
+ #
42
+ # The latest version of this library can be downloaded at
43
+ #
44
+ # * http://rubyforge.org/frs?group_id=953
45
+ #
46
+ # Online Documentation should be located at
47
+ #
48
+ # * http://json.rubyforge.org
49
+ #
50
+ # == Usage
51
+ #
52
+ # To use JSON you can
53
+ # require 'json'
54
+ # to load the installed variant (either the extension 'json' or the pure
55
+ # variant 'json_pure'). If you have installed the extension variant, you can
56
+ # pick either the extension variant or the pure variant by typing
57
+ # require 'json/ext'
58
+ # or
59
+ # require 'json/pure'
60
+ #
61
+ # You can choose to load a set of common additions to ruby core's objects if
62
+ # you
63
+ # require 'json/add/core'
64
+ #
65
+ # After requiring this you can, e. g., serialise/deserialise Ruby ranges:
66
+ #
67
+ # JSON JSON(1..10) # => 1..10
68
+ #
69
+ # To find out how to add JSON support to other or your own classes, read the
70
+ # Examples section below.
71
+ #
72
+ # To get the best compatibility to rails' JSON implementation, you can
73
+ # require 'json/add/rails'
74
+ #
75
+ # Both of the additions attempt to require 'json' (like above) first, if it has
76
+ # not been required yet.
77
+ #
78
+ # == Speed Comparisons
79
+ #
80
+ # I have created some benchmark results (see the benchmarks subdir of the
81
+ # package) for the JSON-Parser to estimate the speed up in the C extension:
82
+ #
83
+ # JSON::Pure::Parser:: 28.90 calls/second
84
+ # JSON::Ext::Parser:: 505.50 calls/second
85
+ #
86
+ # This is ca. <b>17.5</b> times the speed of the pure Ruby implementation.
87
+ #
88
+ # I have benchmarked the JSON-Generator as well. This generates a few more
89
+ # values, because there are different modes, that also influence the achieved
90
+ # speed:
91
+ #
92
+ # * JSON::Pure::Generator:
93
+ # generate:: 35.06 calls/second
94
+ # pretty_generate:: 34.00 calls/second
95
+ # fast_generate:: 41.06 calls/second
96
+ #
97
+ # * JSON::Ext::Generator:
98
+ # generate:: 492.11 calls/second
99
+ # pretty_generate:: 348.85 calls/second
100
+ # fast_generate:: 541.60 calls/second
101
+ #
102
+ # * Speedup Ext/Pure:
103
+ # generate safe:: 14.0 times
104
+ # generate pretty:: 10.3 times
105
+ # generate fast:: 13.2 times
106
+ #
107
+ # The rails framework includes a generator as well, also it seems to be rather
108
+ # slow: I measured only 23.87 calls/second which is slower than any of my pure
109
+ # generator results. Here a comparison of the different speedups with the Rails
110
+ # measurement as the divisor:
111
+ #
112
+ # * Speedup Pure/Rails:
113
+ # generate safe:: 1.5 times
114
+ # generate pretty:: 1.4 times
115
+ # generate fast:: 1.7 times
116
+ #
117
+ # * Speedup Ext/Rails:
118
+ # generate safe:: 20.6 times
119
+ # generate pretty:: 14.6 times
120
+ # generate fast:: 22.7 times
121
+ #
122
+ # To achieve the fastest JSON text output, you can use the
123
+ # fast_generate/fast_unparse methods. Beware, that this will disable the
124
+ # checking for circular Ruby data structures, which may cause JSON to go into
125
+ # an infinite loop.
126
+ #
127
+ # == Examples
128
+ #
129
+ # To create a JSON text from a ruby data structure, you
130
+ # can call JSON.generate (or JSON.unparse) like that:
131
+ #
132
+ # json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
133
+ # # => "[1,2,{\"a\":3.141},false,true,null,\"4..10\"]"
134
+ #
135
+ # To create a valid JSON text you have to make sure, that the output is
136
+ # embedded in either a JSON array [] or a JSON object {}. The easiest way to do
137
+ # this, is by putting your values in a Ruby Array or Hash instance.
138
+ #
139
+ # To get back a ruby data structure from a JSON text, you have to call
140
+ # JSON.parse on it:
141
+ #
142
+ # JSON.parse json
143
+ # # => [1, 2, {"a"=>3.141}, false, true, nil, "4..10"]
144
+ #
145
+ # Note, that the range from the original data structure is a simple
146
+ # string now. The reason for this is, that JSON doesn't support ranges
147
+ # or arbitrary classes. In this case the json library falls back to call
148
+ # Object#to_json, which is the same as #to_s.to_json.
149
+ #
150
+ # It's possible to add JSON support serialization to arbitrary classes by
151
+ # simply implementing a more specialized version of the #to_json method, that
152
+ # should return a JSON object (a hash converted to JSON with #to_json) like
153
+ # this (don't forget the *a for all the arguments):
154
+ #
155
+ # class Range
156
+ # def to_json(*a)
157
+ # {
158
+ # 'json_class' => self.class.name, # = 'Range'
159
+ # 'data' => [ first, last, exclude_end? ]
160
+ # }.to_json(*a)
161
+ # end
162
+ # end
163
+ #
164
+ # The hash key 'json_class' is the class, that will be asked to deserialise the
165
+ # JSON representation later. In this case it's 'Range', but any namespace of
166
+ # the form 'A::B' or '::A::B' will do. All other keys are arbitrary and can be
167
+ # used to store the necessary data to configure the object to be deserialised.
168
+ #
169
+ # If a the key 'json_class' is found in a JSON object, the JSON parser checks
170
+ # if the given class responds to the json_create class method. If so, it is
171
+ # called with the JSON object converted to a Ruby hash. So a range can
172
+ # be deserialised by implementing Range.json_create like this:
173
+ #
174
+ # class Range
175
+ # def self.json_create(o)
176
+ # new(*o['data'])
177
+ # end
178
+ # end
179
+ #
180
+ # Now it possible to serialise/deserialise ranges as well:
181
+ #
182
+ # json = JSON.generate [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
183
+ # # => "[1,2,{\"a\":3.141},false,true,null,{\"json_class\":\"Range\",\"data\":[4,10,false]}]"
184
+ # JSON.parse json
185
+ # # => [1, 2, {"a"=>3.141}, false, true, nil, 4..10]
186
+ #
187
+ # JSON.generate always creates the shortest possible string representation of a
188
+ # ruby data structure in one line. This good for data storage or network
189
+ # protocols, but not so good for humans to read. Fortunately there's also
190
+ # JSON.pretty_generate (or JSON.pretty_generate) that creates a more
191
+ # readable output:
192
+ #
193
+ # puts JSON.pretty_generate([1, 2, {"a"=>3.141}, false, true, nil, 4..10])
194
+ # [
195
+ # 1,
196
+ # 2,
197
+ # {
198
+ # "a": 3.141
199
+ # },
200
+ # false,
201
+ # true,
202
+ # null,
203
+ # {
204
+ # "json_class": "Range",
205
+ # "data": [
206
+ # 4,
207
+ # 10,
208
+ # false
209
+ # ]
210
+ # }
211
+ # ]
212
+ #
213
+ # There are also the methods Kernel#j for unparse, and Kernel#jj for
214
+ # pretty_unparse output to the console, that work analogous to Core Ruby's p
215
+ # and the pp library's pp methods.
216
+ #
217
+ # The script tools/server.rb contains a small example if you want to test, how
218
+ # receiving a JSON object from a webrick server in your browser with the
219
+ # javasript prototype library (http://www.prototypejs.org) works.
220
+ #
221
+ module JSON
222
+ require 'json/version'
223
+
224
+ if VARIANT_BINARY
225
+ require 'json/ext'
226
+ else
227
+ begin
228
+ require 'json/ext'
229
+ rescue LoadError
230
+ require 'json/pure'
231
+ end
232
+ end
233
+
234
+ JSON_LOADED = true
235
+ end
data/lib/gems.rb ADDED
@@ -0,0 +1,13 @@
1
+ path = File.expand_path(File.join(File.dirname(__FILE__), 'gems'))
2
+ Gem.set_paths(path)
3
+
4
+ Dir.glob(File.join(path, '*')).each do |p|
5
+ full_gem_name = File.basename(p)
6
+ version = full_gem_name.match(/([\d\.?]+)/).to_s
7
+ gem_name = full_gem_name.gsub("-#{version}", '')
8
+ $:.unshift(File.join(p, 'lib'))
9
+ begin
10
+ gem gem_name, "~> #{version}"
11
+ rescue Gem::LoadError
12
+ end
13
+ end
@@ -3353,7 +3353,7 @@ Object.extend(Selector, {
3353
3353
  findChildElements: function(element, expressions) {
3354
3354
  var exprs = expressions.join(',');
3355
3355
  expressions = [];
3356
- exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {
3356
+ exprs.scan(/(([\w#:.>=+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {
3357
3357
  expressions.push(m[1].strip());
3358
3358
  });
3359
3359
  var results = [], h = Selector.handlers;
@@ -5,6 +5,9 @@ module Mack
5
5
  class Rjs < Mack::Rendering::Engine::Base
6
6
 
7
7
  def render(io, binding)
8
+ if io.is_a?(File)
9
+ io = io.read
10
+ end
8
11
  @_jsp_page = Mack::JavaScript::ScriptGenerator.new
9
12
  view_template.instance_variable_set("@_jsp_page", @_jsp_page)
10
13
  eval(io, binding)
@@ -21,12 +21,16 @@ module Mack
21
21
 
22
22
  # See Mack::Rendering::Type::FileBase render_file for more information.
23
23
  def render
24
- self.options[:format] = "js"
25
- self.controller.response["Content-Type"] = Mack::Utils::MimeTypes[self.options[:format]]
26
- x_file = File.join(self.controller_view_path, "#{self._render_value}.#{self.options[:format]}")
24
+ self._options[:format] = "js"
25
+ self.controller.response["Content-Type"] = Mack::Utils::MimeTypes[self._options[:format]]
26
+ x_file = File.join(self.controller_view_path, "#{self._render_value}.#{self._options[:format]}")
27
27
  render_file(x_file, :js)
28
28
  end
29
29
 
30
+ def allow_layout?
31
+ false
32
+ end
33
+
30
34
  end # Xml
31
35
  end # Type
32
36
  end # Rendering
@@ -41,6 +41,17 @@ module Mack
41
41
  Mack::JavaScript::ScriptGenerator.new
42
42
  end
43
43
 
44
+ # Returns a button that links to a remote function.
45
+ #
46
+ # Example:
47
+ # button_to_remote('Create', :url => '/foo') # => <button onclick="new Ajax.Request('/foo', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this.form)}); return false" type="submit">Create</button>
48
+ def button_to_remote(value = "Submit", options = {}, *original_args)
49
+ with = options.delete(:with) || 'Form.serialize(this.form)'
50
+ url = options.delete(:url) || '#'
51
+ options[:onclick] = remote_function(:with => with, :url => url) + '; return false'
52
+ submit_button(value, options, *original_args)
53
+ end
54
+
44
55
  end
45
56
  end
46
57
  end
@@ -1,3 +1,5 @@
1
+ require File.join(File.dirname(__FILE__), 'gems')
2
+
1
3
  # require all supporting files
2
4
  fl = File.join(File.dirname(__FILE__), "mack-javascript")
3
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-javascript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerardo Pis-Lopez
@@ -9,19 +9,10 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-10-26 00:00:00 -04:00
12
+ date: 2008-11-30 00:00:00 -05:00
13
13
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: json_pure
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 1.1.3
24
- version:
14
+ dependencies: []
15
+
25
16
  description: RJS support for the Mack Framework
26
17
  email: mark@mackframework.com
27
18
  executables: []
@@ -31,8 +22,46 @@ extensions: []
31
22
  extra_rdoc_files: []
32
23
 
33
24
  files:
25
+ - lib/gems
26
+ - lib/gems/cache
27
+ - lib/gems/doc
28
+ - lib/gems/gems
29
+ - lib/gems/json_pure-1.1.3
30
+ - lib/gems/json_pure-1.1.3/bin
31
+ - lib/gems/json_pure-1.1.3/bin/edit_json.rb
32
+ - lib/gems/json_pure-1.1.3/bin/prettify_json.rb
33
+ - lib/gems/json_pure-1.1.3/lib
34
+ - lib/gems/json_pure-1.1.3/lib/json
35
+ - lib/gems/json_pure-1.1.3/lib/json/add
36
+ - lib/gems/json_pure-1.1.3/lib/json/add/core.rb
37
+ - lib/gems/json_pure-1.1.3/lib/json/add/rails.rb
38
+ - lib/gems/json_pure-1.1.3/lib/json/Array.xpm
39
+ - lib/gems/json_pure-1.1.3/lib/json/common.rb
40
+ - lib/gems/json_pure-1.1.3/lib/json/editor.rb
41
+ - lib/gems/json_pure-1.1.3/lib/json/ext.rb
42
+ - lib/gems/json_pure-1.1.3/lib/json/FalseClass.xpm
43
+ - lib/gems/json_pure-1.1.3/lib/json/Hash.xpm
44
+ - lib/gems/json_pure-1.1.3/lib/json/json.xpm
45
+ - lib/gems/json_pure-1.1.3/lib/json/Key.xpm
46
+ - lib/gems/json_pure-1.1.3/lib/json/NilClass.xpm
47
+ - lib/gems/json_pure-1.1.3/lib/json/Numeric.xpm
48
+ - lib/gems/json_pure-1.1.3/lib/json/pure
49
+ - lib/gems/json_pure-1.1.3/lib/json/pure/generator.rb
50
+ - lib/gems/json_pure-1.1.3/lib/json/pure/parser.rb
51
+ - lib/gems/json_pure-1.1.3/lib/json/pure.rb
52
+ - lib/gems/json_pure-1.1.3/lib/json/String.xpm
53
+ - lib/gems/json_pure-1.1.3/lib/json/TrueClass.xpm
54
+ - lib/gems/json_pure-1.1.3/lib/json/version.rb
55
+ - lib/gems/json_pure-1.1.3/lib/json.rb
56
+ - lib/gems/json_pure-1.1.3/VERSION
57
+ - lib/gems/specifications
58
+ - lib/gems.rb
59
+ - lib/mack-javascript
60
+ - lib/mack-javascript/generators
34
61
  - lib/mack-javascript/generators/javascript_generator.rb
35
62
  - lib/mack-javascript/generators/manifest.yml
63
+ - lib/mack-javascript/generators/templates
64
+ - lib/mack-javascript/generators/templates/javascripts
36
65
  - lib/mack-javascript/generators/templates/javascripts/controls.js.template
37
66
  - lib/mack-javascript/generators/templates/javascripts/dragdrop.js.template
38
67
  - lib/mack-javascript/generators/templates/javascripts/effects.js.template
@@ -40,12 +69,17 @@ files:
40
69
  - lib/mack-javascript/generators/templates/javascripts/jquery-ui.js.template
41
70
  - lib/mack-javascript/generators/templates/javascripts/jquery.js.template
42
71
  - lib/mack-javascript/generators/templates/javascripts/prototype.js.template
72
+ - lib/mack-javascript/helpers
43
73
  - lib/mack-javascript/helpers/jquery_helper.rb
44
74
  - lib/mack-javascript/helpers/prototype_helper.rb
45
75
  - lib/mack-javascript/helpers/script_generator.rb
46
76
  - lib/mack-javascript/helpers/testing_helpers.rb
77
+ - lib/mack-javascript/rendering
78
+ - lib/mack-javascript/rendering/engine
47
79
  - lib/mack-javascript/rendering/engine/rjs.rb
80
+ - lib/mack-javascript/rendering/type
48
81
  - lib/mack-javascript/rendering/type/js.rb
82
+ - lib/mack-javascript/view_helpers
49
83
  - lib/mack-javascript/view_helpers/html_helpers.rb
50
84
  - lib/mack-javascript/view_helpers/string_helpers.rb
51
85
  - lib/mack-javascript.rb
@@ -53,8 +87,8 @@ files:
53
87
  has_rdoc: true
54
88
  homepage: http://www.mackframework.com
55
89
  post_install_message:
56
- rdoc_options: []
57
-
90
+ rdoc_options:
91
+ - --exclude=gems/
58
92
  require_paths:
59
93
  - lib
60
94
  - lib
@@ -73,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
107
  requirements: []
74
108
 
75
109
  rubyforge_project: magrathea
76
- rubygems_version: 1.2.0
110
+ rubygems_version: 1.3.1
77
111
  signing_key:
78
112
  specification_version: 2
79
113
  summary: JavaScript in Mack