refinerycms-images 2.0.9 → 2.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 726ab0771b2270af874c268a53a9260e6e67002a
4
+ data.tar.gz: 75cebc30239e823057e512aec2a5a014b1db7899
5
+ SHA512:
6
+ metadata.gz: e296d332629b64ce731b35d1dbad3a41159b7a88110c1a684cf1d2871b6b2a82bf9901b10782253456ddcbde32f3f7df98e27ea73dd031fc3f1337a03850eab1
7
+ data.tar.gz: 83c4947b02ba3bc9033ea12e287b60371930f580aa4e90482d691033442678ad52d53121e6dbc39b8a3af2e85063118a1357c823571579dde5a99b20b5c3a6b5
@@ -1,9 +1,17 @@
1
1
  module Refinery
2
2
  class ImagesGenerator < Rails::Generators::Base
3
+ class_option :skip_migrations, :type => :boolean, :default => false, :aliases => nil, :group => :runtime,
4
+ :desc => "Skip over installing or running migrations."
5
+
3
6
  source_root File.expand_path('../templates', __FILE__)
4
7
 
8
+ def rake_db
9
+ rake "refinery_images:install:migrations" unless self.options[:skip_migrations]
10
+ end
11
+
5
12
  def generate_images_initializer
6
- template "config/initializers/refinery/images.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "images.rb")
13
+ template "config/initializers/refinery/images.rb.erb",
14
+ File.join(destination_root, "config", "initializers", "refinery", "images.rb")
7
15
  end
8
16
 
9
17
  end
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2005-2012 [Resolve Digital](http://www.resolvedigital.com)
3
+ Copyright (c) 2005-2013 [Resolve Digital](http://www.resolvedigital.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,7 +9,7 @@ module Refinery
9
9
 
10
10
  before do
11
11
  prepare_destination
12
- run_generator
12
+ run_generator %w[--skip-migrations]
13
13
  end
14
14
 
15
15
  specify do
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-images
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
5
- prerelease:
4
+ version: 2.0.10
6
5
  platform: ruby
7
6
  authors:
8
7
  - Philip Arndt
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-11-21 00:00:00.000000000 Z
13
+ date: 2013-03-14 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: dragonfly
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ~>
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ~>
30
27
  - !ruby/object:Gem::Version
@@ -32,35 +29,31 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: rack-cache
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: 0.5.3
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: 0.5.3
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: refinerycms-core
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - '='
54
48
  - !ruby/object:Gem::Version
55
- version: 2.0.9
49
+ version: 2.0.10
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - '='
62
55
  - !ruby/object:Gem::Version
63
- version: 2.0.9
56
+ version: 2.0.10
64
57
  description: Handles all image upload and processing functionality in Refinery CMS.
65
58
  email: info@refinerycms.com
66
59
  executables: []
@@ -131,33 +124,26 @@ files:
131
124
  homepage: http://refinerycms.com
132
125
  licenses:
133
126
  - MIT
127
+ metadata: {}
134
128
  post_install_message:
135
129
  rdoc_options: []
136
130
  require_paths:
137
131
  - lib
138
132
  required_ruby_version: !ruby/object:Gem::Requirement
139
- none: false
140
133
  requirements:
141
- - - ! '>='
134
+ - - '>='
142
135
  - !ruby/object:Gem::Version
143
136
  version: '0'
144
- segments:
145
- - 0
146
- hash: -69282291348797146
147
137
  required_rubygems_version: !ruby/object:Gem::Requirement
148
- none: false
149
138
  requirements:
150
- - - ! '>='
139
+ - - '>='
151
140
  - !ruby/object:Gem::Version
152
141
  version: '0'
153
- segments:
154
- - 0
155
- hash: -69282291348797146
156
142
  requirements: []
157
143
  rubyforge_project: refinerycms
158
- rubygems_version: 1.8.24
144
+ rubygems_version: 2.0.3
159
145
  signing_key:
160
- specification_version: 3
146
+ specification_version: 4
161
147
  summary: Images extension for Refinery CMS
162
148
  test_files:
163
149
  - spec/factories/image.rb