minting 1.6.3 → 1.7.0

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: 66e576bf9b9ddb1ff390e5e5ecda0f73800b3ab8577baec9b03cc6f9962915d3
4
- data.tar.gz: f43875174cd1ab47a0da044e4f877dd6618f5850e363d1f505484a6874346f7e
3
+ metadata.gz: 005a740f595e3f1b579b2108feb4cd742706588a75b1df41179775d311fb002e
4
+ data.tar.gz: b1c2d55e378cca46adde3e6edd7253bb0914707768c19fd00e568288921540ff
5
5
  SHA512:
6
- metadata.gz: 586c212f24ddfac8b7fb2a619aac93d02af67588c05d2ff222aca680970b80b3aa65998e175d68250d0352843794feee751dcd5da1edb7965318079bbf21d9ab
7
- data.tar.gz: b289c844b36dc08099f1ae3ea963ef689e6cd876060d372e185a7f10cd1f3a0f6ec59ae943aacc03598becd869eb00a0402ecebad02d175e1070d3817d13b770
6
+ metadata.gz: 48f40d6cceeb16d9ffc357297dae0961ba0473f4d9ed1271ac6e144a0a468b42dd8a553b661485317eba56d88665b08b1302c4620af1a58bb6f07ab9aa996da3
7
+ data.tar.gz: bc77e69b3e39d3bde0ebb47e60bb1225d0a9062e2a1f201924c3e32924ad65711c28ef492ac4c5d63b06bb376510d07e7d2d69a3efbc17805e89d703c3c15812
data/README.md CHANGED
@@ -16,6 +16,11 @@ Fast, precise, and developer-friendly money handling for Ruby.
16
16
 
17
17
  **Rails**? Use the [minting-rails](https://github.com/gferraz/minting-rails) companion gem
18
18
 
19
+ ## Resources
20
+
21
+ - [API Documentation](https://www.rubydoc.info/gems/minting/frames)
22
+ - [Git Repository](https://github.com/gferraz/minting)
23
+
19
24
  ## Quick start
20
25
 
21
26
  ```ruby
@@ -245,9 +250,9 @@ Mint.parse('USD 1,234.56') #=> [USD 1234.56]
245
250
 
246
251
  ## Roadmap
247
252
 
248
- - Improve formatting features
253
+ - Add support to configure thousand and decimal separators in parse (evaluating)
249
254
  - Localization (I18n-aware formatting)
250
- - Basic exchange-rate conversions
255
+ - Basic exchange-rate conversions - infrastructure only, not integrations yet
251
256
 
252
257
  ## Contributing
253
258
 
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
+ require 'bundler/audit/task'
1
2
  require 'bundler/gem_tasks'
2
- require 'rubocop/rake_task'
3
3
  require 'rake/testtask'
4
+ require 'rubocop/rake_task'
5
+ require 'rubycritic/rake_task'
4
6
  require 'yard'
5
7
 
6
8
  CLOBBER.include %w[doc/css doc/js doc/Mint doc/*.html tmp .yardoc]
@@ -37,11 +39,19 @@ Rake::TestTask.new('bench:competitive') do |t|
37
39
  t.pattern = 'test/performance/competitive/**/*_benchmark.rb'
38
40
  end
39
41
 
40
- RuboCop::RakeTask.new(:cop)
42
+ Bundler::Audit::Task.new
43
+
44
+ RuboCop::RakeTask.new(:cop) do |task|
45
+ task.patterns = ['lib']
46
+ end
47
+
48
+ RubyCritic::RakeTask.new do |task|
49
+ task.name = 'critic'
50
+ end
41
51
 
42
52
  YARD::Rake::YardocTask.new do |t|
43
53
  t.files = ['lib/**/*.rb']
44
- t.options = ['-o doc/api'] # Place the documentos in doc/api
54
+ #t.options = ['-o doc'] # Place the documentos in doc/api
45
55
  t.stats_options = ['--list-undoc']
46
56
  end
47
57