profile
viewpoint

kyohsuke/docker-munstrap 1

munin docker images with munstrap

kyohsuke/funpachin 1

Izakaya listing app w/ heroku

kyohsuke/arb_indexes 0

get defined indexes from Model

kyohsuke/bootstrap-generators 0

Bootstrap-generators provides Twitter Bootstrap generators for Rails

kyohsuke/database_rewinder 0

minimalist's tiny and ultra-fast database cleaner

kyohsuke/ddskk 0

Simple Kana to Kanji conversion program

kyohsuke/discordrb 0

Discord API for Ruby

kyohsuke/dotfiles 0

my dotfiles

kyohsuke/dotnetportmapper 0

*IMPORTANT* : I am not an Author. An mirror of dotnetportmapper.

kyohsuke/ec2-fleet-compare 0

A small command line utility to find the most effective EC2 instances that match a set of requirements.

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 5f8d8e5804efb0a8f0c213f8f505d1002fc7f55d

tweaks

view details

push time in a day

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha d8a4c6a39b97edf884f5be9b01a30c84615457d1

tweaks

view details

push time in a day

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha a66ac722ee9fc4ef18e9df0b5e955707e0ab56b7

tweaks

view details

push time in a day

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 6b751ba102d03dec7d1025a8b4bb236e8278b60a

tweaks

view details

push time in a day

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha d9c95026831117bb7de89f785028f69fcb0fadb4

Tweaks

view details

push time in a day

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 414ee7d07813607cd5e41e46ac0dd2639b4cc5a9

tweaks

view details

push time in 2 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 472f8819f18760daddc89f5d0192a3b3c68f618a

tweaks

view details

push time in 2 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 41ee039adb57a382dbb5b0f00781d780698a08ee

tweaks

view details

push time in 2 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 66eaf0274bbc360289079b2348b0d7b8a310aacd

tweaks

view details

push time in 2 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 17ee3be3e01f6ec0d75e48bc67b8fac33ebb8e5d

tweaks

view details

push time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha c9af108214713794d55f5e4a2ba37c9375a56efb

tweaks

view details

push time in 3 days

create barnchkyohsuke/dotnetportmapper

branch : master

created branch time in 3 days

created repositorykyohsuke/dotnetportmapper

created time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 30d4881c8c102145f1a53b06667a8bbc45fdfdc5

tweaks

view details

push time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 4fa53e59894076bb68f0f06b58adb27c07591efd

Tweaks

view details

push time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 5464894c89d26ddb586374fe222c1f5fba47b9df

Tweaks

view details

push time in 3 days

PublicEvent

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 5ab1fe1440ee866ed65e42a031e0a97785aa0453

wip

view details

push time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha bc489c7083c962373ef9d447080b6b706fa893a0

add github actions

view details

push time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 4db36fe1ffdd5c784b8a4b3f0cd3df1dd3b02ed2

wip

view details

push time in 3 days

delete branch kyohsuke/kyohsuke.github.io

delete branch : gh-pages

delete time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 10e1fa4d38608e5cd679707a06d0bb000f58f0fd

wip

view details

push time in 3 days

create barnchkyohsuke/kyohsuke.github.io

branch : hugo

created branch time in 3 days

push eventkyohsuke/kyohsuke.github.io

KAWAHARA Keisuke

commit sha 54a7a46a14f83ce5ec095d30a578931f9d8b11e4

add github actions

view details

push time in 3 days

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 8b82b21d2a2d8785e0a31fcdde9cd7ce3393471f

add previm / remove vinarise

view details

KAWAHARA Keisuke

commit sha 7adf002755e1fc31003e4c8ce38900edd79537ad

bump up plug.vim

view details

push time in 3 days

create barnchkyohsuke/kyohsuke.github.io

branch : master

created branch time in 3 days

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha d31ae835073fba52609bdda8fd75733399063d80

remove services

view details

KAWAHARA Keisuke

commit sha 0f39f983f81c335217f1f04f95d276b2e5e5a848

add gemdeps

view details

push time in 6 days

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 07daf787fe35491528bcd7eb9943148355e4052b

remove ecdsa

view details

push time in 7 days

startedenkessler/childprocess

started time in 21 days

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 290bdf51a287dc53b1dfec86e22d5ab800ed5253

Add Default Packages

view details

KAWAHARA Keisuke

commit sha 8d78cad70af93737ab9e15127ffd9a9e74ba4a8e

remove fonts

view details

push time in a month

starteddandavison/delta

started time in a month

delete branch kyohsuke/active_record_encryption

delete branch : fix_warnigs_for_kwargs

delete time in a month

PR closed alpaca-tc/active_record_encryption

Handle keyword arguments separately

Hi, alpaca-tc.

I got this warning on ruby 2.7.x and want to remove it.

