diff --git a/Gemfile.lock b/Gemfile.lock index b3eca0f..449aa43 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -121,6 +121,8 @@ GEM nio4r (2.5.8) nokogiri (1.13.1-x86_64-darwin) racc (~> 1.4) + nokogiri (1.13.1-x86_64-linux) + racc (~> 1.4) orm_adapter (0.5.0) public_suffix (4.0.6) puma (5.6.2) @@ -225,6 +227,7 @@ GEM PLATFORMS x86_64-darwin-20 + x86_64-linux DEPENDENCIES bootsnap (>= 1.4.4) diff --git a/app/controllers/api/v1/fbi_controller.rb b/app/controllers/api/v1/fbi_controller.rb index 4b67ca0..f11945b 100644 --- a/app/controllers/api/v1/fbi_controller.rb +++ b/app/controllers/api/v1/fbi_controller.rb @@ -4,7 +4,7 @@ def index require 'uri' require 'net/http' - uri = URI('https://api.fbi.gov/@wanted?pageSize=6&page=1&sort_on=modified&sort_order=desc&person_classification=victim') + uri = URI('https://api.fbi.gov/@wanted?pageSize=100&page=1&sort_on=modified&sort_order=desc&person_classification=victim') @res = Net::HTTP.get_response(uri) puts @res.body if @res.is_a?(Net::HTTPSuccess) diff --git a/app/controllers/api/v1/twitter_controller.rb b/app/controllers/api/v1/twitter_controller.rb index 4a9c567..4e70e48 100644 --- a/app/controllers/api/v1/twitter_controller.rb +++ b/app/controllers/api/v1/twitter_controller.rb @@ -7,7 +7,7 @@ def index # Twitter require 'net/http' - uri = URI("https://api.twitter.com/2/tweets/search/recent?query=missing%20person") + uri = URI("https://api.twitter.com/2/tweets/search/recent?query=%22missing+person%22+OR+%22missingkids%22") @req = Net::HTTP::Get.new(uri) @req['Authorization'] = "#{Rails.application.credentials.devise[:twitter_secret_key]}" diff --git a/node_modules/.yarn-integrity b/node_modules/.yarn-integrity new file mode 100644 index 0000000..d3a668f --- /dev/null +++ b/node_modules/.yarn-integrity @@ -0,0 +1,10 @@ +{ + "systemParams": "linux-x64-83", + "modulesFolders": [], + "flags": [], + "linkedModules": [], + "topLevelPatterns": [], + "lockfileEntries": {}, + "files": [], + "artifacts": {} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..fb57ccd --- /dev/null +++ b/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + +