the_role_management_panel 3.8.2 → 3.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35c2a259f88bf7327ed1784a48ee932b011f3894
4
- data.tar.gz: 0d794fbb1ab00ae889be3025b630bcf7d86d2ee5
3
+ metadata.gz: 2f95bd23754b154df05254b4a7295cfc4e4996b9
4
+ data.tar.gz: e6e7a23e34aa379c82053d42471fa7abf17e0ea4
5
5
  SHA512:
6
- metadata.gz: 07ab3602927ff2dfcbee24fea864fdc1a96d7c5e4dbcdaf5d12daf20f2a7ddfcda3aa78446d41cacee6d57d579bb0b8ac55fcab08232c8485c0a87656dbdba33
7
- data.tar.gz: d73ccde2c71cf20e7cd45b0c371ab0645337d297f3cd1ff52cdf71639f7c06f51d370534fb55f41ab68676e73219e9cf6cedd37542fb17dcf5b5300b51bcfe8e
6
+ metadata.gz: c5771d96f665fef8501b51503d85c0cd0d2fdc2a27ca8f148b370c2637c4d78cb74f3377a254f018b69c88f6b513707d4af30532a045076cd5d5ea3c69c8e9cb
7
+ data.tar.gz: 095ee5abdbf3f42beb0b9f221b617448fe75d5413e6fabd2dbbde8957e96131ce13bbaeebf9a7e97bf4c8af8a639c3de855f5d121bc1bcd9fb260f3149463b42
@@ -28,7 +28,12 @@ module TheRoleManagementPanel
28
28
 
29
29
  mapper.member do
30
30
  mapper.get :role_export
31
- mapper.patch :change
31
+
32
+ if mapper.respond_to?(:patch)
33
+ mapper.patch :change
34
+ else
35
+ mapper.put :change
36
+ end
32
37
  end
33
38
 
34
39
  mapper.resources :sections, controller: :role_sections, only: :none do
@@ -3,7 +3,7 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  module TheRoleManagementPanel
6
- VERSION = "3.8.2"
6
+ VERSION = "3.8.3"
7
7
  end
8
8
 
9
9
  Gem::Specification.new do |spec|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency 'sass-rails'
29
29
  spec.add_dependency 'coffee-rails'
30
30
  spec.add_dependency 'the_notification', '~> 0.5.1'
31
- spec.add_dependency 'bootstrap-sass', '~> 3.3', '>= 3.3.1'
31
+ spec.add_dependency 'bootstrap-sass'
32
32
 
33
33
  spec.add_dependency 'rails', ['>= 3', '< 6']
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_role_management_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.2
4
+ version: 3.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya N. Zykin
@@ -98,22 +98,16 @@ dependencies:
98
98
  name: bootstrap-sass
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.3'
104
101
  - - ">="
105
102
  - !ruby/object:Gem::Version
106
- version: 3.3.1
103
+ version: '0'
107
104
  type: :runtime
108
105
  prerelease: false
109
106
  version_requirements: !ruby/object:Gem::Requirement
110
107
  requirements:
111
- - - "~>"
112
- - !ruby/object:Gem::Version
113
- version: '3.3'
114
108
  - - ">="
115
109
  - !ruby/object:Gem::Version
116
- version: 3.3.1
110
+ version: '0'
117
111
  - !ruby/object:Gem::Dependency
118
112
  name: rails
119
113
  requirement: !ruby/object:Gem::Requirement