snorlax 0.1.2 → 0.1.3

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: c17a98c1013d790464bb3a26a6664777e239eafc
4
- data.tar.gz: 528dfab11bd3262d06c38c7e95cdaadfba38c20a
3
+ metadata.gz: 078147ff0ebede68d29a87f9fc61d2e606ccaa61
4
+ data.tar.gz: 0ff1639a63ff0ffb9ae5b9583bed16a1aa9b8aa2
5
5
  SHA512:
6
- metadata.gz: 98972fe7c64a5f419fcc36b53624e1c8d537a54a2f24f4185fd82c6ece568a5767fd2b1ddf48274e6fbe00f15bc668b73eb9d85a3f4ea17e8f303f7d0b2ba85a
7
- data.tar.gz: 25af62fda64ddd54c860d6e0e63739cfe6e45618d1e7a510833b28cf6db6e47df26fce7b8044ba44c8a6e96bb865d593c71b99862291fead0c36ebe361b67414
6
+ metadata.gz: bf2b2ff5ed8346399d0dbfadfce97b3954096c25c504045304624e298d7f72f233ae86a5c298969487596ed9bc1b2b85a6567064fd55ce0c7fc26949e79fa976
7
+ data.tar.gz: 3be55a50dbde10da3bb101807c9d13a5f63c9a019a76fe040f5fb0eb95eee9acc7c283a30556aaf3ee17326e70c5ddc201ee0512200dc8fcb7cdfd991947b00c
@@ -93,7 +93,7 @@ module Snorlax
93
93
  end
94
94
 
95
95
  def accessible_records
96
- if current_user
96
+ if current_user.is_logged_in?
97
97
  visible_records
98
98
  else
99
99
  public_records
@@ -1,3 +1,3 @@
1
1
  module Snorlax
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snorlax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Kiesel (gdpelican)
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-18 00:00:00.000000000 Z
11
+ date: 2015-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.4.8
124
+ rubygems_version: 2.4.6
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Snorlax is an opinionated, but flexible and well-RESTed controller for Rails