brightcontent-pages 2.0.21 → 2.0.22

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.
data/Gemfile.lock CHANGED
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- brightcontent-pages (2.0.21)
4
+ brightcontent-pages (2.0.22)
5
5
  awesome_nested_set
6
- brightcontent-attachments (= 2.0.21)
7
- brightcontent-core (= 2.0.21)
6
+ brightcontent-attachments (= 2.0.22)
7
+ brightcontent-core (= 2.0.22)
8
8
 
9
9
  PATH
10
10
  remote: ../attachments
11
11
  specs:
12
- brightcontent-attachments (2.0.21)
13
- brightcontent-core (= 2.0.21)
12
+ brightcontent-attachments (2.0.22)
13
+ brightcontent-core (= 2.0.22)
14
14
  jquery-fileupload-rails
15
15
  paperclip
16
16
 
17
17
  PATH
18
18
  remote: ../core
19
19
  specs:
20
- brightcontent-core (2.0.21)
20
+ brightcontent-core (2.0.22)
21
21
  bcrypt-ruby
22
22
  bootstrap-wysihtml5-rails
23
23
  has_scope
@@ -30,59 +30,62 @@ PATH
30
30
  GEM
31
31
  remote: http://rubygems.org/
32
32
  specs:
33
- actionmailer (3.2.9)
34
- actionpack (= 3.2.9)
35
- mail (~> 2.4.4)
36
- actionpack (3.2.9)
37
- activemodel (= 3.2.9)
38
- activesupport (= 3.2.9)
33
+ actionmailer (3.2.13)
34
+ actionpack (= 3.2.13)
35
+ mail (~> 2.5.3)
36
+ actionpack (3.2.13)
37
+ activemodel (= 3.2.13)
38
+ activesupport (= 3.2.13)
39
39
  builder (~> 3.0.0)
40
40
  erubis (~> 2.7.0)
41
41
  journey (~> 1.0.4)
42
- rack (~> 1.4.0)
42
+ rack (~> 1.4.5)
43
43
  rack-cache (~> 1.2)
44
44
  rack-test (~> 0.6.1)
45
45
  sprockets (~> 2.2.1)
46
- activemodel (3.2.9)
47
- activesupport (= 3.2.9)
46
+ activemodel (3.2.13)
47
+ activesupport (= 3.2.13)
48
48
  builder (~> 3.0.0)
49
- activerecord (3.2.9)
50
- activemodel (= 3.2.9)
51
- activesupport (= 3.2.9)
49
+ activerecord (3.2.13)
50
+ activemodel (= 3.2.13)
51
+ activesupport (= 3.2.13)
52
52
  arel (~> 3.0.2)
53
53
  tzinfo (~> 0.3.29)
54
- activeresource (3.2.9)
55
- activemodel (= 3.2.9)
56
- activesupport (= 3.2.9)
57
- activesupport (3.2.9)
58
- i18n (~> 0.6)
54
+ activeresource (3.2.13)
55
+ activemodel (= 3.2.13)
56
+ activesupport (= 3.2.13)
57
+ activesupport (3.2.13)
58
+ i18n (= 0.6.1)
59
59
  multi_json (~> 1.0)
60
- addressable (2.3.2)
60
+ addressable (2.3.3)
61
61
  arel (3.0.2)
62
- awesome_nested_set (2.1.5)
62
+ awesome_nested_set (2.1.6)
63
63
  activerecord (>= 3.0.0)
64
64
  bcrypt-ruby (3.0.1)
65
- bootstrap-wysihtml5-rails (0.3.1.14)
65
+ bootstrap-wysihtml5-rails (0.3.1.19)
66
66
  railties (>= 3.0)
67
67
  builder (3.0.4)
68
- capybara (2.0.1)
68
+ capybara (2.0.2)
69
69
  mime-types (>= 1.16)
70
70
  nokogiri (>= 1.3.3)
71
71
  rack (>= 1.0.0)
72
72
  rack-test (>= 0.5.4)
73
73
  selenium-webdriver (~> 2.0)
74
74
  xpath (~> 1.0.0)
