rbjs 0.10.6 → 0.10.7

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.
@@ -25,7 +25,7 @@ module Rbjs
25
25
  class Root
26
26
  # make respond_to?(:render) return true.
27
27
  def render(options = {}, locals = {}, &block)
28
- view_context.render(options, locals, &block)
28
+ @_view_context.render(options, locals, &block)
29
29
  end
30
30
  end
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module Rbjs
2
- VERSION = "0.10.6"
2
+ VERSION = "0.10.7"
3
3
  end
data/readme.md CHANGED
@@ -1,6 +1,8 @@
1
- # Remote Javascript for Ruby on Rails 3.1
1
+ # Rbjs is a Ruby DSL that translates 1-to-1 into Javascript
2
2
 
3
- Rbjs is a ruby gem that enables you to write remote javascript in Rails 3. It keeps the browser logic-less. [read more](http://buhrmi.github.com/rbjs)
3
+ It integrates with Rails 3.1 and 4, and Sinatra
4
+
5
+ It aims to keep your javascript on the server side and the browser dumb. [read more](http://buhrmi.github.com/rbjs)
4
6
 
5
7
  ## Installation
6
8
 
@@ -14,4 +16,4 @@ to your Gemfile and run
14
16
 
15
17
  ## Usage
16
18
 
17
- Please refer to the [documentation](http://buhrmi.github.com/rbjs) for a quick example and usage guide.
19
+ Please refer to the [documentation](http://buhrmi.github.com/rbjs) for a quick example and usage guide.
metadata CHANGED
@@ -1,27 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbjs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.6
5
4
  prerelease:
5
+ version: 0.10.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Stefan Buhrmester
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-22 00:00:00.000000000 Z
12
+ date: 2013-10-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: json
16
- requirement: &5692600 !ruby/object:Gem::Requirement
17
- none: false
15
+ version_requirements: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
20
+ none: false
21
+ name: json
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *5692600
24
+ requirement: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ! '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0'
29
+ none: false
25
30
  description: Remote Javascript Builder for Ruby on Rails
26
31
  email:
27
32
  - buhrmi@gmail.com
@@ -50,20 +55,20 @@ rdoc_options: []
50
55
  require_paths:
51
56
  - lib
52
57
  required_ruby_version: !ruby/object:Gem::Requirement
53
- none: false
54
58
  requirements:
55
59
  - - ! '>='
56
60
  - !ruby/object:Gem::Version
57
61
  version: '0'
58
- required_rubygems_version: !ruby/object:Gem::Requirement
59
62
  none: false
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
64
  requirements:
61
65
  - - ! '>='
62
66
  - !ruby/object:Gem::Version
63
67
  version: '0'
68
+ none: false
64
69
  requirements: []
65
70
  rubyforge_project: rbjs
66
- rubygems_version: 1.8.11
71
+ rubygems_version: 1.8.23
67
72
  signing_key:
68
73
  specification_version: 3
69
74
  summary: Remote Javascript re-imagined