Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Drop Active Support dependency #35

Merged
merged 1 commit into from
Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,17 @@ PATH
remote: .
specs:
kiji (0.2.2)
activesupport (>= 5.2)
faraday
nokogiri

GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.0)
byebug (11.0.1)
coderay (1.1.2)
concurrent-ruby (1.1.5)
crack (0.4.5)
rexml
diff-lcs (1.3)
Expand Down Expand Up @@ -62,20 +54,18 @@ GEM
guard (~> 2.0)
rubocop (~> 0.20)
hashdiff (1.0.1)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
listen (3.4.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.0.13)
method_source (0.9.2)
mini_portile2 (2.4.0)
minitest (5.14.3)
mini_portile2 (2.5.3)
multipart-post (2.1.1)
nenv (0.3.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
Expand All @@ -89,6 +79,7 @@ GEM
byebug (~> 11.0)
pry (~> 0.10)
public_suffix (4.0.6)
racc (1.5.2)
rainbow (3.0.0)
rake (13.0.1)
rb-fsevent (0.10.4)
Expand Down Expand Up @@ -120,16 +111,12 @@ GEM
rubyzip (2.0.0)
shellany (0.0.1)
thor (0.20.3)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
unicode-display_width (1.6.0)
vcr (6.0.0)
webmock (3.11.2)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
zeitwerk (2.2.2)

PLATFORMS
ruby
Expand Down
1 change: 0 additions & 1 deletion kiji.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'webmock'

# spec.add_runtime_dependency 'signer'
spec.add_runtime_dependency 'activesupport', '>= 5.2'
spec.add_runtime_dependency 'faraday'
spec.add_runtime_dependency 'nokogiri'
end
3 changes: 0 additions & 3 deletions lib/kiji/access.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
require 'active_support'
require 'active_support/core_ext/object'

module Kiji
module Access
def apply(file_name, file_data)
Expand Down
4 changes: 2 additions & 2 deletions spec/kiji/access_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
create_zip('9990000000000008', ['torisageshinsei.xml'])

send_number = '201504281051005638'
if send_number.blank?
unless send_number
# 取下げ申請可能な手続き(900A010000004000)の申請
file_name = "#{procedure_id}.zip"
file_data = Base64.encode64(File.new("#{@temp_dir}/#{file_name}").read)
Expand All @@ -68,7 +68,7 @@
end

arrive_id = '9002015000246820'
if arrive_id.present?
if arrive_id
let(:expected_status_code) { 202 }
let(:response) do
# 取下げ申請データを Base64 エンコード
Expand Down