fullstack-cms 0.3.30 → 0.3.31

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  source "http://rubygems.org"
6
6
 
7
- gem "fullstack-admin", '~> 0.2.15'
7
+ gem "fullstack-admin", '~> 0.2.18'
8
8
 
9
9
  gem "ars-permalink"
10
10
  gem "acts-as-taggable-on"
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- actionmailer (3.2.9)
5
- actionpack (= 3.2.9)
4
+ actionmailer (3.2.11)
5
+ actionpack (= 3.2.11)
6
6
  mail (~> 2.4.4)
7
- actionpack (3.2.9)
8
- activemodel (= 3.2.9)
9
- activesupport (= 3.2.9)
7
+ actionpack (3.2.11)
8
+ activemodel (= 3.2.11)
9
+ activesupport (= 3.2.11)
10
10
  builder (~> 3.0.0)
11
11
  erubis (~> 2.7.0)
12
12
  journey (~> 1.0.4)
@@ -16,18 +16,18 @@ GEM
16
16
  sprockets (~> 2.2.1)
17
17
  active_record_schema (0.5.13)
18
18
  rails
19
- activemodel (3.2.9)
20
- activesupport (= 3.2.9)
19
+ activemodel (3.2.11)
20
+ activesupport (= 3.2.11)
21
21
  builder (~> 3.0.0)
22
- activerecord (3.2.9)
23
- activemodel (= 3.2.9)
24
- activesupport (= 3.2.9)
22
+ activerecord (3.2.11)
23
+ activemodel (= 3.2.11)
24
+ activesupport (= 3.2.11)
25
25
  arel (~> 3.0.2)
26
26
  tzinfo (~> 0.3.29)
27
- activeresource (3.2.9)
28
- activemodel (= 3.2.9)
29
- activesupport (= 3.2.9)
30
- activesupport (3.2.9)
27
+ activeresource (3.2.11)
28
+ activemodel (= 3.2.11)
29
+ activesupport (= 3.2.11)
30
+ activesupport (3.2.11)
31
31
  i18n (~> 0.6)
32
32
  multi_json (~> 1.0)
33
33
  acts-as-taggable-on (2.3.3)
@@ -121,7 +121,7 @@ GEM
121
121
  remotipart
122
122
  resource-presentation-helpers
123
123
  squeel
124
- fullstack-admin (0.2.15)
124
+ fullstack-admin (0.2.18)
125
125
  bootstrap-datepicker-rails
126
126
  bootstrap-helpers (~> 0.1.9)
127
127
  chosen-rails
@@ -129,12 +129,12 @@ GEM
129
129
  facebox-rails
130
130
  formtastic-bootstrap
131
131
  fullstack (~> 0.1.26)
132
- has-attached (~> 0.2.4)
132
+ has-attached (~> 0.2.5)
133
133
  meta_search
134
134
  plupload-rails
135
135
  rails (~> 3.2)
136
136
  git (1.2.5)
137
- has-attached (0.2.4)
137
+ has-attached (0.2.5)
138
138
  aws-sdk
139
139
  flash_cookie_session
140
140
  paperclip
@@ -156,7 +156,7 @@ GEM
156
156
  jquery-rails (2.1.4)
157
157
  railties (>= 3.0, < 5.0)
158
158
  thor (>= 0.14, < 2.0)
159
- json (1.7.5)
159
+ json (1.7.6)
160
160
  kaminari (0.13.0)
161
161
  actionpack (>= 3.0.0)
162
162
  activesupport (>= 3.0.0)
@@ -194,7 +194,7 @@ GEM
194
194
  polyamorous (0.5.0)
195
195
  activerecord (~> 3.0)
196
196
  polyglot (0.3.3)
197
- rack (1.4.1)
197
+ rack (1.4.4)
198
198
  rack-cache (1.2)
199
199
  rack (>= 0.4)
200
200
  rack-mobile-detect (0.4.0)
@@ -203,14 +203,14 @@ GEM
203
203
  rack
204
204
  rack-test (0.6.2)
205
205
  rack (>= 1.0)
