perm 0.0.4 → 0.0.5

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: 712b2f9eb9df31bcd6f824064ada3f172463369f
4
- data.tar.gz: 4294f43680738d9e0288b692c36d89fa3d5a5ba5
3
+ metadata.gz: 036b02abbe7b9a02fbddb93d27f7aeca7c864fec
4
+ data.tar.gz: 833b901c6f7e30b930daecea5a7072a92d09c194
5
5
  SHA512:
6
- metadata.gz: 50030e29d11afd37313356220d0f9c0c61cd68cf38903b6e095ad24d71741dae56bbc9e58d5694fa63c6abe67ea113316d6b6ea7b2064e87a5b2734840b4986a
7
- data.tar.gz: 8ace162e770291491995a59c93e6a593dc750e79334b272c85aadb39ff1aefccd677c7caee85f41e628d19e45d4b15e1002b6e18ad824a24b64d1be589d7c7a5
6
+ metadata.gz: 7f26be0df6b92f07faf8da5c342413b7af52e7cda5ff3c4b5e9aadb0e0d99bd25a365e0d903fe99558a1252a8b4df0cd018dd5aa0379c4a85696af5c613826d5
7
+ data.tar.gz: 0b0952ff015ac433c6c4e54874f92fb1def35426613dc74672fadae53150174077f9a0f7c2e459719cd5326818fc91ea26ba5a0c28cbb8f68c03de3bf3310a58
@@ -1,4 +1,3 @@
1
- require "roleup"
2
1
  require_relative "perm/version"
3
2
  require_relative "perm/authorizer"
4
3
  require_relative "perm/has_authorizer"
@@ -1,3 +1,3 @@
1
1
  module Perm
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require_relative "test_helper"
2
2
 
3
3
  module Perm
4
- class AuthorizerTest < MicroTest::Test
4
+ class AuthorizerTest < PryTest::Test
5
5
  class User
6
6
  include Roleup::HasRoles
7
7
  attr_reader :posts
@@ -1,7 +1,7 @@
1
1
  require_relative "test_helper"
2
2
 
3
3
  module Perm
4
- class HasAuthorizerTest < MicroTest::Test
4
+ class HasAuthorizerTest < PryTest::Test
5
5
 
6
6
  class ExampleAuthorizer < Authorizer
7
7
  def can_view?(object)
@@ -1,8 +1,6 @@
1
- require "simplecov"
1
+ require "pry-test"
2
+ require "roleup"
2
3
  require 'coveralls'
3
-
4
- SimpleCov.start
5
- SimpleCov.command_name "mt"
6
4
  Coveralls.wear!
7
5
 
8
6
  require_relative "../lib/perm"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hopkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-09 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -39,21 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: micro_test
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: simplecov
42
+ name: pry-test
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
@@ -122,3 +108,4 @@ test_files:
122
108
  - test/authorizer_test.rb
123
109
  - test/has_authorizer_test.rb
124
110
  - test/test_helper.rb
111
+ has_rdoc: