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 CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.9.17
2
+
3
+ * Fix for Ticket [158]: Fix requirements to load correct version of merb (Paul Barry)
4
+ * Fix for Ticket [124]: Proxy doesn't forward GET params with merb 0.9.4 (Lawrence Pit)
5
+
1
6
  == 0.9.16
2
7
 
3
8
  * Added requirement for hoe when installing.
@@ -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 = 'Charles Jolley' # can also be an array of Authors
4
- EMAIL = "charles@sproutit.com"
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
 
@@ -1,3 +1,7 @@
1
+ == sproutcore 0.9.17
2
+
3
+ * Fix require()'s for server/rest_server.js and server/rails_server.js
4
+
1
5
  == sproutcore 0.9.15
2
6
 
3
7
  - Added titleize() helper for Strings. Also imported various other helpers
@@ -3,7 +3,7 @@
3
3
  // copyright 2006-2008 Sprout Systems, Inc.
4
4
  // ========================================================================
5
5
 
6
- require('core') ;
6
+ require('server/rest_server') ;
7
7
 
8
8
  /**
9
9
  @class
@@ -3,8 +3,7 @@
3
3
  // copyright 2006-2008 Sprout Systems, Inc.
4
4
  // ========================================================================
5
5
 
6
- require('core') ;
7
- require('server') ;
6
+ require('server/server') ;
8
7
 
9
8
  /**
10
9
  @class
@@ -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.")
@@ -15,13 +15,8 @@
15
15
 
16
16
  # Load Merb if it is available
17
17
  begin
18
- require('merb-core')
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
- else
26
- puts "WARNING: sproutcore/merb required Merb 0.9.1 or later. Module was not loaded."
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
@@ -2,7 +2,7 @@ module SproutCore #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 16
5
+ TINY = 17
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.16
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-13 00:00:00 -07:00
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