sproutcore 0.9.16 → 0.9.17
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/clients/sc_test_runner/english.lproj/no_tests.rhtml +1 -0
- data/config/hoe.rb +3 -3
- data/frameworks/sproutcore/HISTORY +4 -0
- data/frameworks/sproutcore/server/rails_server.js +1 -1
- data/frameworks/sproutcore/server/rest_server.js +1 -2
- data/lib/sproutcore/merb/bundle_controller.rb +3 -0
- data/lib/sproutcore/merb.rb +4 -9
- data/lib/sproutcore/version.rb +1 -1
- metadata +7 -4
data/History.txt
CHANGED
@@ -2,4 +2,5 @@
|
|
2
2
|
<h1>Client Has No Tests</h1>
|
3
3
|
<p style="font-size: 15px;">This client does not currently have any unit tests. To add a unit test, open a terminal to the root directly and type:</p>
|
4
4
|
<p style="font-size: 15px; text-align:center;"><code>./script/generate sc_test <%= label_view :outlet => true, :tag => 'span', :bind => { :content => 'TestRunner.runnerController.clientName' } %>/<b>test_name</b></code></p>
|
5
|
+
</div>
|
5
6
|
<% end %>
|
data/config/hoe.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sproutcore/version'
|
2
2
|
|
3
|
-
AUTHOR =
|
4
|
-
EMAIL =
|
3
|
+
AUTHOR = "Charles Jolley, Erich Ocean" # can also be an array of Authors
|
4
|
+
EMAIL = 'charles@sproutit.com, erich@atlasocean.com'
|
5
5
|
DESCRIPTION = "SproutCore - JavaScript Application Framework + Build Tools"
|
6
6
|
GEM_NAME = 'sproutcore' # what ppl will type to install your gem
|
7
7
|
RUBYFORGE_PROJECT = 'sproutcore' # The unix name for your project
|
@@ -60,7 +60,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
60
60
|
|
61
61
|
# == Optional
|
62
62
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
63
|
-
p.extra_deps = [['activesupport', '>= 2.0.2'], ['merb-core', '>= 0.9.1'], ['erubis'], ['rubigen'], ['mongrel'], ['hoe']]
|
63
|
+
p.extra_deps = [['activesupport', '>= 2.0.2'], ['merb-core', '>= 0.9.1', '< 0.9.5'], ['erubis'], ['rubigen'], ['mongrel'], ['hoe']]
|
64
64
|
|
65
65
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
66
66
|
|
@@ -46,6 +46,9 @@ module SproutCore
|
|
46
46
|
url = request.uri
|
47
47
|
proxy_url, proxy_opts = library.proxy_url_for(url)
|
48
48
|
if proxy_url
|
49
|
+
unless request.query_string.length == 0
|
50
|
+
proxy_url = proxy_url + "?" + request.query_string
|
51
|
+
end
|
49
52
|
return handle_proxy(url, proxy_url, proxy_opts)
|
50
53
|
else
|
51
54
|
raise(NotFound, "No SproutCore Bundle registered at this location.")
|
data/lib/sproutcore/merb.rb
CHANGED
@@ -15,13 +15,8 @@
|
|
15
15
|
|
16
16
|
# Load Merb if it is available
|
17
17
|
begin
|
18
|
-
|
19
|
-
rescue LoadError
|
20
|
-
end
|
21
|
-
|
22
|
-
# Load SproutCore Merb support if Merb meets minimum criteria
|
23
|
-
if defined?(Merb) && defined?(Merb::VERSION) && (Merb::VERSION.to_f >= 0.9)
|
18
|
+
gem('merb-core', '>= 0.9.1', '< 0.9.5')
|
24
19
|
Dir.glob(File.join(File.dirname(__FILE__),'merb','**','*.rb')).each { |x| require(x) }
|
25
|
-
|
26
|
-
puts "WARNING: sproutcore/merb
|
27
|
-
end
|
20
|
+
rescue LoadError
|
21
|
+
puts "WARNING: sproutcore/merb requires Merb 0.9.1 through 0.9.4. Earlier and later releases are not supported. Module was not loaded."
|
22
|
+
end
|
data/lib/sproutcore/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sproutcore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Charles Jolley
|
7
|
+
- Charles Jolley, Erich Ocean
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-30 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -31,6 +31,9 @@ dependencies:
|
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 0.9.1
|
34
|
+
- - <
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 0.9.5
|
34
37
|
version:
|
35
38
|
- !ruby/object:Gem::Dependency
|
36
39
|
name: erubis
|
@@ -74,7 +77,7 @@ dependencies:
|
|
74
77
|
version:
|
75
78
|
description: SproutCore - JavaScript Application Framework + Build Tools
|
76
79
|
email:
|
77
|
-
- charles@sproutit.com
|
80
|
+
- charles@sproutit.com, erich@atlasocean.com
|
78
81
|
executables:
|
79
82
|
- sc-build
|
80
83
|
- sc-gen
|