refinerycms-images 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/config/routes.rb CHANGED
@@ -1,4 +1,4 @@
1
- Refinery::Core::Engine.routes.draw do
1
+ Refinery::Core::Engine.routes.prepend do
2
2
  match '/system/images/*dragonfly', :to => Dragonfly[:refinery_images]
3
3
 
4
4
  namespace :admin, :path => 'refinery' do
@@ -8,7 +8,7 @@ module Refinery
8
8
 
9
9
  config.autoload_paths += %W( #{config.root}/lib )
10
10
 
11
- initializer 'setup-refinery-images-with-dragonfly', :before => :load_config_initializers do |app|
11
+ initializer 'setup-refinery-images-with-dragonfly', :before => :load_config_initializers do
12
12
  ::Refinery::Images::Dragonfly.setup!
13
13
  end
14
14
 
@@ -23,10 +23,8 @@ module Refinery
23
23
  plugin.name = 'refinery_images'
24
24
  plugin.version = %q{2.0.0}
25
25
  plugin.menu_match = %r{refinery/image(_dialog)?s$}
26
- plugin.activity = {
27
- :class_name => :'refinery/image'
28
- }
29
- plugin.url = { :controller => '/refinery/admin/images' }
26
+ plugin.activity = { :class_name => :'refinery/image' }
27
+ plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.admin_images_path }
30
28
  end
31
29
  end
32
30
 
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2005-2011 [Resolve Digital](http://www.resolvedigital.com)
3
+ Copyright (c) 2005-2012 [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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-images
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Philip Arndt
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2012-03-01 00:00:00 Z
21
+ date: 2012-03-06 00:00:00 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  prerelease: false
@@ -59,12 +59,12 @@ dependencies:
59
59
  requirements:
60
60
  - - "="
61
61
  - !ruby/object:Gem::Version
62
- hash: 15
62
+ hash: 13
63
63
  segments:
64
64
  - 2
65
65
  - 0
66
- - 0
67
- version: 2.0.0
66
+ - 1
67
+ version: 2.0.1
68
68
  version_requirements: *id003
69
69
  name: refinerycms-core
70
70
  type: :runtime