refinerycms-resources 2.0.0 → 2.0.1

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/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/resources/*dragonfly', :to => Dragonfly[:refinery_resources]
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-resources-with-dragonfly', :before => :load_config_initializers do |app|
11
+ initializer 'setup-refinery-resources-with-dragonfly', :before => :load_config_initializers do
12
12
  ::Refinery::Resources::Dragonfly.setup!
13
13
  end
14
14
 
@@ -23,10 +23,8 @@ module Refinery
23
23
  plugin.name = 'refinery_files'
24
24
  plugin.menu_match = /refinery\/(refinery_)?(files|resources)$/
25
25
  plugin.version = %q{2.0.0}
26
- plugin.activity = {
27
- :class_name => :'refinery/resource'
28
- }
29
- plugin.url = { :controller => '/refinery/admin/resources' }
26
+ plugin.activity = { :class_name => :'refinery/resource' }
27
+ plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.admin_resources_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-resources
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
@@ -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