refinerycms-resources 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: 0bbae7040b6b5a8a157a30e87ecf120c2d8f2f76
4
+ data.tar.gz: ad53f0118bf9c83996504cbd615583cc4086f0ac
5
+ SHA512:
6
+ metadata.gz: 11717491a83593f2d26ec90f0e33baf698ef8983412396d32af296412e2006590942139973a15502a3ac6ca092024b12a6d3439ce59b71d96a6eb28870fd1b1c
7
+ data.tar.gz: 944174054ca9a3579436aedd88cedc653fc36e63e56e93486c71b7f6e8e0a2dcddada209843630a1679bacd60edcd73ec2d5e1c1c2ab47a862ae07f52b8c44e1
@@ -1,9 +1,17 @@
1
1
  module Refinery
2
2
  class ResourcesGenerator < 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_resources:install:migrations" unless self.options[:skip_migrations]
10
+ end
11
+
5
12
  def generate_resources_initializer
6
- template "config/initializers/refinery/resources.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "resources.rb")
13
+ template "config/initializers/refinery/resources.rb.erb",
14
+ File.join(destination_root, "config", "initializers", "refinery", "resources.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-resources
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 file upload and processing functionality in Refinery CMS.
65
58
  email: info@refinerycms.com
66
59
  executables: []
@@ -128,33 +121,26 @@ files:
128
121
  homepage: http://refinerycms.com
129
122
  licenses:
130
123
  - MIT
124
+ metadata: {}
131
125
  post_install_message:
132
126
  rdoc_options: []
133
127
  require_paths:
134
128
  - lib
135
129
  required_ruby_version: !ruby/object:Gem::Requirement
136
- none: false
137
130
  requirements:
138
- - - ! '>='
131
+ - - '>='
139
132
  - !ruby/object:Gem::Version
140
133
  version: '0'
141
- segments:
142
- - 0
143
- hash: 1213057115828417290
144
134
  required_rubygems_version: !ruby/object:Gem::Requirement
145
- none: false
146
135
  requirements:
147
- - - ! '>='
136
+ - - '>='
148
137
  - !ruby/object:Gem::Version
149
138
  version: '0'
150
- segments:
151
- - 0
152
- hash: 1213057115828417290
153
139
  requirements: []
154
140
  rubyforge_project: refinerycms
155
- rubygems_version: 1.8.24
141
+ rubygems_version: 2.0.3
156
142
  signing_key:
157
- specification_version: 3
143
+ specification_version: 4
158
144
  summary: Resources extension for Refinery CMS
159
145
  test_files:
160
146
  - spec/factories/resource.rb