ez-permissions 0.5.0 → 0.6.0

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
  SHA256:
3
- metadata.gz: 4b1bba0ec695b54e27b18035b6ca073f1a66810df48707479431fb3f31f0ff8c
4
- data.tar.gz: 49278569109b575599eda90fc1afeb57490e368c8ece5442e0fc90a8eb02703b
3
+ metadata.gz: bc03e8e58f184793c6e903393db062e06d8a8887fe4887f455807d4c624cbaa0
4
+ data.tar.gz: f6b5695a2a45a9908846b72b09c75455605cc28d25583cdc8439c14a8479a538
5
5
  SHA512:
6
- metadata.gz: d80747eeffaac6088373fa9fa56e78ae9351b4b9f2f708a5426344f64067bd4b4c717635482260051fb0d5004725fa535ed98074ee3e934217d9080a5d591c82
7
- data.tar.gz: da7e1ced8d532ff27689e6b309858ad501ba3aee88edb35ec76e2af1ee72104b38b33240a6d2d47e93e8fed458434dbeac496ee9773f2601bf478595ffc2b6bd
6
+ metadata.gz: 76ab990a4c789b1da51a2265ec5af08f4fad689a5a958be1b947c4cff33e7cd18dfe035f4a375f0fa8df616481dbf2401273d6eba36164a1cdae844ea6925852
7
+ data.tar.gz: 995f632e48f0bc79d6785cd7ad27fea4e9b6bf36c7aace149729d573ab25aa0f0b16d6a7bce39fa38f33ae50b3a6d9fe994d8785452890823a58f45efc65e097
@@ -52,7 +52,7 @@ module Ez
52
52
  def message(txt, level = 'WARN')
53
53
  return if Ez::Permissions.config.mute_stdout
54
54
 
55
- STDOUT.puts("[#{level}] Ez::Permissions: #{txt}")
55
+ $stdout.puts("[#{level}] Ez::Permissions: #{txt}")
56
56
  end
57
57
 
58
58
  def seed_to_db(resource)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ez
4
4
  module Permissions
5
- VERSION = '0.5.0'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  end
@@ -7,7 +7,7 @@ namespace :ez do
7
7
  Ez::Permissions::Permission.find_each do |permission|
8
8
  next if Ez::Permissions::DSL.resource_action?(permission.resource, permission.action)
9
9
 
10
- STDOUT.puts '[WARNING] Ez::Permissions:'\
10
+ $stdout.puts '[WARNING] Ez::Permissions:'\
11
11
  "Permission##{permission.id} [#{permission.resource} -> #{permission.action}] is redundant"
12
12
  end
13
13
  end
@@ -17,7 +17,7 @@ namespace :ez do
17
17
  next if Ez::Permissions::DSL.resource_action?(permission.resource, permission.action)
18
18
 
19
19
  permission.destroy
20
- STDOUT.puts '[WARNING] Ez::Permissions:'\
20
+ $stdout.puts '[WARNING] Ez::Permissions:'\
21
21
  "Permission##{permission.id} [#{permission.resource} -> #{permission.action}] is removed"
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ez-permissions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodya Sveredyuk
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-10 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ez-core
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 1.3.6
151
+ version: '1.4'
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 1.3.6
158
+ version: '1.4'
159
159
  description: Easy permissions engine for Rails app.
160
160
  email:
161
161
  - sveredyuk@gmail.com
@@ -193,7 +193,7 @@ licenses:
193
193
  - MIT
194
194
  metadata:
195
195
  allowed_push_host: https://rubygems.org
196
- post_install_message:
196
+ post_install_message:
197
197
  rdoc_options: []
198
198
  require_paths:
199
199
  - lib
@@ -201,15 +201,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
201
201
  requirements:
202
202
  - - ">="
203
203
  - !ruby/object:Gem::Version
204
- version: 2.4.0
204
+ version: 2.5.0
205
205
  required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.1.2
212
- signing_key:
211
+ rubygems_version: 3.1.6
212
+ signing_key:
213
213
  specification_version: 4
214
214
  summary: Easy permissions engine for Rails app.
215
215
  test_files: []