caboose-cms 0.4.102 → 0.4.103

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTZlZWIwZjY1MGRlZDVkMDRjZDg5ODIwMzJmNjA4ZmViNTMwMmYzMg==
4
+ NTdkZGRkMzc5ZmM3OTA4NDMxNWNkYzI0YzZkYTQ0N2Y1ZWE4N2NjMQ==
5
5
  data.tar.gz: !binary |-
6
- ODFlZDIyODJhOTc2YmIxOWM1ZWIxN2U5MzIzMTY2NThjNGIyYTNlYw==
6
+ YmYwMTA0ZWQ1Y2QwNDI1MjRjM2FlOWEzYTBjODQ1N2I4MDJkMjk1MA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTA0MTM4YTY4MTljZWVkODZkNzBkYzk0Y2IxZjMyZGZlYTEyNzk1YWY2Yzdm
10
- Y2VhYjU5MzVjZThmMjczNTQ4ZjdhNzRjYTZkZDM1ZDk2MDQyMWJiZDI5Y2E1
11
- Zjk1MTRiZDAxOTU1OWNkZDZkODQyNGY1NTVkZjM5ZTk0YjE3YWU=
9
+ ZDdlOTMzYTc3NDkyNWJhZWY3OGI0OTc4M2E2ZjI5MjVmNTlkZjYxM2YwMDFl
10
+ MWMzODZhNWMyZWQzZTUwNzViNzhlM2JhM2VkZjhjZmJhZDdlMzJjOWYxMWU1
11
+ NzQwYTE5N2E1ZDg3NGYzZmIwMGU4OGQ4MTU4NGQ1NDQ0MTViZmU=
12
12
  data.tar.gz: !binary |-
13
- Yjk4Y2MzN2YxNzU2MGU2ZGYwNmJlZGY2NDA2ZDc2MTQ5M2NhMzJhMWE3NWRh
14
- YzEwZTkzNWZlZjkzMTc0ZGEwZGRmOTgwYmY4ZmNmZjI1ZjMwNDk3MTk4OTU2
15
- OTJlYmFjZGY4MGQ2Njg5NzRlMzAyZjM3ZjAwOTU1MDJkMWQxYWY=
13
+ ZDlmNTRjY2I1MjI5MmYzNDI1MGU4NDY5YzBlOWY4ZjY5MmUyNmM3NDg4NGY1
14
+ ODc5MWNlZjg0MDRlOWQwNDUwYTRmMTYyYzA1YTYxNjg0M2U5MmRlYmQ1NDdh
15
+ YjRjMDczNGNhM2MxMzAxYWE1ZTg5MTI0N2I4ODhkMjBkNTU0N2Y=
@@ -56,7 +56,7 @@ module Caboose
56
56
  # Strips html and returns the text that breaks closest to the given length
57
57
  def Caboose.teaser_text(str, length = 100)
58
58
  return "" if str.nil?
59
- str2 = ActionController::Base.helpers.strip_tags(str)
59
+ str2 = ActionController::Base.helpers.strip_tags(str).gsub("\n", ' ')
60
60
  if str2.length > length
61
61
  i = str2.index(' ', length) - 1
62
62
  i = length if i.nil?
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.4.102'
2
+ VERSION = '0.4.103'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.102
4
+ version: 0.4.103
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-31 00:00:00.000000000 Z
11
+ date: 2014-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -289,7 +289,6 @@ files:
289
289
  - app/helpers/caboose/permissions_helper.rb
290
290
  - app/helpers/caboose/products_helper.rb
291
291
  - app/mailers/caboose/login_mailer.rb
292
- - app/models/caboose/#Untitled-1#
293
292
  - app/models/caboose/ab_option.rb
294
293
  - app/models/caboose/ab_testing.rb
295
294
  - app/models/caboose/ab_value.rb
@@ -1,7 +0,0 @@
1
- SELECT DISTINCT "job_postings".id, companies.package_id, date_available, title AS alias_0
2
- FROM "job_postings" LEFT OUTER JOIN "job_posting_categories" ON "job_posting_categories"."job_posting_id" = "job_postings"."id"
3
- LEFT OUTER JOIN "categories" ON "categories"."id" = "job_posting_categories"."category_id"
4
- LEFT OUTER JOIN "companies" ON "companies"."id" = "job_postings"."company_id"
5
- WHERE (job_postings.date_available is not null and job_postings.date_available >= '2014-08-31 22:11:44')
6
- ORDER BY companies.package_id, date_available, title desc
7
- LIMIT 10 OFFSET 0