simple_calcu 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9197bb0fc98096a8b94536be6031d8aa8c72e9a7
4
- data.tar.gz: 5611ca1e85738c7e9d9e8844dba5cb2081de8c5c
2
+ SHA256:
3
+ metadata.gz: 5c713ac4314b308b8204831cae38376c5b78628032abe7146b0d4788fb0e0c18
4
+ data.tar.gz: 9f7e80d3d45f7b71df07628e03c0744b6b4cbf344428c94f0291c8c1f7155a42
5
5
  SHA512:
6
- metadata.gz: 13859c6b22cbfdd1fc99e0b06a27df60d2f98dbebab12753b68d4e116766c78f341a1e740a3c6eaab334216c58574720704ab5f46323165ea072e15a06724d34
7
- data.tar.gz: ca37dafdd2a5246bfad08190e95b8b113216a26df439890293b20dd65e0a223649403a78403a7b292342600b7654959b2bb30ab5aab7e7f40f29670b757d5f28
6
+ metadata.gz: 1e28b4fef52901c8f10bce39dac082a71d545835850687743ad674ce4f1188ba21af64ee9af4d90a1b22790a5c31477181b712db23c365d14c8323aca2e0db3d
7
+ data.tar.gz: 5739a3e1953e81d85465fc4b07ed5e6a78c9430ae991382a1a6fd9cfcfb3874e937426366f1ea496b7a6944d284882a4fa5800bbdf02b5e480bbca23593d2c44
data/README.md CHANGED
@@ -1,10 +1,12 @@
1
+ [![Gem Version](https://badge.fury.io/rb/simple_calcu.svg)](http://badge.fury.io/rb/simple_calcu)
2
+
1
3
  # SimpleCalcu
2
4
 
3
5
  Very simple calculator function for [my blog post][1]!
4
6
 
5
7
  ## Installation
6
8
 
7
- Add this line to your application's Gemfile:
9
+ Add this line to your application's `Gemfile`:
8
10
 
9
11
  ```ruby
10
12
  gem 'simple_calcu'
@@ -12,11 +14,16 @@ gem 'simple_calcu'
12
14
 
13
15
  And then execute:
14
16
 
15
- $ bundle
17
+ ```bash
18
+ $ bundle config set path 'vendor/bundle'
19
+ $ bundle
20
+ ```
16
21
 
17
22
  Or install it yourself as:
18
23
 
19
- $ gem install simple_calcu
24
+ ```bash
25
+ $ gem install simple_calcu
26
+ ```
20
27
 
21
28
  ## Usage
22
29
 
@@ -27,11 +34,11 @@ SimpleCalcu::calculate(2, "+", 3)
27
34
 
28
35
  ## Contributing
29
36
 
30
- 1. Fork it ( https://github.com/[my-github-username]/simple_calcu/fork )
37
+ 1. Fork it ( https://github.com/vigo/simple_calcu/fork )
31
38
  2. Create your feature branch (`git checkout -b my-new-feature`)
32
39
  3. Commit your changes (`git commit -am 'Add some feature'`)
33
40
  4. Push to the branch (`git push origin my-new-feature`)
34
41
  5. Create a new Pull Request
35
42
 
36
43
 
37
- [1]: http://ugur.ozyilmazel.com/blog/2014/09/23/rubygem-hazirliyoruz/
44
+ [1]: https://ugur.ozyilmazel.com/blog/tr/2014/09/23/rubygem-hazirliyoruz/
@@ -1,4 +1,4 @@
1
1
  module SimpleCalcu
2
2
  # The current version of SimpleCalcu
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.6"
22
- spec.add_development_dependency "rake", "~> 10.0"
23
- spec.add_development_dependency "minitest"
21
+ spec.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.4'
22
+ spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
23
+ spec.add_development_dependency 'minitest', '~> 5.14'
24
24
  end
@@ -24,7 +24,7 @@ class CalculatorTest < Minitest::Test
24
24
  assert_equal 5, SimpleCalcu::calculate(2, "+", 3)
25
25
  assert_equal 8, SimpleCalcu::calculate(5, "+", 3)
26
26
  assert_equal 2, SimpleCalcu::calculate(5, "-", 3)
27
- assert_equal -1, SimpleCalcu::calculate(0, "-", 1)
27
+ assert_equal (-1), SimpleCalcu::calculate(0, "-", 1)
28
28
  assert_equal 25, SimpleCalcu::calculate(5, "*", 5)
29
29
  assert_equal 44, SimpleCalcu::calculate(2, "*", 22)
30
30
  assert_equal 2, SimpleCalcu::calculate(4, "/", 2)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calcu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Uğur Özyılmazel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-23 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,42 +16,54 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.6'
19
+ version: '2.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.1.4
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.6'
29
+ version: '2.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.1.4
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '10.0'
39
+ version: '13.0'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 13.0.1
34
43
  type: :development
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - "~>"
39
48
  - !ruby/object:Gem::Version
40
- version: '10.0'
49
+ version: '13.0'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 13.0.1
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: minitest
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - ">="
57
+ - - "~>"
46
58
  - !ruby/object:Gem::Version
47
- version: '0'
59
+ version: '5.14'
48
60
  type: :development
49
61
  prerelease: false
50
62
  version_requirements: !ruby/object:Gem::Requirement
51
63
  requirements:
52
- - - ">="
64
+ - - "~>"
53
65
  - !ruby/object:Gem::Version
54
- version: '0'
66
+ version: '5.14'
55
67
  description: Make 4 basic calculations like addition/subtraction/multiplication and
56
68
  division via 2 numbers.
57
69
  email:
@@ -88,8 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
100
  - !ruby/object:Gem::Version
89
101
  version: '0'
90
102
  requirements: []
91
- rubyforge_project:
92
- rubygems_version: 2.2.2
103
+ rubygems_version: 3.0.3
93
104
  signing_key:
94
105
  specification_version: 4
95
106
  summary: Simple Calculator.