trusty-cms 3.2.0 → 3.2.1

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
- SHA1:
3
- metadata.gz: 9f79f185355e72bc0be77aced3d81bc7e657c1ee
4
- data.tar.gz: ee88c89f727061af53eed26bd9420eae87f6708c
2
+ SHA256:
3
+ metadata.gz: e5ddc264335fbd890cf3212f6c6e708f580b8327360ae1b546f3d0afdbb16fa1
4
+ data.tar.gz: 99d7b1cdb1e1bc58711eb011122759cb6181cb996680efa1c6ca6772f64805c4
5
5
  SHA512:
6
- metadata.gz: 7818e8d0346b11fccc2bc07ecbcfe0c53cc3806b7bb183da5ae8b523450d090a14e3656c838ecd29c93d2e307e4b00e6b9e1aa3dc18bcd687e31382844d04b10
7
- data.tar.gz: 9ed4f01baaa5b27759c26e71d05b3707b7c720a511140b69ba21dc80064dfe96ad12adfa90f4d07b654b8a7c988a6c5670bd5cf1389169f83a4821997668e506
6
+ metadata.gz: e057443e2a5046911cd47e598cf0d4b4470e3fb0cf35b6cad34650d51d5cf4c3ceb62b987db78f042c84a2d5affa6ee6f9291ff0b1e2cc35757dc28507665d0d
7
+ data.tar.gz: a1501ed9820469a30c2f7dbbd1e76d7086010d1e5a6a9dd70374f27034a8c26d355eba9ab56f57ca8e642cd834cfc8cb4a988b9d7adeb7d7c0f8c412966919a3
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- trusty-cms (3.2.0)
11
+ trusty-cms (3.2.1)
12
12
  RedCloth (= 4.3.2)
13
13
  acts_as_list (~> 0.9.5)
14
14
  acts_as_tree (~> 2.6.1)
@@ -245,7 +245,7 @@ GEM
245
245
  ffi (>= 0.5.0, < 2)
246
246
  rdoc (5.1.0)
247
247
  ref (2.0.0)
248
- roadie (3.2.2)
248
+ roadie (3.3.0)
249
249
  css_parser (~> 1.4)
250
250
  nokogiri (~> 1.5)
251
251
  roadie-rails (1.2.1)
@@ -277,7 +277,7 @@ GEM
277
277
  sprockets (>= 2.8, < 4.0)
278
278
  sprockets-rails (>= 2.0, < 4.0)
279
279
  tilt (>= 1.1, < 3)
280
- sexp_processor (4.10.1)
280
+ sexp_processor (4.11.0)
281
281
  simplecov (0.13.0)
282
282
  docile (~> 1.1.0)
283
283
  json (>= 1.8, < 3)
@@ -32,7 +32,6 @@ class Admin::AssetsController < Admin::ResourceController
32
32
  def create
33
33
  @assets, @page_attachments = [], []
34
34
  compress = current_site.try(:compress) ? current_site.compress : true
35
- binding.pry
36
35
  asset_params[:asset][:asset].to_a.each do |uploaded_asset|
37
36
  if uploaded_asset.content_type == "application/octet-stream"
38
37
  flash[:notice] = "Please only upload assets that have a valid extension in the name."
data/app/models/asset.rb CHANGED
@@ -189,7 +189,7 @@ private
189
189
  end
190
190
 
191
191
  def assign_title
192
- self.title = self.asset_file_name.sub(self.original_extension, "").sub(".", "")
192
+ self.title = self.asset_file_name.downcase.sub(self.original_extension, "").sub(".", "")
193
193
  end
194
194
 
195
195
  def assign_uuid
data/coverage/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.10.2/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" style="display:none;">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2018-03-30T11:37:29-04:00">2018-03-30T11:37:29-04:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2018-04-24T10:24:00-04:00">2018-04-24T10:24:00-04:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
@@ -247,7 +247,7 @@
247
247
  <td>9</td>
248
248
  <td>8</td>
249
249
  <td>1</td>
250
- <td>2.9</td>
250
+ <td>2.7</td>
251
251
  </tr>
252
252
 
253
253
  <tr>
