rails-identity 0.3.0 → 0.3.1

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.
@@ -4,4 +4,9 @@ class RailsIdentityTest < ActiveSupport::TestCase
4
4
  test "truth" do
5
5
  assert_kind_of Module, RailsIdentity
6
6
  end
7
+
8
+ test "basic cache operations" do
9
+ RailsIdentity::Cache.set("foo", 42)
10
+ assert_equal 42, RailsIdentity::Cache.get("foo")
11
+ end
7
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-identity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David An
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -179,7 +179,9 @@ files:
179
179
  - db/migrate/20160420012342_add_type_to_users.rb
180
180
  - db/migrate/20160421125651_remove_id_from_all_tables.rb
181
181
  - db/migrate/20160507014709_add_api_key_to_users.rb
182
+ - lib/rails_identity/cache.rb
182
183
  - lib/rails_identity/engine.rb
184
+ - lib/rails_identity/roles.rb
183
185
  - lib/rails_identity/version.rb
184
186
  - lib/rails_identity.rb
185
187
  - lib/tasks/rails_identity_tasks.rake