spree_admin_roles_and_access 1.1.0 → 1.2.0
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/README.md
    CHANGED
    
    | 
         @@ -12,9 +12,15 @@ Add spree_admin_roles_and_access to your Gemfile: 
     | 
|
| 
       12 
12 
     | 
    
         
             
            gem 'spree_admin_roles_and_access'
         
     | 
| 
       13 
13 
     | 
    
         
             
            ```
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            But if you are using  
     | 
| 
      
 15 
     | 
    
         
            +
            But if you are using older version of spree
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            ```ruby
         
     | 
| 
      
 18 
     | 
    
         
            +
            # Spree 2.1.x
         
     | 
| 
      
 19 
     | 
    
         
            +
            gem 'spree_admin_roles_and_access', '1.1.0'
         
     | 
| 
      
 20 
     | 
    
         
            +
            ```
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 23 
     | 
    
         
            +
            # Spree 2.0.x
         
     | 
| 
       18 
24 
     | 
    
         
             
            gem 'spree_admin_roles_and_access', '1.0.0'
         
     | 
| 
       19 
25 
     | 
    
         
             
            ```
         
     | 
| 
       20 
26 
     | 
    
         | 
| 
         @@ -84,6 +90,17 @@ bundle exec rake test_app 
     | 
|
| 
       84 
90 
     | 
    
         
             
            bundle exec rspec spec
         
     | 
| 
       85 
91 
     | 
    
         
             
            ```
         
     | 
| 
       86 
92 
     | 
    
         | 
| 
      
 93 
     | 
    
         
            +
            Contributing
         
     | 
| 
      
 94 
     | 
    
         
            +
            ------------
         
     | 
| 
      
 95 
     | 
    
         
            +
             
     | 
| 
      
 96 
     | 
    
         
            +
            1. Fork the repo.
         
     | 
| 
      
 97 
     | 
    
         
            +
            2. Clone your repo.
         
     | 
| 
      
 98 
     | 
    
         
            +
            3. Run `bundle install`.
         
     | 
| 
      
 99 
     | 
    
         
            +
            4. Run `bundle exec rake test_app` to create the test application in `spec/test_app`.
         
     | 
| 
      
 100 
     | 
    
         
            +
            5. Make your changes.
         
     | 
| 
      
 101 
     | 
    
         
            +
            6. Ensure specs pass by running `bundle exec rspec spec`.
         
     | 
| 
      
 102 
     | 
    
         
            +
            7. Submit your pull request.
         
     | 
| 
      
 103 
     | 
    
         
            +
             
     | 
| 
       87 
104 
     | 
    
         | 
| 
       88 
105 
     | 
    
         
             
            Credits
         
     | 
| 
       89 
106 
     | 
    
         
             
            -------
         
     | 
| 
         @@ -5,13 +5,13 @@ module SpreeAdminRolesAndAccess 
     | 
|
| 
       5 
5 
     | 
    
         
             
                  class_option :auto_run_migrations, :type => :boolean, :default => false
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
                  def add_javascripts
         
     | 
| 
       8 
     | 
    
         
            -
                    append_file ' 
     | 
| 
       9 
     | 
    
         
            -
                    append_file ' 
     | 
| 
      
 8 
     | 
    
         
            +
                    append_file 'vendor/assets/javascripts/spree/frontend/all.js', "\n//= require store/spree_favorite_products\n"
         
     | 
| 
      
 9 
     | 
    
         
            +
                    append_file 'vendor/assets/javascripts/spree/backend/all.js', "\n//= require admin/spree_favorite_products\n"
         
     | 
| 
       10 
10 
     | 
    
         
             
                  end
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
                  def add_stylesheets
         
     | 
| 
       13 
     | 
    
         
            -
                    inject_into_file ' 
     | 
| 
       14 
     | 
    
         
            -
                    inject_into_file ' 
     | 
| 
      
 13 
     | 
    
         
            +
                    inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require store/spree_favorite_products\n", :before => /\*\//, :verbose => true
         
     | 
| 
      
 14 
     | 
    
         
            +
                    inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require admin/spree_favorite_products\n", :before => /\*\//, :verbose => true
         
     | 
| 
       15 
15 
     | 
    
         
             
                  end
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                  def add_migrations
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: spree_admin_roles_and_access
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 31
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 1
         
     | 
| 
       8 
     | 
    
         
            -
              -  
     | 
| 
      
 8 
     | 
    
         
            +
              - 2
         
     | 
| 
       9 
9 
     | 
    
         
             
              - 0
         
     | 
| 
       10 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 10 
     | 
    
         
            +
              version: 1.2.0
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Nishant 'CyRo' Tuteja
         
     | 
| 
         @@ -15,7 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2014-03- 
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2014-03-26 00:00:00 Z
         
     | 
| 
       19 
19 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       21 
21 
     | 
    
         
             
              name: spree_core
         
     | 
| 
         @@ -25,11 +25,11 @@ dependencies: 
     | 
|
| 
       25 
25 
     | 
    
         
             
                requirements: 
         
     | 
| 
       26 
26 
     | 
    
         
             
                - - ~>
         
     | 
| 
       27 
27 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       28 
     | 
    
         
            -
                    hash:  
     | 
| 
      
 28 
     | 
    
         
            +
                    hash: 7
         
     | 
| 
       29 
29 
     | 
    
         
             
                    segments: 
         
     | 
| 
       30 
30 
     | 
    
         
             
                    - 2
         
     | 
| 
       31 
     | 
    
         
            -
                    -  
     | 
| 
       32 
     | 
    
         
            -
                    version: "2. 
     | 
| 
      
 31 
     | 
    
         
            +
                    - 2
         
     | 
| 
      
 32 
     | 
    
         
            +
                    version: "2.2"
         
     | 
| 
       33 
33 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       34 
34 
     | 
    
         
             
              version_requirements: *id001
         
     | 
| 
       35 
35 
     | 
    
         
             
            description: 
         
     |