encrypted_attribute.rb:9: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

If this patch is no problem, could you please merge it?

Thanks.

+8 -8

0 comment

3 changed files

kyohsuke

pr closed time in a month

startedMinusKelvin/cold-clear

started time in a month

startedsamuelmeuli/glance

started time in a month

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 130aa1e4a01bebbc2c468bfd2ed5a46c22a383f0

add maxmempattern

view details

push time in a month

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 52f22d186aabb7d2bc541a3fa544d21024daef5d

remove qlmarkdown

view details

KAWAHARA Keisuke

commit sha 6cd095347560730fcaecb1c564b2c8eec9119b42

tweaks msime2skk

view details

KAWAHARA Keisuke

commit sha 7ceee922a9e730614c8aa8391e86caab80bc6022

Add mahjong dic

view details

push time in a month

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 41fbc23573ef339751c23eddb9355ef4c48d7320

fix anyenv with nodenv

view details

push time in 2 months

push eventkyohsuke/dotfiles

KAWAHARA Keisuke

commit sha 3ecb50c9d2c3afbf0aac2353c49363c884a51a21

fix yes/no

view details

push time in 2 months

startedrtomayko/posix-spawn

started time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 6cfcbf965ad5d65c37640b12e6aa7c4cf07d1dcd

Handle keyword arguments separately

view details

Akira Matsuda

commit sha fee82249300e3213e91e600f73c40eb919b3616b

Merge pull request #71 from kyohsuke/handle_keyword_arguments_separately Handle keyword arguments separately

view details

Akira Matsuda

commit sha dac2687aed0068bbd71e7b2c8229cb504420e753

Install older versions of rubygems and bundler only on Ruby < 2.7

view details

Akira Matsuda

commit sha 0dcdcee662e62e1dcae4ffae717c660a29c90b32

Version 0.9.3

view details

push time in 2 months

created tagkyohsuke/database_rewinder

tagv0.9.3

minimalist's tiny and ultra-fast database cleaner

created time in 2 months

delete branch kyohsuke/database_rewinder

delete branch : handle_keyword_arguments_separately

delete time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

@amatsuda

Thank you for teaching another possible approach. I like the hardcoding approach because it makes the code shorter.

kyohsuke

comment created time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

That's what I meant by "check the Rails version"

I'm sorry, I understand now.

kyohsuke

comment created time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 6cfcbf965ad5d65c37640b12e6aa7c4cf07d1dcd

Handle keyword arguments separately

view details

push time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

I got it. def exec_query has different arguments between rails 5 and 4.

$ git checkout v4.2.11.1
$ git grep -n 'def exec_query\b' activerecord/lib/active_record/connection_adapters

activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:69:      def exec_query(sql, name = 'SQL', binds = [])
activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb:220:      def exec_query(sql, name = 'SQL', binds = [])
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:253:      def exec_query(sql, name = 'SQL', binds = [])
activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:159:        def exec_query(sql, name = 'SQL', binds = [])
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:276:      def exec_query(sql, name = nil, binds = [])
$ git checkout v5.2.4
$ git grep -n 'def exec_query\b' activerecord/lib/active_record/connection_adapters

activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:121:      def exec_query(sql, name = "SQL", binds = [], prepare: false)
activerecord/lib/active_record/connection_adapters/mysql/database_statements.rb:31:        def exec_query(sql, name = "SQL", binds = [], prepare: false)
activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:80:        def exec_query(sql, name = "SQL", binds = [], prepare: false)
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb:209:      def exec_query(sql, name = nil, binds = [], prepare: false)

I can fix it in the following way, but I think it's not a good way to do it. Is there any better way to do it?

https://github.com/kyohsuke/database_rewinder/compare/100c248bab16...3b05cf3575cc Travis CI

kyohsuke

comment created time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 3b05cf3575cc4946a8456687b378b4df38514d99

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 100c248bab16dfdb9339f5b89cc99da038a79cc9

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 4ab36c2a324a951719f26e3126d567a058aad7cc

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha a14fe56b8ffa8398e99fbbf3dd85e64988886db7

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 42e4fd63a1d9c3d5d16017e707dd3c6ff3e56a94

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 416eb17b4764c75018502a15da52cae79da7cccb

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha a63fbdb55daf8091a43124eea4bda6eb7c3d3496

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 8aadbcb6b8e7a60dfb30e0d4a635cbe45b8638eb

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha a8122f61904fb58ff6acc566ab785b823798164f

fixes ruby 2.7.x test on travis

view details

Akira Matsuda

commit sha 99cfb237f158f0fe43cdad6344ca3fbc274c2dd2

Merge pull request #72 from kyohsuke/fixes_test_on_ruby_2_7 fixes ruby 2.7.x test on travis

view details

