Sha256: 7de15a04a3b679cce1b9321144f5b4fa924c7676703a8e6c176cc86df0aaeefd

Contents?: true

Size: 500 Bytes

Versions: 34

Compression:

Stored size: 500 Bytes

Contents

require 'rake/testtask'

task :default => [:test]

Rake::TestTask.new do |t|
  t.pattern = './test/**/*_test.rb'
end

desc "update bundled certs"
task :update_certs do
  require "restclient"
  File.open(File.join(File.dirname(__FILE__), 'lib', 'data', 'ca-certificates.crt'), 'w') do |file|
    resp = RestClient.get "https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt"
    abort("bad response when fetching bundle") unless resp.code == 200
    file.write(resp.to_str)
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
stripe-1.58.0 Rakefile
stripe-1.57.1 Rakefile
stripe-1.57.0 Rakefile
stripe-1.56.2 Rakefile
stripe-1.56.1 Rakefile
stripe-1.56.0 Rakefile
stripe-1.55.1 Rakefile
stripe-1.55.0 Rakefile
stripe-1.54.0 Rakefile
stripe-1.53.0 Rakefile
stripe-1.52.0 Rakefile
stripe-1.51.1 Rakefile
stripe-1.51.0 Rakefile
stripe-1.50.1 Rakefile
stripe-1.50.0 Rakefile
stripe-1.49.0 Rakefile
stripe-1.48.0 Rakefile
stripe-1.47.0 Rakefile
stripe-1.46.0 Rakefile
stripe-1.45.0 Rakefile