apiql 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/apiql.gemspec +1 -1
  3. data/lib/apiql.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b3367a06a548400e896870b2ce839e0d9b7960f13d55c6866582116142c2509
4
- data.tar.gz: 1c11a0bd1f46bca6fe5c618b6c60d205f43363b4aef8694a604dfb5e9bccb850
3
+ metadata.gz: 8202813807b5355136ceb78e945e49a6777faacdf4c6dd82b46efe66719098a4
4
+ data.tar.gz: 2d441f84b964ae7e3bd5bebc4b3096436a0935e22b31ba7df83d91b6c74758c2
5
5
  SHA512:
6
- metadata.gz: dd0880c6f59a8bc2075a721792af43b54021ba26b1260ba61c1a0eef8a8e1fc2c7f2700bdd91b36e1dba915725ae55ed6e7afbc74e23b68c22d53021a571d2f7
7
- data.tar.gz: 882ba98a1f431518d7f648cd536f3206fff70b5ca2a309941e28c9d8cc77d76b6908e44cf2402936df1ad194ec8e327364cbc121a23746ba0904e5503d16ab14
6
+ metadata.gz: 5eeec43d20429bcdd4b96b12b4d8a558408f0fa2078baf9eab8b3f7aa56527f888b68ccfca3870409349ba56db3f7ba13457d5c714bc075a0abfa717e9630ab0
7
+ data.tar.gz: ce239a3930b8b8c33c4dddb38aaa8609425c8c88cf3da79f29686681ffae8f62702ad614cd6271ce4a2e6a562bf8ff654660521f7c1d0a29aab8dc300a140ed9
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'apiql'
7
- spec.version = '0.4.1'
7
+ spec.version = '0.4.2'
8
8
  spec.authors = ['Dmitry Silchenko']
9
9
  spec.email = ['dmitry@desofto.com']
10
10
 
@@ -289,9 +289,9 @@ class APIQL
289
289
  attr_reader :object
290
290
 
291
291
  def initialize(object, context)
292
- authorize! :read, object
293
292
  @object = object
294
293
  @context = context
294
+ authorize! :read, object
295
295
  @context.inject_delegators(self)
296
296
  end
297
297
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Silchenko