KAWAHARA Keisuke

commit sha f90971c370a7cf4decf1f569aadb36de7b317b90

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha a8122f61904fb58ff6acc566ab785b823798164f

fixes ruby 2.7.x test on travis

view details

Akira Matsuda

commit sha 99cfb237f158f0fe43cdad6344ca3fbc274c2dd2

Merge pull request #72 from kyohsuke/fixes_test_on_ruby_2_7 fixes ruby 2.7.x test on travis

view details

KAWAHARA Keisuke

commit sha 40c33a81c458df558ad1c9c009b5f108dc81d918

Handle keyword arguments separately

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha a8122f61904fb58ff6acc566ab785b823798164f

fixes ruby 2.7.x test on travis

view details

Akira Matsuda

commit sha 99cfb237f158f0fe43cdad6344ca3fbc274c2dd2

Merge pull request #72 from kyohsuke/fixes_test_on_ruby_2_7 fixes ruby 2.7.x test on travis

view details

push time in 2 months

delete branch kyohsuke/database_rewinder

delete branch : fixes_test_on_ruby_2_7

delete time in 2 months

PR opened amatsuda/database_rewinder

fixes ruby 2.7.x test on travis

Fixes the test against ruby 2.7.x.

ref: https://github.com/amatsuda/database_rewinder/pull/71#issuecomment-626618144

+8 -5

0 comment

1 changed file

pr created time in 2 months

create barnchkyohsuke/database_rewinder

branch : fixes_test_on_ruby_2_7

created branch time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

Could you either add that commit to this PR or create another PR?

Sure! I'm writing it now.

kyohsuke

comment created time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 7f0c5f5700fbe90907b7969554406767aef81c6f

test

view details

push time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

I found the ruby 2.7.x fail as a consequence of rubygems-update's version. I changed it to the following and it worked. https://github.com/kyohsuke/database_rewinder/commit/65883094f5342c572bee4cc20f84dd7c937ae2c4

kyohsuke

comment created time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha e05a8ac70b618b027abf60c37e25e2384038ff30

Test suppress warnings

view details

KAWAHARA Keisuke

commit sha 65883094f5342c572bee4cc20f84dd7c937ae2c4

fixes ruby 2.7.x test on travis

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 85ed270ffa97be7f9313b2b575efb74b8e935d18

fixes ruby 2.7.x test on travis

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha b20e89edd5804e369da1da119a30db3724d307a5

Test suppress warnings

view details

KAWAHARA Keisuke

commit sha 9704d7b00e9479b2deb8e3124fbea3f4e38220b1

fixes ruby 2.7.x test on travis

view details

push time in 2 months

push eventkyohsuke/database_rewinder

Akira Matsuda

commit sha 1e92e3d8e3fdb8c1a6f6d520dc96d13bcb53ec91

CI against ruby 2.7.1 & rails 6.0.3

view details

Akira Matsuda

commit sha d371d6aa1aa8654e436e24a1b33d6eaba7266f79

kwargs has to be double-splatted

view details

Akira Matsuda

commit sha 5497a2d60aad2b438f82c4c83b1c8be7ca421acd

[] may accept `connection:` keyword only, and in that case, orm is nil https://github.com/amatsuda/database_rewinder/blob/1e92e3d/test/database_rewinder_test.rb#L37

view details

Akira Matsuda

commit sha 36d8669478b6418b1c98b477d01e05a839010966

clean_with should accpet kwargs

view details

push time in 2 months

delete branch kyohsuke/database_rewinder

delete branch : add_ruby_2_7_1

delete time in 2 months

push eventkyohsuke/database_rewinder

Akira Matsuda

commit sha 1e92e3d8e3fdb8c1a6f6d520dc96d13bcb53ec91

CI against ruby 2.7.1 & rails 6.0.3

view details

Akira Matsuda

commit sha d371d6aa1aa8654e436e24a1b33d6eaba7266f79

kwargs has to be double-splatted

view details

Akira Matsuda

commit sha 5497a2d60aad2b438f82c4c83b1c8be7ca421acd

[] may accept `connection:` keyword only, and in that case, orm is nil https://github.com/amatsuda/database_rewinder/blob/1e92e3d/test/database_rewinder_test.rb#L37

view details

Akira Matsuda

commit sha 36d8669478b6418b1c98b477d01e05a839010966

clean_with should accpet kwargs

view details

KAWAHARA Keisuke

commit sha 744eb27aa355339229fedc3c95487d4079337bac

Test suppress warnings

view details

push time in 2 months

pull request commentamatsuda/database_rewinder

Handle keyword arguments separately

@kamipo Thanks for the assertion.

@amatsuda

We'd better not change the execute method signature, and we don't need to touch any given arguments or options in exec_query. So, couldn't the patch just be like this?