75
- childprocess (0.3.6)
76
- ffi (~> 1.0, >= 1.0.6)
77
- cocaine (0.4.2)
78
- diff-lcs (1.1.3)
75
+ childprocess (0.3.9)
76
+ ffi (~> 1.0, >= 1.0.11)
77
+ climate_control (0.0.3)
78
+ activesupport (>= 3.0)
79
+ cocaine (0.5.1)
80
+ climate_control (>= 0.0.3, < 1.0)
81
+ diff-lcs (1.2.1)
79
82
  erubis (2.7.0)
80
- factory_girl (4.1.0)
83
+ factory_girl (4.2.0)
81
84
  activesupport (>= 3.0.0)
82
- factory_girl_rails (4.1.0)
83
- factory_girl (~> 4.1.0)
85
+ factory_girl_rails (4.2.1)
86
+ factory_girl (~> 4.2.0)
84
87
  railties (>= 3.0.0)
85
- ffi (1.2.0)
88
+ ffi (1.5.0)
86
89
  has_scope (0.5.1)
87
90
  hike (1.2.1)
88
91
  i18n (0.6.1)
@@ -90,77 +93,74 @@ GEM
90
93
  has_scope (~> 0.5.0)
91
94
  responders (~> 0.6)
92
95
  journey (1.0.4)
93
- jquery-fileupload-rails (0.4.0)
96
+ jquery-fileupload-rails (0.4.1)
94
97
  actionpack (>= 3.1)
95
98
  railties (>= 3.1)
96
- jquery-rails (2.1.4)
99
+ jquery-rails (2.2.1)
97
100
  railties (>= 3.0, < 5.0)
98
101
  thor (>= 0.14, < 2.0)
99
- json (1.7.5)
100
- launchy (2.1.2)
102
+ json (1.7.7)
103
+ launchy (2.2.0)
101
104
  addressable (~> 2.3)
102
- libwebsocket (0.1.7.1)
103
- addressable
104
- websocket
105
- mail (2.4.4)
105
+ mail (2.5.3)
106
106
  i18n (>= 0.4.0)
107
107
  mime-types (~> 1.16)
108
108
  treetop (~> 1.4.8)
109
- mime-types (1.19)
110
- multi_json (1.5.0)
111
- nokogiri (1.5.6)
112
- paperclip (3.4.0)
109
+ mime-types (1.21)
110
+ multi_json (1.7.2)
111
+ nokogiri (1.5.9)
112
+ paperclip (3.4.1)
113
113
  activemodel (>= 3.0.0)
114
114
  activerecord (>= 3.0.0)
115
115
  activesupport (>= 3.0.0)
116
- cocaine (~> 0.4.0)
116
+ cocaine (~> 0.5.0)
117
117
  mime-types
118
118
  polyglot (0.3.3)
119
- rack (1.4.1)
119
+ rack (1.4.5)
120
120
  rack-cache (1.2)
121
121
  rack (>= 0.4)
122
- rack-ssl (1.3.2)
122
+ rack-ssl (1.3.3)
123
123
  rack
124
124
  rack-test (0.6.2)
125
125
  rack (>= 1.0)
126
- rails (3.2.9)
127
- actionmailer (= 3.2.9)
128
- actionpack (= 3.2.9)
129
- activerecord (= 3.2.9)
130
- activeresource (= 3.2.9)
131
- activesupport (= 3.2.9)
126
+ rails (3.2.13)
127
+ actionmailer (= 3.2.13)
128
+ actionpack (= 3.2.13)
129
+ activerecord (= 3.2.13)
130
+ activeresource (= 3.2.13)
131
+ activesupport (= 3.2.13)
132
132
  bundler (~> 1.0)
133
- railties (= 3.2.9)
134
- railties (3.2.9)
135
- actionpack (= 3.2.9)
136
- activesupport (= 3.2.9)
133
+ railties (= 3.2.13)
134
+ railties (3.2.13)
135
+ actionpack (= 3.2.13)
136
+ activesupport (= 3.2.13)
137
137
  rack-ssl (~> 1.3.2)
138
138
  rake (>= 0.8.7)
139
139
  rdoc (~> 3.4)
