pandas 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +7 -15
- data/CHANGES.md +4 -0
- data/lib/pandas.rb +4 -4
- data/lib/pandas/version.rb +1 -1
- data/requirements.txt +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5cec5d04429e07f8534ddf83dc6f9c936ae0b4506028832a7fee98f85152279e
|
4
|
+
data.tar.gz: bc753819f9c50e38c5ea354388046586ef85e6b2d11c99613219cdc5eb7b48b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18ebe0cca22e7ce90b3bd604be6c4e325e05cd957f631573d7cc58eaa31353e75a2d6d1b86a176aac9e458c5457a86f188df8d84fbb7a5f75a25699d27982418
|
7
|
+
data.tar.gz: 822e9a25ba3b591dc9d74b6875baec180a4e1d89e893f0fe612bc5e2f2c0290c0b64ab1564fe80fc2eb0ee59adbaa396e79429bc3a93037f6e8fe66027838cf7
|
data/.travis.yml
CHANGED
@@ -3,31 +3,23 @@ language: ruby
|
|
3
3
|
|
4
4
|
rvm:
|
5
5
|
- ruby-head
|
6
|
-
- 2.
|
7
|
-
- 2.
|
8
|
-
- 2.
|
9
|
-
- 2.
|
10
|
-
|
11
|
-
addons:
|
12
|
-
apt:
|
13
|
-
packages:
|
14
|
-
- python3
|
15
|
-
- python3-dev
|
16
|
-
- python3-all
|
17
|
-
- python3-all-dev
|
6
|
+
- 2.5.1
|
7
|
+
- 2.4.4
|
8
|
+
- 2.3.7
|
9
|
+
- 2.2.10
|
18
10
|
|
19
11
|
env:
|
20
12
|
matrix:
|
21
13
|
- PYTHON=python
|
22
|
-
-
|
14
|
+
- PYENV_VERSION=3.6 PYTHON=python
|
23
15
|
|
24
16
|
before_install:
|
25
17
|
- gem update --system
|
26
18
|
- gem update bundler
|
27
19
|
|
28
20
|
before_script:
|
29
|
-
- pip install
|
30
|
-
- pip3 install
|
21
|
+
- pip install --user -r requirements.txt
|
22
|
+
- PYENV_VERSION=3.6 pip3 install --user -r requirements.txt
|
31
23
|
|
32
24
|
matrix:
|
33
25
|
allow_failures:
|
data/CHANGES.md
CHANGED
data/lib/pandas.rb
CHANGED
@@ -42,7 +42,7 @@ module Pandas
|
|
42
42
|
|
43
43
|
IO = self.io
|
44
44
|
|
45
|
-
def self.read_sql_table(table_name, conn=nil, *args)
|
45
|
+
def self.read_sql_table(table_name, conn=nil, *args, **kwargs)
|
46
46
|
if conn.nil? && IO.is_activerecord_model?(table_name)
|
47
47
|
unless table_name.table_name
|
48
48
|
raise ArgumentError, "The given model does not have its table_name"
|
@@ -56,15 +56,15 @@ module Pandas
|
|
56
56
|
|
57
57
|
if IO.is_activerecord_datasource?(conn)
|
58
58
|
require 'pandas/io/active_record'
|
59
|
-
return IO::Helpers.read_sql_table_from_active_record(table_name, conn, *args)
|
59
|
+
return IO::Helpers.read_sql_table_from_active_record(table_name, conn, *args, **kwargs)
|
60
60
|
end
|
61
61
|
super
|
62
62
|
end
|
63
63
|
|
64
|
-
def self.read_sql_query(query, conn, *args)
|
64
|
+
def self.read_sql_query(query, conn, *args, **kwargs)
|
65
65
|
if IO.is_activerecord_datasource?(conn)
|
66
66
|
require 'pandas/io/active_record'
|
67
|
-
return IO::Helpers.read_sql_query_from_active_record(query, conn, *args)
|
67
|
+
return IO::Helpers.read_sql_query_from_active_record(query, conn, *args, **kwargs)
|
68
68
|
end
|
69
69
|
super
|
70
70
|
end
|
data/lib/pandas/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
PANDAS_VERSION = "0.3.
|
1
|
+
PANDAS_VERSION = "0.3.1"
|
data/requirements.txt
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kenta Murata
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pycall
|
@@ -119,6 +119,7 @@ files:
|
|
119
119
|
- lib/pandas/options.rb
|
120
120
|
- lib/pandas/version.rb
|
121
121
|
- pandas.gemspec
|
122
|
+
- requirements.txt
|
122
123
|
homepage: https://github.com/mrkn/pandas.rb
|
123
124
|
licenses:
|
124
125
|
- MIT
|
@@ -139,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
140
|
version: '0'
|
140
141
|
requirements: []
|
141
142
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.6
|
143
|
+
rubygems_version: 2.7.6
|
143
144
|
signing_key:
|
144
145
|
specification_version: 4
|
145
146
|
summary: Pandas wrapper for Ruby
|