brightcontent-pages 2.3.4 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf03233855148cf8f89f1adf03fc5ca5446baa33
4
- data.tar.gz: 3952a47379cfa71474ccd221ad4ae84a89bc8b9a
3
+ metadata.gz: 85f7a236ba8a1c7e89e2f6a1b515a6b14ffecae7
4
+ data.tar.gz: 2009b00ab89b9b88751e492947ca05891281e281
5
5
  SHA512:
6
- metadata.gz: 3ccbd548cd517f9efb09f140b0e61a863f4d9a5cc91d2c1e76282faad2bf647a955357c1a42e7f37d440f86a12535bb45e2048b037565ea5d980311f434efb86
7
- data.tar.gz: a1f00ad16ec5eca83f4da76c55590b4185e1cd06dee193355c5ebab81f0d9addf22dc5747a964cd109d31e28a1e972efbb40b94b66e6b776fa9344a5735d2938
6
+ metadata.gz: bea697ba609f652f66c114d1cc242f9b1cb29801d069ea3903cb2ba6a2ff296733b244dee4284b08f6576a78b642f7d06d5fa6ce66423e2b9a214efaa749063c
7
+ data.tar.gz: 707a40d3ff1671910352c414d42fc90894690e305230c599a65c769fe4ffa6353cda7c9cd4891e33ed9707ddae3409c5495bb1b32963cc608092cade53ff28ba
@@ -16,7 +16,7 @@ module Brightcontent
16
16
  Brightcontent.page_model
17
17
  end
18
18
 
19
- def self.resource_class
19
+ def resource_class
20
20
  Brightcontent.page_model
21
21
  end
22
22
 
@@ -1,9 +1,4 @@
1
- <div class="page-header">
2
- <%= link_to "#{I18n.t('brightcontent.create_new', model: resource_class.model_name.human).humanize}", polymorphic_url([parent, resource_class], action: :new), class: "btn btn-primary pull-right" %>
3
- <h1><%= nominative_plural(resource_class).capitalize %></h1>
4
- </div>
5
-
6
- <%= render_if_exists "index_top" %>
1
+ <%= render "list_header" %>
7
2
 
8
3
  <div class="panel-body">
9
4
  <ol class="sortable_tree" data-rebuild_url="<%=rebuild_pages_url%>" data-max_levels="5">
@@ -21,11 +21,4 @@ Gem::Specification.new do |s|
21
21
  s.add_dependency "jquery-ui-rails", "~> 5.0.0"
22
22
  s.add_dependency "the_sortable_tree", "~> 2.3.0"
23
23
  s.add_dependency "coffee-rails"
24
-
25
- s.add_development_dependency "sqlite3"
26
- s.add_development_dependency "rspec", "~> 2.14.1"
27
- s.add_development_dependency "rspec-rails"
28
- s.add_development_dependency "capybara"
29
- s.add_development_dependency "launchy"
30
- s.add_development_dependency "factory_girl_rails"
31
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Developers at Brightin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-14 00:00:00.000000000 Z
11
+ date: 2016-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brightcontent-core
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.4
19
+ version: 2.4.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.4
26
+ version: 2.4.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: brightcontent-attachments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.4
33
+ version: 2.4.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.3.4
40
+ version: 2.4.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: awesome_nested_set
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -94,90 +94,6 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: sqlite3
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 2.14.1
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 2.14.1
125
- - !ruby/object:Gem::Dependency
126
- name: rspec-rails
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: capybara
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: launchy
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
- - !ruby/object:Gem::Dependency
168
- name: factory_girl_rails
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - ">="
172
- - !ruby/object:Gem::Version
173
- version: '0'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - ">="
179
- - !ruby/object:Gem::Version
180
- version: '0'
181
97
  description: Separate pages resource for brightcontent
182
98
  email: developers@brightin.nl
183
99
  executables: []
@@ -185,7 +101,6 @@ extensions: []
185
101
  extra_rdoc_files: []
186
102
  files:
187
103
  - ".gitignore"
188
- - Gemfile
189
104
  - Rakefile
190
105
  - app/assets/images/brightcontent/.gitkeep
191
106
  - app/assets/images/brightcontent/move.png
@@ -279,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
194
  version: '0'
280
195
  requirements: []
281
196
  rubyforge_project:
282
- rubygems_version: 2.5.1
197
+ rubygems_version: 2.6.6
283
198
  signing_key:
284
199
  specification_version: 4
285
200
  summary: Pages resource for brightcontent
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gem 'brightcontent-core', path: '../core'
4
- gem 'brightcontent-attachments', path: '../attachments'
5
-
6
- gemspec