bcms_tools 0.2.6 → 0.2.7

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/VERSION CHANGED
@@ -1,2 +1,2 @@
1
- 0.2.6
1
+ 0.2.7
2
2
 
data/bcms_tools.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bcms_tools}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["buzzware"]
12
- s.date = %q{2011-06-03}
12
+ s.date = %q{2011-07-11}
13
13
  s.description = %q{Tools for BrowserCms.}
14
14
  s.email = %q{contact@buzzware.com.au}
15
15
  s.extra_rdoc_files = [
@@ -63,7 +63,7 @@ Paperclip::Thumbnail.class_eval do
63
63
  def make_custom(aDestpath)
64
64
  src = @file
65
65
  srcpath = File.expand_path(src.path).gsub('$','\$') # escape $, more chars may need to be added
66
- tcmd = transformation_command.sub('-resize','-strip -thumbnail')
66
+ tcmd = transformation_command.sub('-resize','-strip -colorspace rgb -thumbnail')
67
67
  command = "#{ source_file_options } \"#{ srcpath }[0]\" #{ tcmd } \"#{ File.expand_path(aDestpath) }\""
68
68
 
69
69
  success = false
@@ -138,7 +138,7 @@ Cms::FormBuilder.class_eval do
138
138
  ins = aOptions.delete(:instructions)
139
139
  result += check_box(aField, aOptions)
140
140
 
141
- result += "<div class=\"instructions\">#{ins}</div>" if aOptions[:instructions]
141
+ result += "<div class=\"instructions\">#{ins}</div>" if ins
142
142
  result += "<br clear=\"all\" />" # Fixes issue with bad line wrapping
143
143
  result += "</div>"
144
144
  result
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcms_tools
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 7
10
+ version: 0.2.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - buzzware
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-03 00:00:00 +08:00
18
+ date: 2011-07-11 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency