joosy 1.0.0.RC6 → 1.0.0.RC7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +42 -42
- data/app/assets/javascripts/joosy/core/application.js.coffee +2 -2
- data/app/assets/javascripts/joosy/core/modules/filters.js.coffee +1 -2
- data/app/assets/javascripts/joosy/core/page.js.coffee +5 -3
- data/lib/joosy/rails/version.rb +1 -1
- data/spec/javascripts/joosy/core/form_spec.js.coffee +1 -1
- metadata +20 -20
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/pivotal/jasmine-gem.git
|
3
|
-
revision:
|
3
|
+
revision: 63e8d46556a421cbb3b511b52cd8c2188d72b9db
|
4
4
|
specs:
|
5
5
|
jasmine (1.3.2)
|
6
6
|
jasmine-core (~> 1.3.1)
|
@@ -11,7 +11,7 @@ GIT
|
|
11
11
|
PATH
|
12
12
|
remote: .
|
13
13
|
specs:
|
14
|
-
joosy (1.0.0.
|
14
|
+
joosy (1.0.0.RC7)
|
15
15
|
coffee-rails
|
16
16
|
haml_coffee_assets
|
17
17
|
i18n-js
|
@@ -21,12 +21,12 @@ PATH
|
|
21
21
|
GEM
|
22
22
|
remote: http://rubygems.org/
|
23
23
|
specs:
|
24
|
-
actionmailer (3.2.
|
25
|
-
actionpack (= 3.2.
|
24
|
+
actionmailer (3.2.11)
|
25
|
+
actionpack (= 3.2.11)
|
26
26
|
mail (~> 2.4.4)
|
27
|
-
actionpack (3.2.
|
28
|
-
activemodel (= 3.2.
|
29
|
-
activesupport (= 3.2.
|
27
|
+
actionpack (3.2.11)
|
28
|
+
activemodel (= 3.2.11)
|
29
|
+
activesupport (= 3.2.11)
|
30
30
|
builder (~> 3.0.0)
|
31
31
|
erubis (~> 2.7.0)
|
32
32
|
journey (~> 1.0.4)
|
@@ -34,18 +34,18 @@ GEM
|
|
34
34
|
rack-cache (~> 1.2)
|
35
35
|
rack-test (~> 0.6.1)
|
36
36
|
sprockets (~> 2.2.1)
|
37
|
-
activemodel (3.2.
|
38
|
-
activesupport (= 3.2.
|
37
|
+
activemodel (3.2.11)
|
38
|
+
activesupport (= 3.2.11)
|
39
39
|
builder (~> 3.0.0)
|
40
|
-
activerecord (3.2.
|
41
|
-
activemodel (= 3.2.
|
42
|
-
activesupport (= 3.2.
|
40
|
+
activerecord (3.2.11)
|
41
|
+
activemodel (= 3.2.11)
|
42
|
+
activesupport (= 3.2.11)
|
43
43
|
arel (~> 3.0.2)
|
44
44
|
tzinfo (~> 0.3.29)
|
45
|
-
activeresource (3.2.
|
46
|
-
activemodel (= 3.2.
|
47
|
-
activesupport (= 3.2.
|
48
|
-
activesupport (3.2.
|
45
|
+
activeresource (3.2.11)
|
46
|
+
activemodel (= 3.2.11)
|
47
|
+
activesupport (= 3.2.11)
|
48
|
+
activesupport (3.2.11)
|
49
49
|
i18n (~> 0.6)
|
50
50
|
multi_json (~> 1.0)
|
51
51
|
addressable (2.3.2)
|
@@ -68,10 +68,10 @@ GEM
|
|
68
68
|
eventmachine (1.0.0-java)
|
69
69
|
execjs (1.4.0)
|
70
70
|
multi_json (~> 1.0)
|
71
|
-
ffi (1.
|
72
|
-
ffi (1.
|
73
|
-
guard (1.
|
74
|
-
listen (>= 0.
|
71
|
+
ffi (1.3.1)
|
72
|
+
ffi (1.3.1-java)
|
73
|
+
guard (1.6.1)
|
74
|
+
listen (>= 0.6.0)
|
75
75
|
lumberjack (>= 1.0.2)
|
76
76
|
pry (>= 0.9.10)
|
77
77
|
thor (>= 0.14.6)
|
@@ -81,7 +81,7 @@ GEM
|
|
81
81
|
guard-sprockets (0.4.1)
|
82
82
|
guard (>= 1.1.0)
|
83
83
|
sprockets (~> 2.0)
|
84
|
-
haml_coffee_assets (1.
|
84
|
+
haml_coffee_assets (1.10.0)
|
85
85
|
coffee-script (>= 1.0.0)
|
86
86
|
sprockets (>= 2.0.3)
|
87
87
|
tilt (>= 1.3.3)
|
@@ -94,14 +94,14 @@ GEM
|
|
94
94
|
jquery-rails (2.1.4)
|
95
95
|
railties (>= 3.0, < 5.0)
|
96
96
|
thor (>= 0.14, < 2.0)
|
97
|
-
json (1.7.
|
98
|
-
json (1.7.
|
97
|
+
json (1.7.6)
|
98
|
+
json (1.7.6-java)
|
99
99
|
libnotify (0.8.0)
|
100
100
|
ffi (>= 1.0.11)
|
101
101
|
libwebsocket (0.1.7.1)
|
102
102
|
addressable
|
103
103
|
websocket
|
104
|
-
listen (0.
|
104
|
+
listen (0.7.2)
|
105
105
|
lumberjack (1.0.2)
|
106
106
|
mail (2.4.4)
|
107
107
|
i18n (>= 0.4.0)
|
@@ -111,39 +111,39 @@ GEM
|
|
111
111
|
mime-types (1.19)
|
112
112
|
multi_json (1.5.0)
|
113
113
|
polyglot (0.3.3)
|
114
|
-
pry (0.9.
|
114
|
+
pry (0.9.11.3)
|
115
115
|
coderay (~> 1.0.5)
|
116
116
|
method_source (~> 0.8)
|
117
|
-
slop (~> 3.
|
118
|
-
pry (0.9.
|
117
|
+
slop (~> 3.4)
|
118
|
+
pry (0.9.11.3-java)
|
119
119
|
coderay (~> 1.0.5)
|
120
120
|
method_source (~> 0.8)
|
121
|
-
slop (~> 3.
|
121
|
+
slop (~> 3.4)
|
122
122
|
spoon (~> 0.0)
|
123
|
-
rack (1.4.
|
123
|
+
rack (1.4.4)
|
124
124
|
rack-cache (1.2)
|
125
125
|
rack (>= 0.4)
|
126
126
|
rack-ssl (1.3.2)
|
127
127
|
rack
|
128
128
|
rack-test (0.6.2)
|
129
129
|
rack (>= 1.0)
|
130
|
-
rails (3.2.
|
131
|
-
actionmailer (= 3.2.
|
132
|
-
actionpack (= 3.2.
|
133
|
-
activerecord (= 3.2.
|
134
|
-
activeresource (= 3.2.
|
135
|
-
activesupport (= 3.2.
|
130
|
+
rails (3.2.11)
|
131
|
+
actionmailer (= 3.2.11)
|
132
|
+
actionpack (= 3.2.11)
|
133
|
+
activerecord (= 3.2.11)
|
134
|
+
activeresource (= 3.2.11)
|
135
|
+
activesupport (= 3.2.11)
|
136
136
|
bundler (~> 1.0)
|
137
|
-
railties (= 3.2.
|
138
|
-
railties (3.2.
|
139
|
-
actionpack (= 3.2.
|
140
|
-
activesupport (= 3.2.
|
137
|
+
railties (= 3.2.11)
|
138
|
+
railties (3.2.11)
|
139
|
+
actionpack (= 3.2.11)
|
140
|
+
activesupport (= 3.2.11)
|
141
141
|
rack-ssl (~> 1.3.2)
|
142
142
|
rake (>= 0.8.7)
|
143
143
|
rdoc (~> 3.4)
|
144
144
|
thor (>= 0.14.6, < 2.0)
|
145
145
|
rake (10.0.3)
|
146
|
-
rb-inotify (0.
|
146
|
+
rb-inotify (0.9.0)
|
147
147
|
ffi (>= 0.5.0)
|
148
148
|
rdoc (3.12)
|
149
149
|
json (~> 1.4)
|
@@ -154,14 +154,14 @@ GEM
|
|
154
154
|
rspec-core (2.12.2)
|
155
155
|
rspec-expectations (2.12.1)
|
156
156
|
diff-lcs (~> 1.1.3)
|
157
|
-
rspec-mocks (2.12.
|
157
|
+
rspec-mocks (2.12.1)
|
158
158
|
rubyzip (0.9.9)
|
159
159
|
selenium-webdriver (2.27.2)
|
160
160
|
childprocess (>= 0.2.5)
|
161
161
|
libwebsocket (~> 0.1.3)
|
162
162
|
multi_json (~> 1.0)
|
163
163
|
rubyzip
|
164
|
-
slop (3.
|
164
|
+
slop (3.4.3)
|
165
165
|
spoon (0.0.1)
|
166
166
|
sprockets (2.2.2)
|
167
167
|
hike (~> 1.2)
|
@@ -33,6 +33,8 @@ class Joosy.Page extends Joosy.Module
|
|
33
33
|
@include Joosy.Modules.WidgetsManager
|
34
34
|
@include Joosy.Modules.Filters
|
35
35
|
|
36
|
+
halted: false
|
37
|
+
|
36
38
|
#
|
37
39
|
# Default layout is no layout.
|
38
40
|
#
|
@@ -209,11 +211,11 @@ class Joosy.Page extends Joosy.Module
|
|
209
211
|
# @params [Joosy.Page] previous Previous page to unload
|
210
212
|
#
|
211
213
|
constructor: (@params, @previous) ->
|
212
|
-
Joosy.Application.loading = true
|
213
|
-
|
214
214
|
@__layoutClass ||= ApplicationLayout
|
215
215
|
|
216
|
-
|
216
|
+
unless @halted = !@__runBeforeLoads(@params, @previous)
|
217
|
+
Joosy.Application.loading = true
|
218
|
+
|
217
219
|
if !@previous?.layout?.uuid? || @previous?.__layoutClass != @__layoutClass
|
218
220
|
@__bootstrapLayout()
|
219
221
|
else
|
data/lib/joosy/rails/version.rb
CHANGED
@@ -81,7 +81,7 @@ describe "Joosy.Form", ->
|
|
81
81
|
marker = @putForm.find "input[name=_method]"
|
82
82
|
expect(marker.length).toEqual 1
|
83
83
|
expect(marker.attr 'value').toEqual 'PUT'
|
84
|
-
form.fill Test
|
84
|
+
form.fill @Test
|
85
85
|
marker = @putForm.find "input[name=_method]"
|
86
86
|
expect(marker.length).toEqual 0
|
87
87
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: joosy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.RC7
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-01-
|
15
|
+
date: 2013-01-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|
19
|
-
requirement: &
|
19
|
+
requirement: &70223417433300 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ! '>='
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: 3.1.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *70223417433300
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: coffee-rails
|
30
|
-
requirement: &
|
30
|
+
requirement: &70223417432440 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: '0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *70223417432440
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: jquery-rails
|
41
|
-
requirement: &
|
41
|
+
requirement: &70223417431840 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: '0'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *70223417431840
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: haml_coffee_assets
|
52
|
-
requirement: &
|
52
|
+
requirement: &70223417430980 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -57,10 +57,10 @@ dependencies:
|
|
57
57
|
version: '0'
|
58
58
|
type: :runtime
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *70223417430980
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: i18n-js
|
63
|
-
requirement: &
|
63
|
+
requirement: &70223417429940 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ! '>='
|
@@ -68,10 +68,10 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
type: :runtime
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *70223417429940
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: guard
|
74
|
-
requirement: &
|
74
|
+
requirement: &70223417429280 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ! '>='
|
@@ -79,10 +79,10 @@ dependencies:
|
|
79
79
|
version: '0'
|
80
80
|
type: :development
|
81
81
|
prerelease: false
|
82
|
-
version_requirements: *
|
82
|
+
version_requirements: *70223417429280
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: guard-coffeescript
|
85
|
-
requirement: &
|
85
|
+
requirement: &70223417474980 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ! '>='
|
@@ -90,10 +90,10 @@ dependencies:
|
|
90
90
|
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
|
-
version_requirements: *
|
93
|
+
version_requirements: *70223417474980
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: guard-sprockets
|
96
|
-
requirement: &
|
96
|
+
requirement: &70223417474460 !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
@@ -101,10 +101,10 @@ dependencies:
|
|
101
101
|
version: '0'
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
|
-
version_requirements: *
|
104
|
+
version_requirements: *70223417474460
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: jasmine
|
107
|
-
requirement: &
|
107
|
+
requirement: &70223417473780 !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
110
110
|
- - ! '>='
|
@@ -112,7 +112,7 @@ dependencies:
|
|
112
112
|
version: '0'
|
113
113
|
type: :development
|
114
114
|
prerelease: false
|
115
|
-
version_requirements: *
|
115
|
+
version_requirements: *70223417473780
|
116
116
|
description: A gem wrapper to include Joosy via the asset pipeline.
|
117
117
|
email: boris@roundlake.ru
|
118
118
|
executables: []
|