206
- rails (3.2.9)
207
- actionmailer (= 3.2.9)
208
- actionpack (= 3.2.9)
209
- activerecord (= 3.2.9)
210
- activeresource (= 3.2.9)
211
- activesupport (= 3.2.9)
206
+ rails (3.2.11)
207
+ actionmailer (= 3.2.11)
208
+ actionpack (= 3.2.11)
209
+ activerecord (= 3.2.11)
210
+ activeresource (= 3.2.11)
211
+ activesupport (= 3.2.11)
212
212
  bundler (~> 1.0)
213
- railties (= 3.2.9)
213
+ railties (= 3.2.11)
214
214
  rails-i18n (0.7.2)
215
215
  i18n (~> 0.5)
216
216
  rails-slow-assets-workaround (0.1.1)
@@ -221,9 +221,9 @@ GEM
221
221
  rails (~> 3.0)
222
222
  rails_nested_layouts (0.1.1)
223
223
  rails
224
- railties (3.2.9)
225
- actionpack (= 3.2.9)
226
- activesupport (= 3.2.9)
224
+ railties (3.2.11)
225
+ actionpack (= 3.2.11)
226
+ activesupport (= 3.2.11)
227
227
  rack-ssl (~> 1.3.2)
228
228
  rake (>= 0.8.7)
229
229
  rdoc (~> 3.4)
@@ -263,7 +263,7 @@ GEM
263
263
  uuidtools (2.1.3)
264
264
  warden (1.2.1)
265
265
  rack (>= 1.0)
266
- whenever (0.8.1)
266
+ whenever (0.8.2)
267
267
  activesupport (>= 2.3.4)
268
268
  chronic (>= 0.6.3)
269
269
 
@@ -276,7 +276,7 @@ DEPENDENCIES
276
276
  ars-permalink
277
277
  awesome_nested_set
278
278
  bluecloth
279
- fullstack-admin (~> 0.2.15)
279
+ fullstack-admin (~> 0.2.18)
280
280
  jeweler
281
281
  rails_i18n_gettext
282
282
  rinku (~> 1.2.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.30
1
+ 0.3.31
data/app/models/link.rb CHANGED
@@ -3,14 +3,11 @@ class Link < ActiveRecord::Base
3
3
 
4
4
  field :label, :string
5
5
  include Positionable
6
-
7
- # field :description, :text
8
- # has_attached :image
9
- # has_attached :icon
10
6
 
11
7
  belongs_to :link_owner, :polymorphic => true
12
8
  belongs_to :linked, :polymorphic => true
13
9
 
10
+ inheritable
14
11
  timestamps
15
12
  field :nofollow, :boolean
16
13
  field :url, :string
data/app/models/photo.rb CHANGED
@@ -5,7 +5,7 @@ class Photo < ActiveRecord::Base
5
5
  validates_attachment :image, :presence => true,
6
6
  :size => { :in => 0..5.megabytes }
7
7
 
8
- has_attached :image, :processors => [:auto_orient, :thumbnail]
8
+ has_attached :image
9
9
 
10
10
  acts_as_taggable
11
11
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-cms"
8
- s.version = "0.3.30"
8
+ s.version = "0.3.31"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
12
- s.date = "2013-01-15"
12
+ s.date = "2013-01-16"
13
13
  s.description = "CMS system built on fullstack"
14
14
  s.email = "maurizio.cas@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -97,8 +97,6 @@ Gem::Specification.new do |s|
97
97
  "lib/fullstack/cms.rb",
98
98
  "lib/fullstack/cms/configuration.rb",
99
99
  "lib/fullstack/cms/engine.rb",
100
- "lib/fullstack/paperclip/auto_orient.rb",
101
- "lib/fullstack/paperclip/rotator.rb",
102
100
  "lib/generators/fullstack/cms/install_generator.rb",
103
101
  "lib/generators/fullstack/cms/locale_generator.rb",
104
102
  "lib/generators/fullstack/cms/templates/rails/app/assets/javascripts/site/lib/bootstrap.js",
@@ -179,7 +177,7 @@ Gem::Specification.new do |s|
179
177
  s.specification_version = 3
180
178
 
181
179
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
182
- s.add_runtime_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
180
+ s.add_runtime_dependency(%q<fullstack-admin>, ["~> 0.2.18"])
183
181
  s.add_runtime_dependency(%q<ars-permalink>, [">= 0"])
184
182
  s.add_runtime_dependency(%q<acts-as-taggable-on>, [">= 0"])
185
183
  s.add_runtime_dependency(%q<acts_as_indexed>, [">= 0"])
@@ -190,7 +188,7 @@ Gem::Specification.new do |s|
190
188
  s.add_runtime_dependency(%q<bluecloth>, [">= 0"])
191
189
  s.add_development_dependency(%q<jeweler>, [">= 0"])
192
190
  else
193
- s.add_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
191
+ s.add_dependency(%q<fullstack-admin>, ["~> 0.2.18"])
194
192
  s.add_dependency(%q<ars-permalink>, [">= 0"])
195
193
  s.add_dependency(%q<acts-as-taggable-on>, [">= 0"])
196
194
  s.add_dependency(%q<acts_as_indexed>, [">= 0"])
@@ -202,7 +200,7 @@ Gem::Specification.new do |s|
202
200
  s.add_dependency(%q<jeweler>, [">= 0"])
203
201
  end
204
202
  else
205
- s.add_dependency(%q<fullstack-admin>, ["~> 0.2.15"])
203
+ s.add_dependency(%q<fullstack-admin>, ["~> 0.2.18"])
206
204
  s.add_dependency(%q<ars-permalink>, [">= 0"])
207
205
  s.add_dependency(%q<acts-as-taggable-on>, [">= 0"])
208
206
  s.add_dependency(%q<acts_as_indexed>, [">= 0"])
data/lib/fullstack/cms.rb CHANGED
@@ -34,8 +34,6 @@ require "whenever"
34
34
  require 'fullstack/cms/engine'
35
35
  require 'fullstack/cms/configuration'
36
36
  require 'bluecloth'
37
- require 'fullstack/paperclip/rotator'
38
- require 'fullstack/paperclip/auto_orient'
39
37
 
40
38
  module Fullstack
41
39
  module Cms
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullstack-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.30
4
+ version: 0.3.31
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-01-15 00:00:00.000000000 Z
12
+ date: 2013-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fullstack-admin
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.2.15
21
+ version: 0.2.18
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: 0.2.15
29
+ version: 0.2.18
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: ars-permalink
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -259,8 +259,6 @@ files:
259
259
  - lib/fullstack/cms.rb
260
260
  - lib/fullstack/cms/configuration.rb
261
261
  - lib/fullstack/cms/engine.rb
262
- - lib/fullstack/paperclip/auto_orient.rb
263
- - lib/fullstack/paperclip/rotator.rb
264
262
  - lib/generators/fullstack/cms/install_generator.rb
265
263
  - lib/generators/fullstack/cms/locale_generator.rb
266
264
  - lib/generators/fullstack/cms/templates/rails/app/assets/javascripts/site/lib/bootstrap.js
@@ -345,7 +343,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
345
343
  version: '0'
346
344
  segments:
347
345
  - 0
348
- hash: -4367642732034536460
346
+ hash: -2037385284458722432
349
347
  required_rubygems_version: !ruby/object:Gem::Requirement
350
348
  none: false
351
349
  requirements:
@@ -1,16 +0,0 @@
1
- module Paperclip
2
- class AutoOrient < Paperclip::Processor
3
- def initialize(file, options = {}, *args)
4
- @file = file
5
- end
6
-
7
- def make( *args )
8
- dst = Tempfile.new([@basename, @format].compact.join("."))
9
- dst.binmode
10
-
11
- Paperclip.run('convert',"'#{File.expand_path(@file.path)}' -auto-orient #{File.expand_path(dst.path)}")
12
-
13
- return dst
14
- end
15
- end
16
- end
@@ -1,14 +0,0 @@
1
- module Paperclip
2
- class Rotator < Thumbnail
3
-
4
- def transformation_command
5
- rotate = @attachment.instance.rotating? ? @attachment.instance.rotation_degrees : false
6
- if rotate
7
- super << "-rotate #{rotate}"
8
- else
9
- super
10
- end
11
- end
12
-
13
- end
14
- end