140
140
  thor (>= 0.14.6, < 2.0)
141
141
  rake (10.0.3)
142
- rdoc (3.12)
142
+ rdoc (3.12.2)
143
143
  json (~> 1.4)
144
144
  responders (0.9.3)
145
145
  railties (~> 3.1)
146
- rspec-core (2.12.2)
147
- rspec-expectations (2.12.1)
148
- diff-lcs (~> 1.1.3)
149
- rspec-mocks (2.12.1)
150
- rspec-rails (2.12.0)
146
+ rspec-core (2.13.1)
147
+ rspec-expectations (2.13.0)
148
+ diff-lcs (>= 1.1.3, < 2.0)
149
+ rspec-mocks (2.13.0)
150
+ rspec-rails (2.13.0)
151
151
  actionpack (>= 3.0)
152
152
  activesupport (>= 3.0)
153
153
  railties (>= 3.0)
154
- rspec-core (~> 2.12.0)
155
- rspec-expectations (~> 2.12.0)
156
- rspec-mocks (~> 2.12.0)
154
+ rspec-core (~> 2.13.0)
155
+ rspec-expectations (~> 2.13.0)
156
+ rspec-mocks (~> 2.13.0)
157
157
  rubyzip (0.9.9)
158
- selenium-webdriver (2.27.2)
158
+ selenium-webdriver (2.31.0)
159
159
  childprocess (>= 0.2.5)
160
- libwebsocket (~> 0.1.3)
161
160
  multi_json (~> 1.0)
162
161
  rubyzip
163
- simple_form (2.0.4)
162
+ websocket (~> 1.0.4)
163
+ simple_form (2.1.0)
164
164
  actionpack (~> 3.0)
165
165
  activemodel (~> 3.0)
166
166
  sprockets (2.2.2)
@@ -168,15 +168,15 @@ GEM
168
168
  multi_json (~> 1.0)
169
169
  rack (~> 1.0)
170
170
  tilt (~> 1.1, != 1.3.0)
171
- sqlite3 (1.3.6)
172
- thor (0.16.0)
173
- tilt (1.3.3)
171
+ sqlite3 (1.3.7)
172
+ thor (0.17.0)
173
+ tilt (1.3.6)
174
174
  treetop (1.4.12)
175
175
  polyglot
176
176
  polyglot (>= 0.3.1)
177
- tzinfo (0.3.35)
178
- websocket (1.0.6)
179
- will_paginate (3.0.3)
177
+ tzinfo (0.3.37)
178
+ websocket (1.0.7)
179
+ will_paginate (3.0.4)
180
180
  xpath (1.0.0)
181
181
  nokogiri (~> 1.3)
182
182
 
@@ -25,6 +25,11 @@ module Brightcontent
25
25
  create(:page, name: "About us", parent: homepage).slug.should eq "homepage/about-us"
26
26
  end
27
27
 
28
+ it "creates a slug for multiple children" do
29
+ about_us = create(:page, name: "About us", parent: homepage)
30
+ create(:page, name: "More", parent: about_us).slug.should eq "homepage/about-us/more"
31
+ end
32
+
28
33
  it "persists the slug" do
29
34
  page = create(:page, name: "About us", parent: homepage).reload
30
35
  page.slug.should eq "homepage/about-us"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.21
4
+ version: 2.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-11 00:00:00.000000000 Z
12
+ date: 2013-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: brightcontent-core
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 2.0.21
21
+ version: 2.0.22
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 2.0.21
29
+ version: 2.0.22
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: brightcontent-attachments
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 2.0.21
37
+ version: 2.0.22
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 2.0.21
45
+ version: 2.0.22
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: awesome_nested_set
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -229,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
229
229
  version: '0'
230
230
  segments:
231
231
  - 0
232
- hash: -928843308977406129
232
+ hash: -4290751379155946945
233
233
  required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  none: false
235
235
  requirements:
@@ -238,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  segments:
240
240
  - 0
241
- hash: -928843308977406129
241
+ hash: -4290751379155946945
242
242
  requirements: []
243
243
  rubyforge_project:
244
244
  rubygems_version: 1.8.24