styx 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/app/views/styx/_initializer.html.erb +3 -3
- data/spec/controllers/tests_controller_spec.rb +1 -1
- data/styx.gemspec +1 -1
- metadata +9 -9
data/Gemfile.lock
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
//<![CDATA[
|
3
3
|
if (Styx.Initializers.<%=klass%> && Styx.Initializers.<%=klass%>.initialize)
|
4
4
|
{
|
5
|
-
Styx.Initializers.<%=klass%>.initialize(<%=data.to_json.html_safe%>)
|
5
|
+
Styx.Initializers.<%=klass%>.initialize(<%=data.to_json.html_safe%>);
|
6
6
|
}
|
7
|
-
if (Styx.Initializers.<%=klass%> && Styx.Initializers.<%=klass
|
7
|
+
if (Styx.Initializers.<%=klass%> && Styx.Initializers.<%=klass%>['<%=method%>'])
|
8
8
|
{
|
9
|
-
Styx.Initializers.<%=klass
|
9
|
+
Styx.Initializers.<%=klass%>['<%=method%>'](<%=data.to_json.html_safe%>);
|
10
10
|
}
|
11
11
|
//]]>
|
12
12
|
</script>
|
@@ -6,6 +6,6 @@ describe TestsController do
|
|
6
6
|
it 'index' do
|
7
7
|
get :index
|
8
8
|
response.body.should have_content('Styx.Initializers.Tests.initialize({"data":"test"})')
|
9
|
-
response.body.should have_content('Styx.Initializers.Tests
|
9
|
+
response.body.should have_content('Styx.Initializers.Tests[\'index\']({"data":"test"})')
|
10
10
|
end
|
11
11
|
end
|
data/styx.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: styx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: combustion
|
17
|
-
requirement: &
|
17
|
+
requirement: &70311668649520 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.3.1
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70311668649520
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rspec-rails
|
28
|
-
requirement: &
|
28
|
+
requirement: &70311668649040 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 2.8.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70311668649040
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: capybara
|
39
|
-
requirement: &
|
39
|
+
requirement: &70311685239200 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: 1.1.2
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70311685239200
|
48
48
|
description: Set of helpers to maintain bridge between Server (Rails) side and Client
|
49
49
|
(JS) side
|
50
50
|
email: boris@roundlake.ru
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 1.8.
|
100
|
+
rubygems_version: 1.8.15
|
101
101
|
signing_key:
|
102
102
|
specification_version: 3
|
103
103
|
summary: Set of helpers to maintain bridge between Server (Rails) side and Client
|