simple_calcu 0.0.1 → 0.0.2
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 +4 -4
- data/README.md +8 -2
- data/lib/simple_calcu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9197bb0fc98096a8b94536be6031d8aa8c72e9a7
|
4
|
+
data.tar.gz: 5611ca1e85738c7e9d9e8844dba5cb2081de8c5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13859c6b22cbfdd1fc99e0b06a27df60d2f98dbebab12753b68d4e116766c78f341a1e740a3c6eaab334216c58574720704ab5f46323165ea072e15a06724d34
|
7
|
+
data.tar.gz: ca37dafdd2a5246bfad08190e95b8b113216a26df439890293b20dd65e0a223649403a78403a7b292342600b7654959b2bb30ab5aab7e7f40f29670b757d5f28
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# SimpleCalcu
|
2
2
|
|
3
|
-
|
3
|
+
Very simple calculator function for [my blog post][1]!
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -20,7 +20,10 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
```ruby
|
24
|
+
require 'simple_calcu'
|
25
|
+
SimpleCalcu::calculate(2, "+", 3)
|
26
|
+
```
|
24
27
|
|
25
28
|
## Contributing
|
26
29
|
|
@@ -29,3 +32,6 @@ TODO: Write usage instructions here
|
|
29
32
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
33
|
4. Push to the branch (`git push origin my-new-feature`)
|
31
34
|
5. Create a new Pull Request
|
35
|
+
|
36
|
+
|
37
|
+
[1]: http://ugur.ozyilmazel.com/blog/2014/09/23/rubygem-hazirliyoruz/
|
data/lib/simple_calcu/version.rb
CHANGED