mercadopago-custom-checkout 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gs/bin/rake +12 -8
- data/.gs/specifications/rake-10.5.0.gemspec +24 -28
- data/.tool-versions +1 -0
- data/lib/mercadopago/custom_checkout/version.rb +1 -1
- data/mercadopago-custom-checkout.gemspec +3 -3
- metadata +14 -125
- data/.gs/cache/faraday-0.9.2.gem +0 -0
- data/.gs/cache/minitest-5.9.0.gem +0 -0
- data/.gs/cache/multi_json-1.12.1.gem +0 -0
- data/.gs/cache/multipart-post-2.0.0.gem +0 -0
- data/.gs/gems/faraday-0.9.2/LICENSE.md +0 -20
- data/.gs/gems/faraday-0.9.2/README.md +0 -245
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb +0 -237
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb +0 -56
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb +0 -66
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb +0 -100
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb +0 -81
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb +0 -117
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb +0 -130
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb +0 -49
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb +0 -78
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb +0 -58
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/test.rb +0 -162
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb +0 -123
- data/.gs/gems/faraday-0.9.2/lib/faraday/adapter.rb +0 -46
- data/.gs/gems/faraday-0.9.2/lib/faraday/autoload.rb +0 -84
- data/.gs/gems/faraday-0.9.2/lib/faraday/connection.rb +0 -437
- data/.gs/gems/faraday-0.9.2/lib/faraday/error.rb +0 -53
- data/.gs/gems/faraday-0.9.2/lib/faraday/middleware.rb +0 -37
- data/.gs/gems/faraday-0.9.2/lib/faraday/options.rb +0 -359
- data/.gs/gems/faraday-0.9.2/lib/faraday/parameters.rb +0 -197
- data/.gs/gems/faraday-0.9.2/lib/faraday/rack_builder.rb +0 -213
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/authorization.rb +0 -42
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb +0 -13
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb +0 -36
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/multipart.rb +0 -63
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/retry.rb +0 -154
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb +0 -15
- data/.gs/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb +0 -36
- data/.gs/gems/faraday-0.9.2/lib/faraday/request.rb +0 -92
- data/.gs/gems/faraday-0.9.2/lib/faraday/response/logger.rb +0 -59
- data/.gs/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb +0 -21
- data/.gs/gems/faraday-0.9.2/lib/faraday/response.rb +0 -93
- data/.gs/gems/faraday-0.9.2/lib/faraday/upload_io.rb +0 -67
- data/.gs/gems/faraday-0.9.2/lib/faraday/utils.rb +0 -309
- data/.gs/gems/faraday-0.9.2/lib/faraday.rb +0 -268
- data/.gs/gems/minitest-5.9.0/.autotest +0 -34
- data/.gs/gems/minitest-5.9.0/History.rdoc +0 -1176
- data/.gs/gems/minitest-5.9.0/Manifest.txt +0 -26
- data/.gs/gems/minitest-5.9.0/README.rdoc +0 -656
- data/.gs/gems/minitest-5.9.0/Rakefile +0 -72
- data/.gs/gems/minitest-5.9.0/design_rationale.rb +0 -52
- data/.gs/gems/minitest-5.9.0/lib/hoe/minitest.rb +0 -26
- data/.gs/gems/minitest-5.9.0/lib/minitest/assertions.rb +0 -674
- data/.gs/gems/minitest-5.9.0/lib/minitest/autorun.rb +0 -13
- data/.gs/gems/minitest-5.9.0/lib/minitest/benchmark.rb +0 -424
- data/.gs/gems/minitest-5.9.0/lib/minitest/expectations.rb +0 -284
- data/.gs/gems/minitest-5.9.0/lib/minitest/hell.rb +0 -17
- data/.gs/gems/minitest-5.9.0/lib/minitest/mock.rb +0 -232
- data/.gs/gems/minitest-5.9.0/lib/minitest/parallel.rb +0 -69
- data/.gs/gems/minitest-5.9.0/lib/minitest/pride.rb +0 -4
- data/.gs/gems/minitest-5.9.0/lib/minitest/pride_plugin.rb +0 -142
- data/.gs/gems/minitest-5.9.0/lib/minitest/spec.rb +0 -331
- data/.gs/gems/minitest-5.9.0/lib/minitest/test.rb +0 -284
- data/.gs/gems/minitest-5.9.0/lib/minitest/unit.rb +0 -45
- data/.gs/gems/minitest-5.9.0/lib/minitest.rb +0 -815
- data/.gs/gems/minitest-5.9.0/test/minitest/metametameta.rb +0 -90
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_benchmark.rb +0 -137
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_mock.rb +0 -512
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_reporter.rb +0 -281
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_spec.rb +0 -967
- data/.gs/gems/minitest-5.9.0/test/minitest/test_minitest_test.rb +0 -1983
- data/.gs/gems/multi_json-1.12.1/CHANGELOG.md +0 -245
- data/.gs/gems/multi_json-1.12.1/CONTRIBUTING.md +0 -46
- data/.gs/gems/multi_json-1.12.1/LICENSE.md +0 -20
- data/.gs/gems/multi_json-1.12.1/README.md +0 -121
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter.rb +0 -49
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapter_error.rb +0 -15
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/gson.rb +0 -20
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/jr_jackson.rb +0 -25
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_common.rb +0 -23
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_gem.rb +0 -11
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/json_pure.rb +0 -11
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/nsjsonserialization.rb +0 -32
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/oj.rb +0 -25
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/ok_json.rb +0 -23
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/adapters/yajl.rb +0 -19
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/convertible_hash_keys.rb +0 -43
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/options.rb +0 -39
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/options_cache.rb +0 -29
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/parse_error.rb +0 -17
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/vendor/okjson.rb +0 -606
- data/.gs/gems/multi_json-1.12.1/lib/multi_json/version.rb +0 -17
- data/.gs/gems/multi_json-1.12.1/lib/multi_json.rb +0 -161
- data/.gs/gems/multi_json-1.12.1/multi_json.gemspec +0 -20
- data/.gs/gems/multipart-post-2.0.0/.gitignore +0 -6
- data/.gs/gems/multipart-post-2.0.0/.travis.yml +0 -7
- data/.gs/gems/multipart-post-2.0.0/Gemfile +0 -14
- data/.gs/gems/multipart-post-2.0.0/History.txt +0 -60
- data/.gs/gems/multipart-post-2.0.0/Manifest.txt +0 -9
- data/.gs/gems/multipart-post-2.0.0/README.md +0 -77
- data/.gs/gems/multipart-post-2.0.0/Rakefile +0 -9
- data/.gs/gems/multipart-post-2.0.0/lib/composite_io.rb +0 -108
- data/.gs/gems/multipart-post-2.0.0/lib/multipart_post.rb +0 -9
- data/.gs/gems/multipart-post-2.0.0/lib/multipartable.rb +0 -29
- data/.gs/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +0 -27
- data/.gs/gems/multipart-post-2.0.0/lib/parts.rb +0 -96
- data/.gs/gems/multipart-post-2.0.0/multipart-post.gemspec +0 -22
- data/.gs/gems/multipart-post-2.0.0/test/multibyte.txt +0 -1
- data/.gs/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +0 -110
- data/.gs/gems/multipart-post-2.0.0/test/test_composite_io.rb +0 -115
- data/.gs/gems/multipart-post-2.0.0/test/test_parts.rb +0 -86
- data/.gs/specifications/faraday-0.9.2.gemspec +0 -31
- data/.gs/specifications/minitest-5.9.0.gemspec +0 -39
- data/.gs/specifications/multi_json-1.12.1.gemspec +0 -33
- data/.gs/specifications/multipart-post-2.0.0.gemspec +0 -22
- data/.ruby-version +0 -1
@@ -1,72 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require "rubygems"
|
4
|
-
require "hoe"
|
5
|
-
|
6
|
-
Hoe.plugin :seattlerb
|
7
|
-
Hoe.plugin :rdoc
|
8
|
-
|
9
|
-
Hoe.spec "minitest" do
|
10
|
-
developer "Ryan Davis", "ryand-ruby@zenspider.com"
|
11
|
-
|
12
|
-
license "MIT"
|
13
|
-
|
14
|
-
self.testlib = :minitest
|
15
|
-
end
|
16
|
-
|
17
|
-
desc "Find missing expectations"
|
18
|
-
task :specs do
|
19
|
-
$:.unshift "lib"
|
20
|
-
require "minitest/unit"
|
21
|
-
require "minitest/spec"
|
22
|
-
|
23
|
-
pos_prefix, neg_prefix = "must", "wont"
|
24
|
-
skip_re = /^(must|wont)$|wont_(throw)|must_(block|not?_|nothing|raise$)/x
|
25
|
-
dont_flip_re = /(must|wont)_(include|respond_to)/
|
26
|
-
|
27
|
-
map = {
|
28
|
-
/(must_throw)s/ => '\1',
|
29
|
-
/(?!not)_same/ => "_be_same_as",
|
30
|
-
/_in_/ => "_be_within_",
|
31
|
-
/_operator/ => "_be",
|
32
|
-
/_includes/ => "_include",
|
33
|
-
/(must|wont)_(.*_of|nil|silent|empty)/ => '\1_be_\2',
|
34
|
-
/must_raises/ => "must_raise",
|
35
|
-
}
|
36
|
-
|
37
|
-
expectations = Minitest::Expectations.public_instance_methods.map(&:to_s)
|
38
|
-
assertions = Minitest::Assertions.public_instance_methods.map(&:to_s)
|
39
|
-
|
40
|
-
assertions.sort.each do |assertion|
|
41
|
-
expectation = case assertion
|
42
|
-
when /^assert/ then
|
43
|
-
assertion.sub(/^assert/, pos_prefix.to_s)
|
44
|
-
when /^refute/ then
|
45
|
-
assertion.sub(/^refute/, neg_prefix.to_s)
|
46
|
-
end
|
47
|
-
|
48
|
-
next unless expectation
|
49
|
-
next if expectation =~ skip_re
|
50
|
-
|
51
|
-
regexp, replacement = map.find { |re, _| expectation =~ re }
|
52
|
-
expectation.sub! regexp, replacement if replacement
|
53
|
-
|
54
|
-
next if expectations.include? expectation
|
55
|
-
|
56
|
-
args = [assertion, expectation].map(&:to_sym).map(&:inspect)
|
57
|
-
args << :reverse if expectation =~ dont_flip_re
|
58
|
-
|
59
|
-
puts
|
60
|
-
puts "##"
|
61
|
-
puts "# :method: #{expectation}"
|
62
|
-
puts "# See Minitest::Assertions##{assertion}"
|
63
|
-
puts
|
64
|
-
puts "infect_an_assertion #{args.join ", "}"
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
task :bugs do
|
69
|
-
sh "for f in bug*.rb ; do echo $f; echo; #{Gem.ruby} -Ilib $f && rm $f ; done"
|
70
|
-
end
|
71
|
-
|
72
|
-
# vim: syntax=Ruby
|
@@ -1,52 +0,0 @@
|
|
1
|
-
# Specs: # Equivalent Unit Tests:
|
2
|
-
###############################################################################
|
3
|
-
describe Thingy do # class TestThingy < Minitest::Test
|
4
|
-
before do # def setup
|
5
|
-
do_some_setup # super
|
6
|
-
end # do_some_setup
|
7
|
-
# end
|
8
|
-
it "should do the first thing" do #
|
9
|
-
1.must_equal 1 # def test_first_thing
|
10
|
-
end # assert_equal 1, 1
|
11
|
-
# end
|
12
|
-
describe SubThingy do # end
|
13
|
-
before do #
|
14
|
-
do_more_setup # class TestSubThingy < TestThingy
|
15
|
-
end # def setup
|
16
|
-
# super
|
17
|
-
it "should do the second thing" do # do_more_setup
|
18
|
-
2.must_equal 2 # end
|
19
|
-
end #
|
20
|
-
end # def test_second_thing
|
21
|
-
end # assert_equal 2, 2
|
22
|
-
# end
|
23
|
-
# end
|
24
|
-
###############################################################################
|
25
|
-
# runs 2 specs # runs 3 tests
|
26
|
-
###############################################################################
|
27
|
-
# The specs generate:
|
28
|
-
|
29
|
-
class ThingySpec < Minitest::Spec
|
30
|
-
def setup
|
31
|
-
super
|
32
|
-
do_some_setup
|
33
|
-
end
|
34
|
-
|
35
|
-
def test_should_do_the_first_thing
|
36
|
-
assert_equal 1, 1
|
37
|
-
end
|
38
|
-
end
|
39
|
-
|
40
|
-
class SubThingySpec < ThingySpec
|
41
|
-
def setup
|
42
|
-
super
|
43
|
-
do_more_setup
|
44
|
-
end
|
45
|
-
|
46
|
-
# because only setup/teardown is inherited, not specs
|
47
|
-
remove_method :test_should_do_the_first_thing
|
48
|
-
|
49
|
-
def test_should_do_the_second_thing
|
50
|
-
assert_equal 2, 2
|
51
|
-
end
|
52
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# :stopdoc:
|
2
|
-
|
3
|
-
class Hoe
|
4
|
-
end
|
5
|
-
|
6
|
-
module Hoe::Minitest
|
7
|
-
def initialize_minitest
|
8
|
-
dir = "../../minitest/dev/lib"
|
9
|
-
Hoe.add_include_dirs dir if File.directory? dir
|
10
|
-
|
11
|
-
gem "minitest"
|
12
|
-
require "minitest"
|
13
|
-
version = Minitest::VERSION.split(/\./).first(2).join(".")
|
14
|
-
|
15
|
-
dependency "minitest", "~> #{version}", :development unless
|
16
|
-
self.name == "minitest" or ENV["MT_NO_ISOLATE"]
|
17
|
-
end
|
18
|
-
|
19
|
-
def define_minitest_tasks
|
20
|
-
self.testlib = :minitest
|
21
|
-
|
22
|
-
# make sure we use the gemmed minitest on 1.9
|
23
|
-
self.test_prelude = 'gem "minitest"' unless
|
24
|
-
self.name == "minitest" or ENV["MT_NO_ISOLATE"]
|
25
|
-
end
|
26
|
-
end
|