nicepay 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +9 -9
- data/.rspec +2 -2
- data/.travis.yml +12 -12
- data/Gemfile +3 -3
- data/LICENSE.txt +21 -21
- data/README.md +477 -477
- data/Rakefile +6 -6
- data/bin/console +14 -14
- data/bin/setup +8 -8
- data/lib/nicepay/version.rb +3 -3
- data/nicepay.gemspec +46 -46
- metadata +3 -4
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
require "rspec/core/rake_task"
|
3
|
-
|
4
|
-
RSpec::Core::RakeTask.new(:spec)
|
5
|
-
|
6
|
-
task :default => :spec
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
3
|
+
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
5
|
+
|
6
|
+
task :default => :spec
|
data/bin/console
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "nicepay"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "nicepay"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
set -euo pipefail
|
3
|
-
IFS=$'\n\t'
|
4
|
-
set -vx
|
5
|
-
|
6
|
-
bundle install
|
7
|
-
|
8
|
-
# Do any other automated setup that you need to do here
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
set -euo pipefail
|
3
|
+
IFS=$'\n\t'
|
4
|
+
set -vx
|
5
|
+
|
6
|
+
bundle install
|
7
|
+
|
8
|
+
# Do any other automated setup that you need to do here
|
data/lib/nicepay/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module Nicepay
|
2
|
-
VERSION = "0.1.
|
3
|
-
end
|
1
|
+
module Nicepay
|
2
|
+
VERSION = "0.1.6"
|
3
|
+
end
|
data/nicepay.gemspec
CHANGED
@@ -1,46 +1,46 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'rubygems' if RUBY_VERSION < '1.9'
|
5
|
-
require 'rest-client'
|
6
|
-
require 'json'
|
7
|
-
require 'digest'
|
8
|
-
require "retries"
|
9
|
-
require 'nicepay/api'
|
10
|
-
require 'nicepay/version'
|
11
|
-
|
12
|
-
Gem::Specification.new do |spec|
|
13
|
-
spec.name = "nicepay"
|
14
|
-
spec.version = Nicepay::VERSION
|
15
|
-
spec.authors = ["Arif Budiman"]
|
16
|
-
spec.email = ["arif.budiman@nicepay.co.id"]
|
17
|
-
spec.required_ruby_version = '>= 1.9.3'
|
18
|
-
spec.summary = 'Nicepay Ruby Bindings'
|
19
|
-
spec.description = 'Nicepay Indonesia'
|
20
|
-
spec.homepage = "http://nicepay.co.id"
|
21
|
-
spec.license = "MIT"
|
22
|
-
|
23
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
24
|
-
# delete this section to allow pushing this gem to any host.
|
25
|
-
# if spec.respond_to?(:metadata)
|
26
|
-
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
27
|
-
# else
|
28
|
-
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
29
|
-
# end
|
30
|
-
|
31
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
32
|
-
spec.bindir = "exe"
|
33
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
|
-
spec.require_paths = ["lib"]
|
35
|
-
|
36
|
-
spec.add_development_dependency "bundler", "~> 1.11"
|
37
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
38
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
39
|
-
|
40
|
-
# dependencies
|
41
|
-
spec.add_dependency('rest-client', '~> 1.4')
|
42
|
-
spec.add_dependency('json', '~> 1.8.3')
|
43
|
-
spec.add_dependency('retries', '~> 0.0.5')
|
44
|
-
spec.add_dependency 'rubygems' if RUBY_VERSION < '1.9'
|
45
|
-
|
46
|
-
end
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rubygems' if RUBY_VERSION < '1.9'
|
5
|
+
require 'rest-client'
|
6
|
+
require 'json'
|
7
|
+
require 'digest'
|
8
|
+
require "retries"
|
9
|
+
require 'nicepay/api'
|
10
|
+
require 'nicepay/version'
|
11
|
+
|
12
|
+
Gem::Specification.new do |spec|
|
13
|
+
spec.name = "nicepay"
|
14
|
+
spec.version = Nicepay::VERSION
|
15
|
+
spec.authors = ["Arif Budiman"]
|
16
|
+
spec.email = ["arif.budiman@nicepay.co.id"]
|
17
|
+
spec.required_ruby_version = '>= 1.9.3'
|
18
|
+
spec.summary = 'Nicepay Ruby Bindings'
|
19
|
+
spec.description = 'Nicepay Indonesia'
|
20
|
+
spec.homepage = "http://nicepay.co.id"
|
21
|
+
spec.license = "MIT"
|
22
|
+
|
23
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
24
|
+
# delete this section to allow pushing this gem to any host.
|
25
|
+
# if spec.respond_to?(:metadata)
|
26
|
+
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
27
|
+
# else
|
28
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
29
|
+
# end
|
30
|
+
|
31
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
32
|
+
spec.bindir = "exe"
|
33
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
|
+
spec.require_paths = ["lib"]
|
35
|
+
|
36
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
37
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
38
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
39
|
+
|
40
|
+
# dependencies
|
41
|
+
spec.add_dependency('rest-client', '~> 1.4')
|
42
|
+
spec.add_dependency('json', '~> 1.8.3')
|
43
|
+
spec.add_dependency('retries', '~> 0.0.5')
|
44
|
+
spec.add_dependency 'rubygems' if RUBY_VERSION < '1.9'
|
45
|
+
|
46
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nicepay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arif Budiman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -138,8 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
|
-
|
142
|
-
rubygems_version: 2.4.5.1
|
141
|
+
rubygems_version: 3.1.2
|
143
142
|
signing_key:
|
144
143
|
specification_version: 4
|
145
144
|
summary: Nicepay Ruby Bindings
|