kaminari-sinatra 1.0.0.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +8 -0
- data/gemfiles/sinatra_14.gemfile +8 -2
- data/gemfiles/sinatra_20.gemfile +33 -0
- data/kaminari-sinatra.gemspec +1 -2
- data/lib/kaminari/sinatra/version.rb +1 -1
- metadata +11 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9631a53140b35d8e58b0daa5d0a466a4d741d111
|
4
|
+
data.tar.gz: 60c2388558728d943169634a4aa27b85eef24e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9287a8ee02db6fdae664328752dc5240c0c0306aab81cde6224e9c0753c41fe17e05c7640777599271dc249b01e3a980dcc58c4ee38773f4ae23282a607fd58b
|
7
|
+
data.tar.gz: 544575b09942c613f81e2191dc25f8baa0e621113814424afa44a30b8a3c271988fdb5c75ec44f2ea86e9f25bcbdfdcea60ea392c4641823ec687332bac49bac
|
data/.travis.yml
CHANGED
@@ -5,6 +5,7 @@ before_install: gem update bundler
|
|
5
5
|
rvm:
|
6
6
|
- 2.2.6
|
7
7
|
- 2.3.3
|
8
|
+
- 2.4.0
|
8
9
|
- ruby-head
|
9
10
|
- jruby
|
10
11
|
- jruby-head
|
@@ -12,6 +13,7 @@ rvm:
|
|
12
13
|
|
13
14
|
gemfile:
|
14
15
|
- gemfiles/sinatra_14.gemfile
|
16
|
+
- gemfiles/sinatra_20.gemfile
|
15
17
|
|
16
18
|
sudo: false
|
17
19
|
|
@@ -20,6 +22,12 @@ script: 'bundle exec rake test'
|
|
20
22
|
cache: bundler
|
21
23
|
|
22
24
|
matrix:
|
25
|
+
exclude:
|
26
|
+
- rvm: 2.4.0
|
27
|
+
gemfile: gemfiles/sinatra_14.gemfile
|
28
|
+
- rvm: ruby-head
|
29
|
+
gemfile: gemfiles/sinatra_14.gemfile
|
30
|
+
|
23
31
|
allow_failures:
|
24
32
|
- rvm: ruby-head
|
25
33
|
- rvm: jruby
|
data/gemfiles/sinatra_14.gemfile
CHANGED
@@ -1,12 +1,18 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
+
git_source(:github) do |repo_name|
|
3
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
4
|
+
"https://github.com/#{repo_name}.git"
|
5
|
+
end
|
2
6
|
|
3
7
|
#FIXME bundle GH master for now
|
4
8
|
gem 'kaminari-core', github: 'amatsuda/kaminari'
|
5
9
|
gem 'kaminari-activerecord', github: 'amatsuda/kaminari'
|
6
10
|
|
7
|
-
gem 'activerecord', '>=
|
11
|
+
gem 'activerecord', '>= 4.2.0', :require => 'active_record'
|
8
12
|
#FIXME need to bundle AV for now, because the helper still depends on ActionView
|
9
|
-
gem 'actionview', '>=
|
13
|
+
gem 'actionview', '>= 4.2.0', :require => 'action_view'
|
14
|
+
#FIXME need to bundle AC for now, because ActionView still depends on ActionController
|
15
|
+
gem 'actionpack', '>= 4.2.0', :require => 'action_controller'
|
10
16
|
gem 'sinatra', '~> 1.4.0'
|
11
17
|
gem 'padrino-helpers', '~> 0.12.0'
|
12
18
|
gem 'rack-test', '>= 0'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
git_source(:github) do |repo_name|
|
3
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
4
|
+
"https://github.com/#{repo_name}.git"
|
5
|
+
end
|
6
|
+
|
7
|
+
#FIXME bundle GH master for now
|
8
|
+
gem 'kaminari-core', github: 'amatsuda/kaminari'
|
9
|
+
gem 'kaminari-activerecord', github: 'amatsuda/kaminari'
|
10
|
+
|
11
|
+
gem 'activerecord', '>= 5.0.0', :require => 'active_record'
|
12
|
+
#FIXME need to bundle AV for now, because the helper still depends on ActionView
|
13
|
+
gem 'actionview', '>= 5.0.0', :require => 'action_view'
|
14
|
+
#FIXME need to bundle AC for now, because ActionView still depends on ActionController
|
15
|
+
gem 'actionpack', '>= 5.0.0', :require => 'action_controller'
|
16
|
+
gem 'sinatra', '2.0.0.beta2'
|
17
|
+
gem 'padrino-helpers'
|
18
|
+
gem 'rack-test', '>= 0'
|
19
|
+
gem 'sinatra-contrib', '2.0.0.beta2'
|
20
|
+
gem 'mime-types', '2.99' if RUBY_VERSION < '2.0.0'
|
21
|
+
|
22
|
+
platforms :ruby do
|
23
|
+
if RUBY_VERSION > "2.1.0"
|
24
|
+
gem 'sqlite3'
|
25
|
+
else
|
26
|
+
gem 'sqlite3', '1.3.8'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
platforms :jruby do
|
30
|
+
gem 'activerecord-jdbcsqlite3-adapter', '>= 1.3.0'
|
31
|
+
end
|
32
|
+
|
33
|
+
gemspec :path => '../'
|
data/kaminari-sinatra.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.11"
|
24
|
-
spec.add_development_dependency "rake"
|
24
|
+
spec.add_development_dependency "rake"
|
25
25
|
spec.add_development_dependency 'test-unit-activesupport'
|
26
26
|
spec.add_development_dependency 'test-unit-rr'
|
27
27
|
spec.add_development_dependency 'capybara'
|
@@ -29,7 +29,6 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency 'activerecord'
|
30
30
|
spec.add_development_dependency 'sqlite3'
|
31
31
|
spec.add_development_dependency 'byebug'
|
32
|
-
spec.add_development_dependency 'database_cleaner'
|
33
32
|
spec.add_dependency 'kaminari-core', Kaminari::Sinatra::VERSION
|
34
33
|
spec.add_dependency 'sinatra'
|
35
34
|
spec.add_dependency 'actionview'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari-sinatra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akira Matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: test-unit-activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,34 +136,20 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: database_cleaner
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
139
|
- !ruby/object:Gem::Dependency
|
154
140
|
name: kaminari-core
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
156
142
|
requirements:
|
157
143
|
- - '='
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.0.0
|
145
|
+
version: 1.0.0
|
160
146
|
type: :runtime
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
150
|
- - '='
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.0.0
|
152
|
+
version: 1.0.0
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: sinatra
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,6 +208,7 @@ files:
|
|
222
208
|
- bin/console
|
223
209
|
- bin/setup
|
224
210
|
- gemfiles/sinatra_14.gemfile
|
211
|
+
- gemfiles/sinatra_20.gemfile
|
225
212
|
- kaminari-sinatra.gemspec
|
226
213
|
- lib/kaminari/helpers/sinatra_helpers.rb
|
227
214
|
- lib/kaminari/sinatra.rb
|
@@ -241,9 +228,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
241
228
|
version: '0'
|
242
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
230
|
requirements:
|
244
|
-
- - "
|
231
|
+
- - ">="
|
245
232
|
- !ruby/object:Gem::Version
|
246
|
-
version:
|
233
|
+
version: '0'
|
247
234
|
requirements: []
|
248
235
|
rubyforge_project:
|
249
236
|
rubygems_version: 2.6.8
|