kaminari-grape 0.1.0 → 1.0.0.rc1

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: 3a2f2ad78940d0f25576954f92c8c31ee119773c
4
- data.tar.gz: a40697d2dd47cbd67ce36ba8cbe05826c9f4e595
3
+ metadata.gz: 2526bc24f835bed342f1b93072a8a788153700e1
4
+ data.tar.gz: c68ca9be7305e00f3968effc2996fc78f966d692
5
5
  SHA512:
6
- metadata.gz: 185ca77e5b1ab9cc521207f8d5bba71ffc999abb1cec6f6e66d16adabf8081631b95132422bb1711720ebf9d4f1deb9ccd8ab63d3bf504abc58da796d64f8e3a
7
- data.tar.gz: 6fba427c2d62f90a292a11edcfb06866a7b7610782284b96ff36cdeb733f938c1682980791969aa5a0766e79d4daf32c36175ed7413805f04e28edb38832c3c6
6
+ metadata.gz: b447904c47c979664dba3f2bdada300002bf72973316088d539af5f5c4b94a9c78f1fea46298a2036c58199ecb5eef50f0239560c934cbeadd592c973abff2aa
7
+ data.tar.gz: e1500fe940f7831ab418f21652b202f5f642b5b213c98baa7b44a512809a01086f6c63857311d8ff14b762fa93aa6863e2ebdf5877849e20810f90f60b34ce93
data/.travis.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.1
5
- before_install: gem install bundler -v 1.12.5
4
+ - 2.3.3
5
+ before_install: gem update bundler
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  source 'https://rubygems.org'
2
3
 
3
4
  # Specify your gem's dependencies in kaminari-grape.gemspec
data/Rakefile CHANGED
@@ -1,9 +1,12 @@
1
+ # frozen_string_literal: true
1
2
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
+ require 'rake/testtask'
3
4
 
4
- RSpec::Core::RakeTask.new(:spec) do |spec|
5
- # RSpec 2 does not yet support exclude_pattern...
6
- spec.pattern = [FileList['spec/**/*_spec.rb'], "#{File.join(Gem.loaded_specs['kaminari'].gem_dir, 'spec')}/[^r][^e][^q]*/*_spec.rb"]
5
+ Rake::TestTask.new do |t|
6
+ t.libs << 'test'
7
+ t.test_files = FileList["{test,#{File.join(Gem.loaded_specs['kaminari-core'].gem_dir, 'test')}}/**/*_test.rb"].exclude("#{File.join(Gem.loaded_specs['kaminari-core'].gem_dir, 'test')}/requests/*_test.rb")
8
+ t.warning = true
9
+ t.verbose = true
7
10
  end
8
11
 
9
- task :default => :spec
12
+ task default: :test
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require "bundler/setup"
4
5
  require "kaminari/grape"
@@ -1,4 +1,5 @@
1
1
  # coding: utf-8
2
+ # frozen_string_literal: true
2
3
  lib = File.expand_path('../lib', __FILE__)
3
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
5
  require 'kaminari/grape/version'
@@ -9,8 +10,8 @@ Gem::Specification.new do |spec|
9
10
  spec.authors = ["Akira Matsuda"]
10
11
  spec.email = ["ronnie@dio.jp"]
11
12
 
12
- spec.summary = 'Kaminari Grape adapter.'
13
- spec.description = 'Kaminari Grape adapter.'
13
+ spec.summary = 'Kaminari Grape adapter'
14
+ spec.description = 'kaminari-grape connects Kaminari and Grape'
14
15
  spec.homepage = 'https://github.com/kaminari/kaminari-grape'
15
16
  spec.license = "MIT"
16
17
 
@@ -21,12 +22,12 @@ Gem::Specification.new do |spec|
21
22
 
22
23
  spec.add_development_dependency "bundler", "~> 1.12"
23
24
  spec.add_development_dependency "rake", "~> 10.0"
24
- spec.add_development_dependency 'rspec', '< 2.9'
25
- spec.add_development_dependency 'rr'
25
+ spec.add_development_dependency 'test-unit-activesupport'
26
+ spec.add_development_dependency 'test-unit-rr'
26
27
  spec.add_development_dependency 'capybara'
27
28
  spec.add_development_dependency 'activerecord'
28
29
  spec.add_development_dependency 'sqlite3'
29
30
  spec.add_development_dependency 'database_cleaner'
30
- spec.add_dependency 'kaminari'
31
+ spec.add_dependency 'kaminari-core', Kaminari::Grape::VERSION
31
32
  spec.add_dependency 'grape'
32
33
  end
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module Kaminari
2
3
  module Grape
3
- VERSION = "0.1.0"
4
+ VERSION = '1.0.0.rc1'
4
5
  end
5
6
  end
@@ -1,6 +1,5 @@
1
+ # frozen_string_literal: true
1
2
  require "kaminari/grape/version"
2
3
 
3
4
  require 'grape'
4
- require 'kaminari'
5
-
6
- Kaminari::Hooks.init
5
+ require 'kaminari/core'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kaminari-grape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akira Matsuda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-23 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -39,21 +39,21 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
42
+ name: test-unit-activesupport
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "<"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '2.9'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "<"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '2.9'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rr
56
+ name: test-unit-rr
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
@@ -123,19 +123,19 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: kaminari
126
+ name: kaminari-core
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 1.0.0.rc1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 1.0.0.rc1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: grape
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- description: Kaminari Grape adapter.
153
+ description: kaminari-grape connects Kaminari and Grape
154
154
  email:
155
155
  - ronnie@dio.jp
156
156
  executables: []
@@ -158,7 +158,6 @@ extensions: []
158
158
  extra_rdoc_files: []
159
159
  files:
160
160
  - ".gitignore"
161
- - ".rspec"
162
161
  - ".travis.yml"
163
162
  - Gemfile
164
163
  - MIT-LICENSE
@@ -184,13 +183,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
184
183
  version: '0'
185
184
  required_rubygems_version: !ruby/object:Gem::Requirement
186
185
  requirements:
187
- - - ">="
186
+ - - ">"
188
187
  - !ruby/object:Gem::Version
189
- version: '0'
188
+ version: 1.3.1
190
189
  requirements: []
191
190
  rubyforge_project:
192
- rubygems_version: 2.6.4
191
+ rubygems_version: 2.6.8
193
192
  signing_key:
194
193
  specification_version: 4
195
- summary: Kaminari Grape adapter.
194
+ summary: Kaminari Grape adapter
196
195
  test_files: []
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format documentation
2
- --color