cannie 0.2.1 → 0.2.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c13f08328b1aaa79398982b6005e90cf997d4c0
4
- data.tar.gz: 8f3faaa516d773988f4d7a4f381f418f903da6c3
3
+ metadata.gz: b8a8164315ae9f501175417065d2384db087752d
4
+ data.tar.gz: 20f75d9c20080934668e8b8d5ee3b69eae41b1f0
5
5
  SHA512:
6
- metadata.gz: 75f7491acb62968bdcd8bd82d1ab88d5a7a0a544376ab87b6d4d7875c86f944c3588cf04fcde21a7a2956a9a9dc4e6ec270fc3fb7ee5777f30076c2917db08db
7
- data.tar.gz: fff01d347bc693e53c2b2ccba2df544f7b3257512cc8e64b67a6f5d0db7417ebf76ae8d3e925d17300d83b4bd842f3a29b4a2b46ade17eaf68b54d6c95be51e5
6
+ metadata.gz: 76f3377028bf84da8ae0c0d47386ba834a94ed191d627fcacaff09a1cd9f077a7349d02fec370712aa41b3eacd6ee562db9e7397bfd99878fc3e85c66791c69a
7
+ data.tar.gz: 1dbcc7c5cbb65b79b36d0ac360c5d5745d94ca4591d7680e6fde3b6a5c6f9ef28d4a8384fce8acef11b1aba175bffe792553745c61f4035d4fc8609a2b8dcb17
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - "2.0.0"
4
+ script: bundle exec rspec spec
data/Gemfile CHANGED
@@ -1,8 +1,5 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'activesupport', '>= 4.0'
4
- gem 'actionpack', '>= 4.0'
5
-
6
3
  group :test do
7
4
  gem 'rspec'
8
5
  gem 'simplecov'
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Cannie
2
2
 
3
+ [![Build Status](https://travis-ci.org/hck/cannie.png)](https://travis-ci.org/hck/cannie)
4
+
3
5
  Cannie is a gem for authorization/permissions checking on per-controller/per-action basis.
4
6
 
5
7
  ## Installation
@@ -1,3 +1,3 @@
1
1
  module Cannie
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -5,11 +5,11 @@ SimpleCov.start
5
5
  require 'rubygems'
6
6
 
7
7
  require 'active_support/concern'
8
- require 'action_controller/railtie'
8
+ require 'action_controller'
9
9
  require 'cannie'
10
10
 
11
11
  RSpec.configure do |config|
12
12
  config.treat_symbols_as_metadata_keys_with_true_values = true
13
13
  config.filter_run focus: true
14
14
  config.run_all_when_everything_filtered = true
15
- end
15
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cannie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-05 00:00:00.000000000 Z
11
+ date: 2013-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,6 +75,7 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - .gitignore
77
77
  - .rspec
78
+ - .travis.yml
78
79
  - Gemfile
79
80
  - LICENSE.txt
80
81
  - README.md
@@ -113,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
114
  version: '0'
114
115
  requirements: []
115
116
  rubyforge_project:
116
- rubygems_version: 2.1.1
117
+ rubygems_version: 2.1.5
117
118
  signing_key:
118
119
  specification_version: 4
119
120
  summary: Simple gem for checking permissions on per-action basis