ember_script 0.0.4 → 0.0.5

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/.gitignore CHANGED
@@ -1,49 +1,4 @@
1
- # rcov generated
2
- coverage
3
- coverage.data
4
-
5
- # rdoc generated
6
- rdoc
7
-
8
- # yard generated
9
- doc
10
- .yardoc
11
-
12
- # bundler
13
1
  .bundle
14
-
15
- # jeweler generated
16
- pkg
17
-
18
- # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
19
- #
20
- # * Create a file at ~/.gitignore
21
- # * Include files you want ignored
22
- # * Run: git config --global core.excludesfile ~/.gitignore
23
- #
24
- # After doing this, these files will be ignored in all your git projects,
25
- # saving you from having to 'pollute' every project you touch with them
26
- #
27
- # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
28
- #
29
- # For MacOS:
30
- #
31
- #.DS_Store
32
-
33
- # For TextMate
34
- #*.tmproj
35
- #tmtags
36
-
37
- # For emacs:
38
- #*~
39
- #\#*
40
- #.\#*
41
-
42
- # For vim:
43
- #*.swp
44
-
45
- # For redcar:
46
- #.redcar
47
-
48
- # For rubinius:
49
- #*.rbc
2
+ .DS_Store
3
+ Gemfile.lock
4
+ *.gem
data/.travis.yml CHANGED
@@ -1,10 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
- before_install:
5
- - sudo apt-get -y install python-software-properties
6
- - sudo add-apt-repository -y ppa:chris-lea/node.js
7
- - sudo apt-get update
8
- - sudo apt-get -y install nodejs npm
9
- - sudo npm install -g 'git://github.com/ghempton/ember-script.git#HEAD'
10
4
  script: "bundle exec rspec"
data/ember_script.gemspec CHANGED
@@ -1,4 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ require 'date'
2
3
  require File.expand_path("../lib/ember_script/version", __FILE__)
3
4
 
4
5
  Gem::Specification.new do |gem|
data/lib/ember_script.rb CHANGED
@@ -46,7 +46,7 @@ module EmberScript
46
46
  end
47
47
  bare = options[:bare] ? "--bare" : ""
48
48
 
49
- Source.context.call("EmberScript.em2js", script, options)
49
+ Source.context.call("function() { return EmberScript.em2js.apply(EmberScript, arguments); }", script, options)
50
50
  end
51
51
  end
52
52
 
@@ -1,3 +1,3 @@
1
1
  module EmberScript
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember_script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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: 2013-03-25 00:00:00.000000000 Z
12
+ date: 2013-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tilt
@@ -86,7 +86,6 @@ files:
86
86
  - .gitignore
87
87
  - .travis.yml
88
88
  - Gemfile
89
- - Gemfile.lock
90
89
  - LICENSE.txt
91
90
  - README.md
92
91
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,32 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- ember_script (0.0.4)
5
- ember_script-source (>= 0.0.2)
6
- execjs
7
- tilt
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- diff-lcs (1.1.3)
13
- ember_script-source (0.0.2)
14
- execjs (1.4.0)
15
- multi_json (~> 1.0)
16
- multi_json (1.7.2)
17
- rspec (2.12.0)
18
- rspec-core (~> 2.12.0)
19
- rspec-expectations (~> 2.12.0)
20
- rspec-mocks (~> 2.12.0)
21
- rspec-core (2.12.1)
22
- rspec-expectations (2.12.0)
23
- diff-lcs (~> 1.1.3)
24
- rspec-mocks (2.12.0)
25
- tilt (1.3.6)
26
-
27
- PLATFORMS
28
- ruby
29
-
30
- DEPENDENCIES
31
- ember_script!
32
- rspec