periscope-activerecord 2.1.0 → 2.1.1

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: fcd10ba7170c6b89c88f644d23c7e2b31cb73d5c
4
- data.tar.gz: a7d038432f48d31e2a6a7223cd93fe5e286833f1
3
+ metadata.gz: f775a6d6824bba5be9bb95578b996093b6f8171a
4
+ data.tar.gz: 5d628412280ca8e7d501df0b8c90c41d3821eba8
5
5
  SHA512:
6
- metadata.gz: fcef0945ec898c73da7c5c85eee05367174186f2d288bc66591076a9b6698680d168c27d0e195fbe09577c05f236a56c250f59014f5c59062f24674b20d34cca
7
- data.tar.gz: 4d02d149d77632876be22b27df4c6a4aa14cc9b811abda779cdfb2c0a20b105ec1c700e6162ebb998b27ebaa3671a919528e5d21fcfac8f64cfd2cc5aebad693
6
+ metadata.gz: d715c03250482401aeb66e627436fc0270199c7db60c59654f3eb052a47be353ef86d4e8b4196e609efa279484fcca498068ea1543f797ab3c0b313b2cde602f
7
+ data.tar.gz: 5b46199efe8aa9dddcd184816beb59e40b4243bce96633d015851d6fcedbec154af9a1e19611d8b74d652e7fd56b7205a7e27588e6077ca96bcc487c449e4e35
File without changes
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Periscope
2
- [![Gem Version](https://badge.fury.io/rb/periscope.png)](http://badge.fury.io/rb/periscope)
3
- [![Build Status](https://travis-ci.org/laserlemon/periscope.png?branch=master)](https://travis-ci.org/laserlemon/periscope)
4
- [![Code Climate](https://codeclimate.com/github/laserlemon/periscope.png)](https://codeclimate.com/github/laserlemon/periscope)
5
- [![Coverage Status](https://coveralls.io/repos/laserlemon/periscope/badge.png?branch=master)](https://coveralls.io/r/laserlemon/periscope)
6
- [![Dependency Status](https://gemnasium.com/laserlemon/periscope.png)](https://gemnasium.com/laserlemon/periscope)
2
+
3
+ [![Gem Version](https://img.shields.io/gem/v/periscope.svg?style=flat)](http://rubygems.org/gems/periscope)
4
+ [![Build Status](https://img.shields.io/travis/laserlemon/periscope/master.svg?style=flat)](https://travis-ci.org/laserlemon/periscope)
5
+ [![Code Climate](https://img.shields.io/codeclimate/github/laserlemon/periscope.svg?style=flat)](https://codeclimate.com/github/laserlemon/periscope)
6
+ [![Coverage Status](https://img.shields.io/codeclimate/coverage/github/laserlemon/periscope.svg?style=flat)](https://codeclimate.com/github/laserlemon/periscope)
7
+ [![Dependency Status](https://img.shields.io/gemnasium/laserlemon/periscope.svg?style=flat)](https://gemnasium.com/laserlemon/periscope)
7
8
 
8
9
  Periscope provides a simple way to chain scopes on your models and to open those scopes up to your users.
9
10
 
@@ -9,7 +9,7 @@ module Periscope
9
9
  private
10
10
 
11
11
  def periscope_default_scope
12
- ::ActiveRecord::VERSION::MAJOR == 4 ? all : scoped
12
+ ::ActiveRecord::VERSION::MAJOR >= 4 ? all : scoped
13
13
  end
14
14
  end
15
15
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |gem|
4
4
  gem.name = "periscope-activerecord"
5
- gem.version = "2.1.0"
5
+ gem.version = "2.1.1"
6
6
 
7
7
  gem.author = "Steve Richert"
8
8
  gem.email = "steve.richert@gmail.com"
@@ -10,13 +10,13 @@ Gem::Specification.new do |gem|
10
10
  gem.homepage = "https://github.com/laserlemon/periscope"
11
11
  gem.license = "MIT"
12
12
 
13
- gem.add_dependency "activerecord", ">= 3", "< 5"
13
+ gem.add_dependency "activerecord", ">= 3", "< 5.1"
14
14
  gem.add_dependency "periscope", "~> 2.1.0"
15
15
 
16
16
  gem.files = %w(
17
17
  lib/periscope-activerecord.rb
18
18
  lib/periscope/adapters/active_record.rb
19
- LICENSE.md
19
+ LICENSE.txt
20
20
  periscope-activerecord.gemspec
21
21
  README.md
22
22
  )
metadata CHANGED
@@ -1,47 +1,47 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: periscope-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Richert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-13 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5'
22
+ version: '5.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5'
32
+ version: '5.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: periscope
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ~>
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
39
  version: 2.1.0
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ~>
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: 2.1.0
47
47
  description:
@@ -50,11 +50,11 @@ executables: []
50
50
  extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
+ - LICENSE.txt
54
+ - README.md
53
55
  - lib/periscope-activerecord.rb
54
56
  - lib/periscope/adapters/active_record.rb
55
- - LICENSE.md
56
57
  - periscope-activerecord.gemspec
57
- - README.md
58
58
  homepage: https://github.com/laserlemon/periscope
59
59
  licenses:
60
60
  - MIT
@@ -65,17 +65,17 @@ require_paths:
65
65
  - lib
66
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.0.5
78
+ rubygems_version: 2.5.1
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Push your Active Record models' scopes up to the surface