-    def exec_query(sql, *)
+    def exec_query(sql, *, **)

I've changed it to your indicated. But it breaks the test for older versions.

kyohsuke

comment created time in 2 months

push eventkyohsuke/database_rewinder

Akira Matsuda

commit sha 1e92e3d8e3fdb8c1a6f6d520dc96d13bcb53ec91

CI against ruby 2.7.1 & rails 6.0.3

view details

Akira Matsuda

commit sha d371d6aa1aa8654e436e24a1b33d6eaba7266f79

kwargs has to be double-splatted

view details

Akira Matsuda

commit sha 5497a2d60aad2b438f82c4c83b1c8be7ca421acd

[] may accept `connection:` keyword only, and in that case, orm is nil https://github.com/amatsuda/database_rewinder/blob/1e92e3d/test/database_rewinder_test.rb#L37

view details

Akira Matsuda

commit sha 36d8669478b6418b1c98b477d01e05a839010966

clean_with should accpet kwargs

view details

KAWAHARA Keisuke

commit sha 49b62a34870e71e26de8baf05d53cb257ca9b32d

Handle keyword arguments separately

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 2348c15a952f1f227822fb91ea439ab92c2122c0

Handle keyword arguments separately

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 089fbb7e3c7f93671adefcd457f84cf4e9b1b968

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha d6d6c2a19ad1d9a7c247e7595733335645724ea3

Add ruby 2.7.1 to .travis.yml

view details

KAWAHARA Keisuke

commit sha 5f87a645070b85cf242e861d456a13f2b27a2d16

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha d6d6c2a19ad1d9a7c247e7595733335645724ea3

Add ruby 2.7.1 to .travis.yml

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 39ba01a6acfd74037d472049b30600464b889941

Add ruby 2.7.1 to .travis.yml

view details

KAWAHARA Keisuke

commit sha da0f1213e1613fa0d86d32f0bafebd05416a3bde

Test suppress warnings

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 39ba01a6acfd74037d472049b30600464b889941

Add ruby 2.7.1 to .travis.yml

view details

push time in 2 months

create barnchkyohsuke/database_rewinder

branch : test_suppress_warnings

created branch time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha facdbd456dfbf1818ccaa88b3af5a5b13cf842cb

Add ruby 2.7.1 to .travis.yml

view details

push time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 4b3fdd0873fa7d2cdd77bc866ccb3da165e3e2ef

Add ruby 2.7.1 to .travis.yml

view details

push time in 2 months

create barnchkyohsuke/database_rewinder

branch : add_ruby_2_7_1

created branch time in 2 months

PR opened amatsuda/database_rewinder

Handle keyword arguments separately

Hi, amatsuda

I got this warning on ruby 2.7.x and want to remove it.

warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

If the patch is no problem, could you please merge them?

Thanks.

+4 -4

0 comment

1 changed file

pr created time in 2 months

push eventkyohsuke/database_rewinder

KAWAHARA Keisuke

commit sha 82342c5c94cd3776250b205f17d05edd803e68a8

Handle keyword arguments separately

view details

push time in 2 months

create barnchkyohsuke/database_rewinder

branch : handle_keyword_arguments_separately

created branch time in 2 months

delete branch kyohsuke/database_rewinder

delete branch : handle_keyword_arguments_separately

delete time in 2 months

create barnchkyohsuke/database_rewinder

branch : handle_keyword_arguments_separately

created branch time in 2 months

fork kyohsuke/database_rewinder

minimalist's tiny and ultra-fast database cleaner

fork in 2 months

PR opened alpaca-tc/active_record_encryption

Handle keyword arguments separately

Hi, alpaca-tc.

I got this warning on ruby 2.7.x and want to remove it.

encrypted_attribute.rb:9: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call

If there is no problem, could you please merge them?

Thanks.

+8 -8

0 comment

3 changed files

pr created time in 2 months

push eventkyohsuke/active_record_encryption

KAWAHARA Keisuke

commit sha e21923ce5cf3200554c65e6649eb18a395c14711

Handle keyword arguments separately

view details

push time in 2 months

push eventkyohsuke/active_record_encryption

KAWAHARA Keisuke

commit sha 280048f2426facbbf06f6d3909ec8235ba2703a7

Handle keyword arguments separately

view details

push time in 2 months

create barnchkyohsuke/active_record_encryption

branch : fix_warnigs_for_kwargs

created branch time in 2 months

delete branch kyohsuke/active_record_encryption

delete branch : fix_warnigs_for_kwargs

delete time in 2 months

create barnchkyohsuke/active_record_encryption

branch : fix_warnigs_for_kwargs

created branch time in 2 months

fork kyohsuke/active_record_encryption

Transparent column encryption/decryption with Attribute API for ActiveRecord

fork in 2 months

more