sproutcore-coffeescript 0.1.0 → 0.1.1
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.
@@ -13,8 +13,10 @@ module SC
|
|
13
13
|
raise "Cannot compile #{entry.source_path} because coffeescript is not installed. Please install coffeescript to continue."
|
14
14
|
end
|
15
15
|
|
16
|
-
|
17
|
-
js = CoffeeScript.compile(
|
16
|
+
coffee = readlines(entry.source_path)
|
17
|
+
js = CoffeeScript.compile(coffee)
|
18
|
+
js = rewrite_inline_code(js)
|
19
|
+
js = handle_debug_code(js)
|
18
20
|
writeline dst_path, js
|
19
21
|
end
|
20
22
|
end
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Vladimír Bobeš Tužinský"]
|
10
10
|
s.email = ["vladimir.tuzinsky@gmail.com"]
|
11
|
-
s.homepage = ""
|
11
|
+
s.homepage = "https://github.com/bobes/sproutcore-coffeescript"
|
12
12
|
s.summary = %q{SproutCore + CoffeeScript in love}
|
13
13
|
s.description = %q{Adds support for CoffeeScript to SproutCore}
|
14
14
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sproutcore-coffeescript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Vladim\xC3\xADr Bobe\xC5\xA1 Tu\xC5\xBEinsk\xC3\xBD"
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-04-23 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: sproutcore
|
@@ -55,8 +54,7 @@ files:
|
|
55
54
|
- lib/sproutcore-coffeescript/version.rb
|
56
55
|
- lib/sproutcore/builders/coffeescript.rb
|
57
56
|
- sproutcore-coffeescript.gemspec
|
58
|
-
|
59
|
-
homepage: ""
|
57
|
+
homepage: https://github.com/bobes/sproutcore-coffeescript
|
60
58
|
licenses: []
|
61
59
|
|
62
60
|
post_install_message:
|
@@ -79,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
77
|
requirements: []
|
80
78
|
|
81
79
|
rubyforge_project:
|
82
|
-
rubygems_version: 1.
|
80
|
+
rubygems_version: 1.7.2
|
83
81
|
signing_key:
|
84
82
|
specification_version: 3
|
85
83
|
summary: SproutCore + CoffeeScript in love
|