Skip to content

Instantly share code, notes, and snippets.

@jsvd
Created September 9, 2024 09:06
Show Gist options
  • Save jsvd/6b396a329243e8ee337fa2d31011897f to your computer and use it in GitHub Desktop.
Save jsvd/6b396a329243e8ee337fa2d31011897f to your computer and use it in GitHub Desktop.
/tmp/sandbox
❯ jruby -v
jruby 9.4.7.0 (3.1.4) 2024-04-29 597ff08ac1 OpenJDK 64-Bit Server VM 17.0.9+9 on 17.0.9+9 +jit [arm64-darwin]
/tmp/sandbox
❯ git clone git@github.com:logstash-plugins/logstash-input-salesforce.git
Cloning into 'logstash-input-salesforce'...
remote: Enumerating objects: 331, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 331 (delta 41), reused 38 (delta 31), pack-reused 274 (from 1)
Receiving objects: 100% (331/331), 67.87 KiB | 522.00 KiB/s, done.
Resolving deltas: 100% (149/149), done.
/tmp/sandbox
❯ curl https://artifacts.elastic.co/downloads/logstash/logstash-8.14.3-darwin-aarch64.tar.gz | tar -zxf -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 371M 100 371M 0 0 2022k 0 0:03:08 0:03:08 --:--:-- 2462k
/tmp/sandbox 3m 9s
❯ cd logstash-input-salesforce
/tmp/sandbox/logstash-input-salesforce main
❯ export LOGSTASH_PATH=/tmp/sandbox/logstash-8.14.3 LOGSTASH_SOURCE=1
/tmp/sandbox/logstash-input-salesforce main
❯ bundle install --path=vendor/bundle
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
Ignoring executable-hooks-1.7.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.7.1
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Ignoring jruby-launcher-1.1.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.1.19
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching e2mmap 0.1.0
Fetching diff-lcs 1.5.1
Fetching rexml 3.3.7
Fetching base64 0.2.0
Fetching clamp 1.3.2
Fetching coderay 1.1.3
Fetching public_suffix 6.0.1
Fetching multi_json 1.15.0
Fetching concurrent-ruby 1.1.9
Fetching bigdecimal 3.1.8 (java)
Installing base64 0.2.0
Fetching faraday-em_http 1.0.0
Installing rexml 3.3.7
Installing e2mmap 0.1.0
Fetching faraday-em_synchrony 1.0.0
Fetching faraday-excon 1.1.0
Installing concurrent-ruby 1.1.9
Installing diff-lcs 1.5.1
Installing clamp 1.3.2
Fetching faraday-httpclient 1.0.1
Fetching multipart-post 2.4.1
Fetching faraday-net_http 1.0.2
Installing coderay 1.1.3
Fetching faraday-net_http_persistent 1.2.0
Installing public_suffix 6.0.1
Fetching faraday-patron 1.0.0
Installing multi_json 1.15.0
Fetching faraday-rack 1.0.0
Installing bigdecimal 3.1.8 (java)
Fetching faraday-retry 1.0.3
Installing faraday-em_http 1.0.0
Fetching ffi 1.17.0 (java)
Installing faraday-em_synchrony 1.0.0
Fetching filesize 0.2.0
Installing faraday-excon 1.1.0
Fetching fivemat 1.3.7
Installing faraday-httpclient 1.0.1
Fetching gem_publisher 1.5.0
Installing multipart-post 2.4.1
Fetching gems 1.2.0
Installing faraday-net_http 1.0.2
Fetching hashdiff 1.1.1
Installing faraday-net_http_persistent 1.2.0
Fetching hashie 4.1.0
Installing faraday-patron 1.0.0
Fetching jrjackson 0.4.20 (java)
Installing faraday-rack 1.0.0
Fetching jruby-openssl 0.14.6 (java)
Installing faraday-retry 1.0.3
Fetching json 2.7.2 (java)
Installing ffi 1.17.0 (java)
Installing filesize 0.2.0
Fetching openssl_pkcs8_pure 0.0.0.2
Installing fivemat 1.3.7
Fetching minitar 0.12.1
Fetching method_source 1.1.0
Installing gem_publisher 1.5.0
Fetching nio4r 2.7.3 (java)
Installing gems 1.2.0
Fetching rack 2.2.9
Installing hashdiff 1.1.1
Fetching ruby-maven-libs 3.9.6.1
Installing hashie 4.1.0
Fetching rubyzip 1.3.0
Installing jrjackson 0.4.20 (java)
Fetching tilt 2.4.0
Installing json 2.7.2 (java)
Fetching stud 0.0.23
Installing openssl_pkcs8_pure 0.0.0.2
Fetching thread_safe 0.3.6 (java)
Installing minitar 0.12.1
Fetching polyglot 0.3.5
Installing method_source 1.1.0
Fetching rspec-support 3.13.1
Installing jruby-openssl 0.14.6 (java)
Installing nio4r 2.7.3 (java)
Fetching jwt 2.8.2
Installing rack 2.2.9
Fetching vcr 6.3.1
Fetching thwait 0.2.0
Installing rubyzip 1.3.0
Installing tilt 2.4.0
Fetching kramdown 2.4.0
Fetching i18n 1.14.5
Installing stud 0.0.23
Fetching tzinfo 2.0.6
Installing ruby-maven-libs 3.9.6.1
Installing thread_safe 0.3.6 (java)
Fetching addressable 2.8.7
Fetching elasticsearch-api 7.17.11
Installing polyglot 0.3.5
Fetching crack 1.0.0
Installing rspec-support 3.13.1
Fetching mustermann 2.0.2
Installing jwt 2.8.2
Fetching faraday-multipart 1.0.4
Installing vcr 6.3.1
Installing thwait 0.2.0
Fetching spoon 0.0.6
Fetching manticore 0.9.1 (java)
Installing kramdown 2.4.0
Installing i18n 1.14.5
Fetching puma 6.4.2 (java)
Installing tzinfo 2.0.6
Fetching rack-protection 2.2.4
Installing addressable 2.8.7
Fetching treetop 1.6.12
Installing elasticsearch-api 7.17.11
Fetching rspec-core 3.13.1
Installing crack 1.0.0
Fetching rspec-expectations 3.13.3
Installing mustermann 2.0.2
Fetching rspec-mocks 3.13.1
Installing faraday-multipart 1.0.4
Fetching tzinfo-data 1.2024.2
Fetching down 5.2.4
Installing spoon 0.0.6
Fetching webmock 3.23.1
Installing manticore 0.9.1 (java)
Fetching faraday 1.10.3
Installing puma 6.4.2 (java)
Installing rack-protection 2.2.4
Fetching pry 0.14.2 (java)
Fetching sinatra 2.2.4
Installing treetop 1.6.12
Installing rspec-core 3.13.1
Installing rspec-expectations 3.13.3
Installing rspec-mocks 3.13.1
Fetching rspec 3.13.0
Installing tzinfo-data 1.2024.2
Installing down 5.2.4
Installing webmock 3.23.1
Installing faraday 1.10.3
Fetching faraday_middleware 1.2.0
Fetching elasticsearch-transport 7.17.11
Installing pry 0.14.2 (java)
Installing sinatra 2.2.4
Installing rspec 3.13.0
Fetching rspec-wait 1.0.1
Installing faraday_middleware 1.2.0
Fetching restforce 5.1.1
Installing elasticsearch-transport 7.17.11
Fetching elasticsearch 7.17.11
Installing rspec-wait 1.0.1
Installing restforce 5.1.1
Installing elasticsearch 7.17.11
Fetching logstash-mixin-ecs_compatibility_support 1.3.0 (java)
Fetching logstash-mixin-event_support 1.0.1 (java)
Installing logstash-mixin-event_support 1.0.1 (java)
Installing logstash-mixin-ecs_compatibility_support 1.3.0 (java)
Fetching logstash-codec-plain 3.1.0
Installing logstash-codec-plain 3.1.0
Fetching logstash-devutils 2.6.2 (java)
Installing logstash-devutils 2.6.2 (java)
Bundle complete! 8 Gemfile dependencies, 83 gems now installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from minitar:
The `minitar` executable is no longer bundled with `minitar`. If you are
expecting this executable, make sure you also install `minitar-cli`.
/tmp/sandbox/logstash-input-salesforce main* 27s
❯ bundle exec rspec
Ignoring executable-hooks-1.7.1 because its extensions are not built. Try: gem pristine executable-hooks --version 1.7.1
Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0
Ignoring jruby-launcher-1.1.19-java because its extensions are not built. Try: gem pristine jruby-launcher --version 1.1.19
Sending Logstash logs to null which is now configured via log4j2.properties
Run options: exclude {:integration=>true, :redis=>true, :socket=>true, :performance=>true, :couchdb=>true, :elasticsearch=>true, :elasticsearch_secure=>true, :export_cypher=>true, :windows=>true}
Randomized with seed 55273
.......
Finished in 0.52773 seconds (files took 2.41 seconds to load)
7 examples, 0 failures
Randomized with seed 55273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment