administrate-field-money 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.ruby-version +1 -1
- data/.travis.yml +4 -0
- data/CHANGELOG.md +6 -0
- data/README.md +4 -2
- data/administrate-field-money.gemspec +4 -4
- data/lib/administrate/field/money.rb +1 -0
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9b02dd1095718a20d3ac37c8ca00487dde42cd0f94c1b8ff0902f077dc2e314
|
4
|
+
data.tar.gz: ba13159d0436857e7f2476d97b293091cefcf1c108a8756585783e68d9a4db7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 508173910ca89f5dc9578d8b43226e25d85976759dea646a14d8b3530514304f3e082786b1445ae3adaeb1eae6f4080c91c7f2f3bf5db29d70ca35dda321811f
|
7
|
+
data.tar.gz: 32e02fd23d86dcaae4f1cc44999bbf8ae016b07e5e53b115fdb258213f94d4a7585c8277485cb12029cfda008cdd40582c92b522577bad8bb60156b7cc122f82
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.6.2
|
data/.travis.yml
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
language: ruby
|
2
|
+
notifications:
|
3
|
+
slack:
|
4
|
+
secure: NzFaI5WiDMGRT3hhTyq7j8LQBnE5Kjc8iPxplVRlqrCs/Dx6DyKlfQIPaekrEci/epd/0bo8sqBn6ahl+/hcVMEBIFb/VazdwfNr/yk0mpIX/dmvzpsoSskbGKNKdrQ+GDxTey+jsVX+i5AF9b1uGJARcbAyIr3hCmOXtj3ww5onmGt9jY/KF4Aloi7ZO7fh+zevqa9KD/hDmobUbTFU/KiEzvnY4WNeT7NZEQmPyLk22bzDTPtfANVLr6C0EcaNRFWGbuI4a+DIBG/7vAUt6CsVljYsFVo3Y9BjSi+kA0we3Hheh82bADDRWqCmmjCIrZX6XvCgxX6Mjp7MAi9c7ZCberN5DNLQhkNEbSLEbl9XqfZ/6bMxcJkjXVS5CtnGATRsRaXsVEgsmkMrbXIMtVlMFvXGNSci1j3/AwZ5NoprQaRhwp9atFI0IttN5AaWE1pdvV4F5fSyl9cb9dbs9ydw0/iMrenLIJ4wFhG34fkAgl8CF/oVTwErnhBePi/3YQR8Ati42I4EQN3mVeWhJeLp6XwrUuSqX5broSyamvsl8F/eTxAGF6LC4qD4ppU1ChPSQkX9YsBDDdOSG6ODoq9/wDkMEYIlIUQZ+t4W8uAYlwhv/NWrsgMwfFIKm8OzGzZWA93jVwgUU7zZYRSForkdn2EDvLhg0YDCL8GsWmk=
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v0.1.2](https://github.com/zooppa/administrate-field-money/tree/v0.1.2) (2019-04-15)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.1.1...v0.1.2)
|
6
|
+
|
7
|
+
* Require `money` gem (thanks @iamnader)
|
8
|
+
|
3
9
|
## [v0.1.1](https://github.com/zooppa/administrate-field-money/tree/v0.1.1) (2018-10-11)
|
4
10
|
|
5
11
|
[Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.1.0...v0.1.1)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Administrate::Field::Money
|
2
2
|
|
3
|
-
[![Build Status](https://
|
3
|
+
[![Build Status](https://travis-ci.com/zooppa/administrate-field-money.svg?branch=master)](https://travis-ci.com/zooppa/administrate-field-money)
|
4
4
|
[![Code Climate](https://codeclimate.com/github/zooppa/administrate-field-money/badges/gpa.svg)](https://codeclimate.com/github/zooppa/administrate-field-money)
|
5
5
|
|
6
6
|
A plugin to deal with money in [Administrate], with the help of [Money] gem.
|
@@ -13,7 +13,7 @@ number of cents, with a name ending in `_cents`**.
|
|
13
13
|
Add it to your `Gemfile`:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem 'administrate-field-money', '~> 0.1.
|
16
|
+
gem 'administrate-field-money', '~> 0.1.2'
|
17
17
|
```
|
18
18
|
|
19
19
|
Run:
|
@@ -43,6 +43,8 @@ The field will figure out the appropriate thousand separator and decimal delimit
|
|
43
43
|
|
44
44
|
Administrate::Field::Money is maintained by [Zooppa].
|
45
45
|
|
46
|
+
See also the list of [contributors](https://github.com/zooppa/administrate-field-money/contributors) who participated in this project.
|
47
|
+
|
46
48
|
[administrate]: https://github.com/thoughtbot/administrate
|
47
49
|
[money]: https://github.com/RubyMoney/money
|
48
50
|
[zooppa]: https://www.zooppa.com/
|
@@ -2,9 +2,9 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'administrate-field-money'
|
5
|
-
gem.version = '0.1.
|
6
|
-
gem.authors = ['
|
7
|
-
gem.email = ['
|
5
|
+
gem.version = '0.1.2'
|
6
|
+
gem.authors = ['Zooppa']
|
7
|
+
gem.email = ['dev@zooppa.com']
|
8
8
|
gem.homepage = 'https://github.com/zooppa/administrate-field-money'
|
9
9
|
gem.summary = 'Money field plugin for Administrate'
|
10
10
|
gem.description = 'A plugin to deal with money in Administrate'
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
|
17
17
|
gem.add_runtime_dependency 'administrate', '< 1.0.0'
|
18
18
|
gem.add_runtime_dependency 'rails', '>= 4.2', '< 6'
|
19
|
-
gem.add_runtime_dependency 'money', '~> 6'
|
19
|
+
gem.add_runtime_dependency 'money', '~> 6.13'
|
20
20
|
|
21
21
|
gem.add_development_dependency 'rake', '~> 12.3'
|
22
22
|
gem.add_development_dependency 'rspec', '~> 3.7'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: administrate-field-money
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Zooppa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '6'
|
53
|
+
version: '6.13'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '6'
|
60
|
+
version: '6.13'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rake
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,7 +88,7 @@ dependencies:
|
|
88
88
|
version: '3.7'
|
89
89
|
description: A plugin to deal with money in Administrate
|
90
90
|
email:
|
91
|
-
-
|
91
|
+
- dev@zooppa.com
|
92
92
|
executables: []
|
93
93
|
extensions: []
|
94
94
|
extra_rdoc_files: []
|
@@ -96,6 +96,7 @@ files:
|
|
96
96
|
- ".gitignore"
|
97
97
|
- ".rspec"
|
98
98
|
- ".ruby-version"
|
99
|
+
- ".travis.yml"
|
99
100
|
- CHANGELOG.md
|
100
101
|
- Gemfile
|
101
102
|
- LICENSE.md
|
@@ -130,8 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
131
|
- !ruby/object:Gem::Version
|
131
132
|
version: '0'
|
132
133
|
requirements: []
|
133
|
-
|
134
|
-
rubygems_version: 2.7.7
|
134
|
+
rubygems_version: 3.0.3
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Money field plugin for Administrate
|