webr 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/js/webr.js +2 -2
  2. data/lib/webr/version.rb +1 -1
  3. data/webr.gemspec +1 -1
  4. metadata +26 -30
data/js/webr.js CHANGED
@@ -23,7 +23,7 @@
23
23
  // load a script from a file, relative to the webr 'root' property
24
24
  function script(path) {
25
25
  var pre = path.match(/^\//) ? '' : process.webr.root + '/'
26
- var fullPath = pre + path
26
+ var fullPath = fs.realpathSync(pre + path)
27
27
  if (fullPath in scripts) {
28
28
  // don't load script twice in the same context
29
29
  // multiple file loading/reporting messes up otherwise
@@ -32,7 +32,7 @@
32
32
  }
33
33
  var data = fs.readFileSync(fullPath)
34
34
  scripts[fullPath] = data
35
- scriptEval(data, path)
35
+ scriptEval(data, fullPath)
36
36
  }
37
37
 
38
38
  // evaluate a script
data/lib/webr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Webr
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
data/webr.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.email = "secretlymexico@gmail.com"
12
12
  s.require_paths = ['lib']
13
13
  s.executables = ["webr"]
14
- s.add_dependency('therubyracer', '~> 0.9.0.beta5')
14
+ s.add_dependency('therubyracer', '~> 0.9.2')
15
15
  s.add_dependency('rednode', '>= 0.1.0')
16
16
  s.add_dependency('eventmachine')
17
17
  s.add_dependency('optitron')
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Dani\xC3\xABl van de Burgt"
@@ -15,29 +15,27 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-01 00:00:00 -05:00
19
- default_executable:
18
+ date: 2011-06-29 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
23
  none: false
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- hash: 62196281
27
+ hash: 63
28
28
  segments:
29
29
  - 0
30
30
  - 9
31
- - 0
32
- - beta
33
- - 5
34
- version: 0.9.0.beta5
35
- prerelease: false
31
+ - 2
32
+ version: 0.9.2
36
33
  type: :runtime
37
- requirement: *id001
38
34
  name: therubyracer
35
+ version_requirements: *id001
39
36
  - !ruby/object:Gem::Dependency
40
- version_requirements: &id002 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
40
  requirements:
43
41
  - - ">="
@@ -48,12 +46,12 @@ dependencies:
48
46
  - 1
49
47
  - 0
50
48
  version: 0.1.0
51
- prerelease: false
52
49
  type: :runtime
53
- requirement: *id002
54
50
  name: rednode
51
+ version_requirements: *id002
55
52
  - !ruby/object:Gem::Dependency
56
- version_requirements: &id003 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ requirement: &id003 !ruby/object:Gem::Requirement
57
55
  none: false
58
56
  requirements:
59
57
  - - ">="
@@ -62,12 +60,12 @@ dependencies:
62
60
  segments:
63
61
  - 0
64
62
  version: "0"
65
- prerelease: false
66
63
  type: :runtime
67
- requirement: *id003
68
64
  name: eventmachine
65
+ version_requirements: *id003
69
66
  - !ruby/object:Gem::Dependency
70
- version_requirements: &id004 !ruby/object:Gem::Requirement
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
71
69
  none: false
72
70
  requirements:
73
71
  - - ">="
@@ -76,12 +74,12 @@ dependencies:
76
74
  segments:
77
75
  - 0
78
76
  version: "0"
79
- prerelease: false
80
77
  type: :runtime
81
- requirement: *id004
82
78
  name: optitron
79
+ version_requirements: *id004
83
80
  - !ruby/object:Gem::Dependency
84
- version_requirements: &id005 !ruby/object:Gem::Requirement
81
+ prerelease: false
82
+ requirement: &id005 !ruby/object:Gem::Requirement
85
83
  none: false
86
84
  requirements:
87
85
  - - ">="
@@ -90,12 +88,12 @@ dependencies:
90
88
  segments:
91
89
  - 0
92
90
  version: "0"
93
- prerelease: false
94
91
  type: :development
95
- requirement: *id005
96
92
  name: rake
93
+ version_requirements: *id005
97
94
  - !ruby/object:Gem::Dependency
98
- version_requirements: &id006 !ruby/object:Gem::Requirement
95
+ prerelease: false
96
+ requirement: &id006 !ruby/object:Gem::Requirement
99
97
  none: false
100
98
  requirements:
101
99
  - - ">="
@@ -104,10 +102,9 @@ dependencies:
104
102
  segments:
105
103
  - 0
106
104
  version: "0"
107
- prerelease: false
108
105
  type: :development
109
- requirement: *id006
110
106
  name: rspec
107
+ version_requirements: *id006
111
108
  description: Test your javascript with no server, no browser, just pleasure.
112
109
  email: secretlymexico@gmail.com
113
110
  executables:
@@ -169,7 +166,6 @@ files:
169
166
  - lib/webr/jasmine/browser.rb
170
167
  - lib/webr/browser.rb
171
168
  - js/webr.js
172
- has_rdoc: true
173
169
  homepage:
174
170
  licenses: []
175
171
 
@@ -199,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
195
  requirements: []
200
196
 
201
197
  rubyforge_project:
202
- rubygems_version: 1.6.2
198
+ rubygems_version: 1.8.5
203
199
  signing_key:
204
200
  specification_version: 3
205
201
  summary: Pain-free javascript testing