redmine_refresh 0.3.0 → 0.3.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/init.rb +2 -8
 - data/lib/redmine_refresh.rb +1 -0
 - data/lib/redmine_refresh/version.rb +1 -1
 - metadata +3 -3
 
    
        data/init.rb
    CHANGED
    
    | 
         @@ -1,10 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
            # - redmine plugins are not railties nor engines, so deface overrides in app/overrides/ are not detected automatically
         
     | 
| 
       3 
     | 
    
         
            -
            # - deface doesn't support direct loading anymore ; it unloads everything at boot so that reload in dev works
         
     | 
| 
       4 
     | 
    
         
            -
            # - hack consists in adding "app/overrides" path of the plugin in Redmine's main #paths
         
     | 
| 
       5 
     | 
    
         
            -
            # TODO: see if it's complicated to turn a plugin into a Railtie or find something a bit cleaner
         
     | 
| 
       6 
     | 
    
         
            -
            Rails.application.paths["app/overrides"] ||= []
         
     | 
| 
       7 
     | 
    
         
            -
            Rails.application.paths["app/overrides"] << File.expand_path("../app/overrides", __FILE__)
         
     | 
| 
      
 1 
     | 
    
         
            +
            require "redmine_refresh/version"
         
     | 
| 
       8 
2 
     | 
    
         | 
| 
       9 
3 
     | 
    
         
             
            Redmine::Plugin.register :redmine_refresh do
         
     | 
| 
       10 
4 
     | 
    
         
             
              name 'Redmine Refresh plugin'
         
     | 
| 
         @@ -13,7 +7,7 @@ Redmine::Plugin.register :redmine_refresh do 
     | 
|
| 
       13 
7 
     | 
    
         
             
              author 'Jean-Baptiste BARTH'
         
     | 
| 
       14 
8 
     | 
    
         
             
              author_url 'mailto:jeanbaptiste.barth@gmail.com'
         
     | 
| 
       15 
9 
     | 
    
         
             
              #TODO: make it depend on redmine_refresh/version
         
     | 
| 
       16 
     | 
    
         
            -
              version  
     | 
| 
      
 10 
     | 
    
         
            +
              version RedmineRefresh::VERSION
         
     | 
| 
       17 
11 
     | 
    
         
             
              requires_redmine :version_or_higher => '2.1.0'
         
     | 
| 
       18 
12 
     | 
    
         
             
              #settings :default => { }, :partial => 'settings/sudo_settings'
         
     | 
| 
       19 
13 
     | 
    
         
             
            end
         
     | 
    
        data/lib/redmine_refresh.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: redmine_refresh
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.3. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.3.1
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       98 
98 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       99 
99 
     | 
    
         
             
                  segments:
         
     | 
| 
       100 
100 
     | 
    
         
             
                  - 0
         
     | 
| 
       101 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 101 
     | 
    
         
            +
                  hash: -1015441272612907636
         
     | 
| 
       102 
102 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       103 
103 
     | 
    
         
             
              none: false
         
     | 
| 
       104 
104 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       107 
107 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       108 
108 
     | 
    
         
             
                  segments:
         
     | 
| 
       109 
109 
     | 
    
         
             
                  - 0
         
     | 
| 
       110 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 110 
     | 
    
         
            +
                  hash: -1015441272612907636
         
     | 
| 
       111 
111 
     | 
    
         
             
            requirements: []
         
     | 
| 
       112 
112 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       113 
113 
     | 
    
         
             
            rubygems_version: 1.8.24
         
     |