concurrency 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
  SHA1:
3
- metadata.gz: 7df2caa71048beec9ff2e2181d7b3b77e29e26dd
4
- data.tar.gz: f4d61cd340400ffb48c39fe24f242034a2f3ceb8
3
+ metadata.gz: 1ed83f318b807a88fb5036d8cd669b3d6a2f074a
4
+ data.tar.gz: 9e0faff446eb3c76fdee5c914e4461abf993055b
5
5
  SHA512:
6
- metadata.gz: 7cf48398c8a7a144fa296be0f0e359ec75efa47dcd2679bdd10052a6d7b08c9b31f7f1b0aff9c7b6a4869236a83ef7f8d97960d02205388da43f466d906c6564
7
- data.tar.gz: c0b065a04bd15d567b8c364e81380470510cbb2a82d6d7322eab2ed171202014167e714ade7412ea0f736d9a99b6d50c078bb2cd6487a9b307b5fd4fadd30da9
6
+ metadata.gz: abcdab96aedcdabcdfaef71d4f49938e11a8599bca8629fd6aa7aa96e5039dab15b1ab9ba8ca81c2e8055388c6e5736af8f3d2ab8594aaed61f2b4334d70a700
7
+ data.tar.gz: 080a7a30ce8325401c7e16bc882edccc3a0677ec66a8a8c5912b59257b4d759029cce9578bf2be917eb901dd5fd9201f7f69a678015dd0d411ab80cefbfbe343
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Concurrency
2
2
 
3
- Concurrency is a lightweight gem that can be deployed for foreign exchange and currency conversion operation complying the latest rates (provided by the fixer.io API)
3
+ Concurrency is a lightweight gem that can be deployed for foreign exchange and currency conversion operation complying the latest rates (provided by the [fixer.io](fixer.io) API)
4
4
 
5
5
  ## Features
6
6
 
@@ -38,7 +38,7 @@ This gem can implement the currency conversion operation for the following natio
38
38
  "USD" - United States Dollar,
39
39
  "ZAR" - South African Rand,
40
40
 
41
- This app requires JSON. If you're using JRuby < 1.7.0 you'll need to add gem "json" to your Gemfile or similar.
41
+ This gem requires JSON. If you're using JRuby < 1.7.0 you'll need to add gem "json" to your Gemfile or similar.
42
42
 
43
43
  ## Installation
44
44
 
@@ -58,15 +58,15 @@ Or install it yourself as:
58
58
 
59
59
  ## Usage
60
60
 
61
- require 'concurrency'
62
- ...
63
-
61
+ You may use the following functions in your Models, Controllers or Views
62
+
64
63
  ```ruby
65
64
  Concurrency.convert(ORIGINAL_VALUE, ORIGINAL_CURRENCY, FINAL_CURRENCY)
66
65
  ```
67
66
 
68
67
  ```ruby
69
68
  Concurrency.convert(100, "NZD", "INR") # would convert 100 New Zealand Dollars to Indian Rupees
69
+ <%= Concurrency.convert(100, "NZD", "INR") %>
70
70
  ```
71
71
 
72
72
  ```ruby
@@ -1,3 +1,3 @@
1
1
  module Concurrency
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concurrency
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
  - Naman Wadhwa