find_by_sql_paginately 0.1.0 → 0.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: 648580d321387b2b926a9eb2aebda5a8250b46a7
4
- data.tar.gz: 151f803bd0ab6a69a1d3c9b52374be719f0d322d
3
+ metadata.gz: c36bc9aba8c63c2d66cb0f866d0e86d138cc30a7
4
+ data.tar.gz: 0da0a29a54e4cc752f7a38c20407be44911c5ba1
5
5
  SHA512:
6
- metadata.gz: e57e90c493eea03d2d74262cb6e8391f0f88cdbef86621743552460ce22ac42ee9870bcdadcb7d507d351070b839413a93eb33e11a3fc26c22ef58d6616b1564
7
- data.tar.gz: 9835c91757817ffefea0fd6a1ed03052a516e933084f296d19ca325cd1f27ba7e328d352c8d373f20c858fe844d98eeee4fc27c6897f11b5745b364957a285d1
6
+ metadata.gz: 65bd693e397e97d9f4485329c04bf383e3ce2eb80f87689d58aa7d11f397c7c092f054aa04b117299f88a19d5033c4f3f05a83efaa8860a18cf1652a67798026
7
+ data.tar.gz: 26f8bee0dd0ea8262181a34876fefcebcaaf54ac91122f0ccbbaf4b19a1cfb9634324a0fb5a78cf97af53924860f718893ffd7b41e8ce4eaf87ca77377fdc04f
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # FindBySqlPaginately
1
+ # find_by_sql_paginately
2
2
 
3
3
  This gem is to add extra parameters to Rails original method ``find_by_sql`` so that developers like us can do pagination without so much hassle of manipulating the SQL.
4
4
 
@@ -64,12 +64,10 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
64
64
 
65
65
  ## Contributing
66
66
 
67
- Bug reports and pull requests are welcome on GitHub at https://github.com/jameshuynhfind_by_sql_paginately. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
67
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jameshuynh/find_by_sql_paginately. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
68
68
 
69
69
  ## License
70
70
 
71
71
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
72
72
 
73
73
  ## Code of Conduct
74
-
75
- Everyone interacting in the FindBySqlPaginately project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/find_by_sql_paginately/blob/master/CODE_OF_CONDUCT.md).
@@ -40,7 +40,7 @@ module FindBySqlPaginately
40
40
  records.instance_eval do
41
41
  eval <<-RUBY, nil, __FILE__, __LINE__ + 1
42
42
  def sql
43
- "#{sanitize_sql}"
43
+ %(#{sanitize_sql})
44
44
  end
45
45
 
46
46
  def page
@@ -1,3 +1,3 @@
1
1
  module FindBySqlPaginately
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: find_by_sql_paginately
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - james
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-23 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,9 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.6.11
94
+ rubygems_version: 2.5.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Add pagination to original Rails find_by_sql function
98
98
  test_files: []
99
- has_rdoc: