jptax 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65f3dd74e5d6b80265b874608acf9f783750b2cdf867aae08c0137ff5136c956
4
- data.tar.gz: 697a67b561d93722e607bba999222ac6499d23b9780718e2386c4856ec478c18
3
+ metadata.gz: 2b988ae4b21478bbe36fb76183d6f87427c5e62756033f0f018e19e507258a40
4
+ data.tar.gz: c7b089591c549a40dacda6b2f0ef60237193666f5e494654f9c1e61a1eb54659
5
5
  SHA512:
6
- metadata.gz: 12e4743219bdfefac344512cd79644ff4abae3b8f7bf065fe09245ad28fc49f613d93009ddcb0bf313cbf88bcb5712fe7c4ca2398893ec5ea50beab2d7fdc613
7
- data.tar.gz: 40f2cc98f0f556d537459624afd3c7faf976ae33cd8673ca885c1921955efcaa2c78f7d1d6c62726083b58c1929ebbaea53f6a92302ee8878d8aeb4ff19a1301
6
+ metadata.gz: 1bd413d43164984614a328b2d36ab2479d6375382146cd4ef024e2b61a5ccfe375cdc0cab4e3068eb52df39efd38cad567fae8dcc32f970ac9996688c15961f8
7
+ data.tar.gz: 707a6d2c165e0145f29cb74502e5c8c0838758e95f3a422b53837b03aecf8c01e9076fd5dc9843015f8749cb6ad04e7e0d33e65a2b9f4318bbb04f5a192aa17a
data/CODE_OF_CONDUCT.md CHANGED
@@ -5,9 +5,9 @@
5
5
  In the interest of fostering an open and welcoming environment, we as
6
6
  contributors and maintainers pledge to making participation in our project and
7
7
  our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
11
 
12
12
  ## Our Standards
13
13
 
@@ -23,13 +23,13 @@ include:
23
23
  Examples of unacceptable behavior by participants include:
24
24
 
25
25
  * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
26
+ advances
27
27
  * Trolling, insulting/derogatory comments, and personal or political attacks
28
28
  * Public or private harassment
29
29
  * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
30
+ address, without explicit permission
31
31
  * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
32
+ professional setting
33
33
 
34
34
  ## Our Responsibilities
35
35
 
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at kei.h.hayashi@gmail.com. All
58
+ reported by contacting the project team at . All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
@@ -68,7 +68,9 @@ members of the project's leadership.
68
68
  ## Attribution
69
69
 
70
70
  This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
72
 
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jptax (0.1.0)
4
+ jptax (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -55,4 +55,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
55
55
 
56
56
  ## Code of Conduct
57
57
 
58
- Everyone interacting in the Jptax project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tomoeine/jptax/blob/master/git .md).
58
+ Everyone interacting in the Jptax project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tomoeine/jptax/blob/master/CODE_OF_CONDUCT.md).
data/lib/jptax/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jptax
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
data/lib/jptax.rb CHANGED
@@ -2,7 +2,7 @@ require 'jptax/version'
2
2
 
3
3
  module Jptax
4
4
  def amount_with_tax(amount=0, amount_for_reduced=0)
5
- (amount * 1.1 + amount_for_reduced * 1.08).floor
5
+ (amount.to_i * 1.1 + amount_for_reduced.to_i * 1.08).floor
6
6
  end
7
7
 
8
8
  module_function :amount_with_tax
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jptax
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomoeine
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-22 00:00:00.000000000 Z
11
+ date: 2020-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler