tax_jp 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/features/.gitignore +1 -0
- data/features/step_definitions/consumption_tax.rb +4 -0
- data/features/support/env.rb +1 -0
- data/features//346/266/210/350/262/273/347/250/216.feature +11 -0
- data/lib/tax_jp/{calculation.rb → consumption_tax.rb} +1 -1
- data/lib/tax_jp/rails/engine.rb +6 -0
- data/lib/tax_jp/rails/railtie.rb +6 -0
- data/lib/tax_jp/version.rb +1 -1
- data/lib/tax_jp.rb +7 -3
- data/tax_jp.gemspec +5 -7
- metadata +24 -62
- data/lib/tax_jp/engine.rb +0 -4
- data/lib/tax_jp/railtie.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 854b81f9988e6485e08fd1cb4eb106be06105b7c
|
4
|
+
data.tar.gz: 8e08125e3d8d069d3d40f0bbb770bb17750a4133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4587da63c0df075c11fc488d95f2d0e53b2a3e7fc0cb3864f85f2911a44f28486376f354635ee6cb6a884e3e10217e0937c7b743b9b5dee8ae23a4fcba935dd2
|
7
|
+
data.tar.gz: 989f920686927131aff99f789dafce45968d80b3cec4b1ab4a56603a952bb1cb33cbb8e9f982b87e94549ece689ceae995c15bd9386bf9bda89ad0eb2c5b1a1c
|
data/Gemfile
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
require "bundler/gem_tasks"
|
2
|
-
|
2
|
+
require 'closer/tasks'
|
data/features/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
/reports/
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'tax_jp'
|
data/lib/tax_jp/version.rb
CHANGED
data/lib/tax_jp.rb
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
require 'tax_jp/version'
|
2
2
|
require 'tax_jp/const'
|
3
|
-
|
4
|
-
|
3
|
+
|
4
|
+
if defined?(Rails)
|
5
|
+
require 'tax_jp/rails/engine'
|
6
|
+
require 'tax_jp/rails/railtie'
|
7
|
+
end
|
5
8
|
|
6
9
|
module TaxJp
|
7
|
-
|
10
|
+
require 'tax_jp/consumption_tax'
|
11
|
+
extend TaxJp::ConsumptionTax
|
8
12
|
end
|
data/tax_jp.gemspec
CHANGED
@@ -7,10 +7,10 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.version = TaxJp::VERSION
|
8
8
|
spec.authors = ["ichy"]
|
9
9
|
spec.email = ["ichylinux@gmail.com"]
|
10
|
-
spec.summary = %q{
|
11
|
-
spec.description = %q{
|
12
|
-
spec.homepage =
|
13
|
-
spec.license =
|
10
|
+
spec.summary = %q{税金計算ライブラリ}
|
11
|
+
spec.description = %q{税金計算ライブラリ}
|
12
|
+
spec.homepage = 'https://github.com/hybitz/tax_jp'
|
13
|
+
spec.license = 'MIT'
|
14
14
|
|
15
15
|
spec.files = `git ls-files -z`.split("\x0")
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
@@ -20,8 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.required_ruby_version = '~> 2.0'
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.7"
|
23
|
-
spec.
|
24
|
-
spec.add_dependency "actionpack", '>= 3.2.0', '< 5.0.0'
|
25
|
-
spec.add_dependency "railties", '>= 3.2.0', '< 5.0.0'
|
23
|
+
spec.add_development_dependency "closer", "~> 0.0.1"
|
26
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tax_jp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ichy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,65 +25,19 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: closer
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 3.2.0
|
34
|
-
- - "<"
|
35
|
-
- !ruby/object:Gem::Version
|
36
|
-
version: 5.0.0
|
37
|
-
type: :runtime
|
38
|
-
prerelease: false
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 3.2.0
|
44
|
-
- - "<"
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 5.0.0
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: actionpack
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 3.2.0
|
54
|
-
- - "<"
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
version: 5.0.0
|
57
|
-
type: :runtime
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
requirements:
|
61
|
-
- - ">="
|
62
|
-
- !ruby/object:Gem::Version
|
63
|
-
version: 3.2.0
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 5.0.0
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: railties
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - ">="
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 3.2.0
|
74
|
-
- - "<"
|
31
|
+
- - "~>"
|
75
32
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
77
|
-
type: :
|
33
|
+
version: 0.0.1
|
34
|
+
type: :development
|
78
35
|
prerelease: false
|
79
36
|
version_requirements: !ruby/object:Gem::Requirement
|
80
37
|
requirements:
|
81
|
-
- - "
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: 3.2.0
|
84
|
-
- - "<"
|
38
|
+
- - "~>"
|
85
39
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
40
|
+
version: 0.0.1
|
87
41
|
- !ruby/object:Gem::Dependency
|
88
42
|
name: rake
|
89
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,7 +52,7 @@ dependencies:
|
|
98
52
|
- - "~>"
|
99
53
|
- !ruby/object:Gem::Version
|
100
54
|
version: '10.0'
|
101
|
-
description: "
|
55
|
+
description: "税金計算ライブラリ"
|
102
56
|
email:
|
103
57
|
- ichylinux@gmail.com
|
104
58
|
executables: []
|
@@ -112,14 +66,18 @@ files:
|
|
112
66
|
- Rakefile
|
113
67
|
- app/assets/javascripts/tax.js
|
114
68
|
- app/assets/javascripts/tax_jp.js
|
69
|
+
- features/.gitignore
|
70
|
+
- features/step_definitions/consumption_tax.rb
|
71
|
+
- features/support/env.rb
|
72
|
+
- features/消費税.feature
|
115
73
|
- lib/tax_jp.rb
|
116
|
-
- lib/tax_jp/calculation.rb
|
117
74
|
- lib/tax_jp/const.rb
|
118
|
-
- lib/tax_jp/
|
119
|
-
- lib/tax_jp/
|
75
|
+
- lib/tax_jp/consumption_tax.rb
|
76
|
+
- lib/tax_jp/rails/engine.rb
|
77
|
+
- lib/tax_jp/rails/railtie.rb
|
120
78
|
- lib/tax_jp/version.rb
|
121
79
|
- tax_jp.gemspec
|
122
|
-
homepage:
|
80
|
+
homepage: https://github.com/hybitz/tax_jp
|
123
81
|
licenses:
|
124
82
|
- MIT
|
125
83
|
metadata: {}
|
@@ -139,8 +97,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
97
|
version: '0'
|
140
98
|
requirements: []
|
141
99
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.4.
|
100
|
+
rubygems_version: 2.4.2
|
143
101
|
signing_key:
|
144
102
|
specification_version: 4
|
145
|
-
summary: "
|
146
|
-
test_files:
|
103
|
+
summary: "税金計算ライブラリ"
|
104
|
+
test_files:
|
105
|
+
- features/.gitignore
|
106
|
+
- features/step_definitions/consumption_tax.rb
|
107
|
+
- features/support/env.rb
|
108
|
+
- features/消費税.feature
|
data/lib/tax_jp/engine.rb
DELETED