@@ -4388,7 +4388,7 @@
4388
4388
  <code class="ruby"> value = t(&quot;desc.#{tag_name.gsub(&#39;:&#39;,&#39;-&#39;)}&quot;).match(&#39;desc&#39;) ? description : t(&quot;desc.#{tag_name.gsub(&#39;:&#39;,&#39;-&#39;)}&quot;)</code>
4389
4389
  </li>
4390
4390
 
4391
- <li class="never" data-hits="" data-linenumber="8">
4391
+ <li class="missed" data-hits="0" data-linenumber="8">
4392
4392
 
4393
4393
 
4394
4394
  <code class="ruby"> output &lt;&lt; render(:partial =&gt; &quot;admin/references/tag_reference.haml&quot;,</code>
@@ -4406,7 +4406,7 @@
4406
4406
  <code class="ruby"> :description =&gt; RedCloth.new(TrustyCms::Taggable::Util.strip_leading_whitespace(value)).to_html</code>
4407
4407
  </li>
4408
4408
 
4409
- <li class="missed" data-hits="0" data-linenumber="11">
4409
+ <li class="never" data-hits="" data-linenumber="11">
4410
4410
 
4411
4411
 
4412
4412
  <code class="ruby"> })</code>
@@ -4568,7 +4568,7 @@
4568
4568
  <code class="ruby"> def filter</code>
4569
4569
  </li>
4570
4570
 
4571
- <li class="never" data-hits="" data-linenumber="38">
4571
+ <li class="missed" data-hits="0" data-linenumber="38">
4572
4572
 
4573
4573
 
4574
4574
  <code class="ruby"> @filter ||= begin</code>
@@ -4580,7 +4580,7 @@
4580
4580
  <code class="ruby"> TextFilter.find_descendant(params[:filter_name])</code>
4581
4581
  </li>
4582
4582
 
4583
- <li class="missed" data-hits="0" data-linenumber="40">
4583
+ <li class="never" data-hits="" data-linenumber="40">
4584
4584
 
4585
4585
 
4586
4586
  <code class="ruby"> end</code>
@@ -5793,8 +5793,8 @@
5793
5793
  <code class="ruby"> # Default Order</code>
5794
5794
  </li>
5795
5795
 
5796
- <li class="covered" data-hits="19" data-linenumber="4">
5797
- <span class="hits">19</span>
5796
+ <li class="covered" data-hits="17" data-linenumber="4">
5797
+ <span class="hits">17</span>
5798
5798
 
5799
5799
  <code class="ruby"> default_scope {order(&quot;name&quot;)}</code>
5800
5800
  </li>
@@ -6414,8 +6414,8 @@
6414
6414
  <code class="ruby"> # Default Order</code>
6415
6415
  </li>
6416
6416
 
6417
- <li class="covered" data-hits="27" data-linenumber="7">
6418
- <span class="hits">27</span>
6417
+ <li class="covered" data-hits="25" data-linenumber="7">
6418
+ <span class="hits">25</span>
6419
6419
 
6420
6420
  <code class="ruby"> default_scope {order(&quot;name&quot;)}</code>
6421
6421
  </li>
@@ -7540,7 +7540,7 @@
7540
7540
  <code class="ruby"> def pagination_parameters</code>
7541
7541
  </li>
7542
7542
 
7543
- <li class="never" data-hits="" data-linenumber="19">
7543
+ <li class="missed" data-hits="0" data-linenumber="19">
7544
7544
 
7545
7545
 
7546
7546
  <code class="ruby"> {</code>
@@ -7558,7 +7558,7 @@
7558
7558
  <code class="ruby"> :per_page =&gt; params[WillPaginate::ViewHelpers.pagination_options[:per_page_param_name]] || TrustyCms::Config[&#39;pagination.per_page&#39;] || 20</code>
7559
7559
  </li>
7560
7560
 
7561
- <li class="missed" data-hits="0" data-linenumber="22">
7561
+ <li class="never" data-hits="" data-linenumber="22">
7562
7562
 
7563
7563
 
7564
7564
  <code class="ruby"> }</code>
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '3.2.0'
5
+ VERSION = '3.2.1'
6
6
  end
7
7
  end
File without changes