administrate-field-money 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -5
- data/Gemfile.lock +59 -59
- data/README.md +3 -3
- data/administrate-field-money.gemspec +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d019a3d8bd83c4de0fa864da3788da9c9f22e9bf
|
4
|
+
data.tar.gz: 3a7743ad9870ca545946724078195bb708190712
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2cb7dc9c826307c1ef58565bb834afc456401465bbfd289e0bdddb7e77d083482d9bd6aa350a18cfb7a40623c4852b6ed68f1dc2750bb06801e51d97168bd2
|
7
|
+
data.tar.gz: ca89fee908fbb2ad57da9d1bf79bd487d58b991c77ed97a039028a1cb923597741244fa655aa99c8bd5475d3fde634617341afbb2c364a1f7ebf1239653ccd20
|
data/CHANGELOG.md
CHANGED
@@ -1,16 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [v0.0.
|
4
|
-
[Full Changelog](https://github.com/
|
3
|
+
## [v0.0.4](https://github.com/zooppa/administrate-field-money/tree/v0.0.4) (2017-03-20)
|
4
|
+
[Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.3...v0.0.4)
|
5
5
|
|
6
6
|
* Bump up Administrate dependency
|
7
7
|
|
8
|
-
## [v0.0.
|
9
|
-
[Full Changelog](https://github.com/
|
8
|
+
## [v0.0.3](https://github.com/zooppa/administrate-field-money/tree/v0.0.3) (2016-11-22)
|
9
|
+
[Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.2...v0.0.3)
|
10
|
+
|
11
|
+
* Bump up Administrate dependency
|
12
|
+
|
13
|
+
## [v0.0.2](https://github.com/zooppa/administrate-field-money/tree/v0.0.2) (2016-11-14)
|
14
|
+
[Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.1...v0.0.2)
|
10
15
|
|
11
16
|
**Implemented enhancements**:
|
12
17
|
|
13
18
|
* Allow customization of symbol, delimiter and separator via options
|
14
19
|
|
15
|
-
## [v0.0.1](https://github.com/
|
20
|
+
## [v0.0.1](https://github.com/zooppa/administrate-field-money/tree/v0.0.1) (2016-11-11)
|
16
21
|
First release
|
data/Gemfile.lock
CHANGED
@@ -1,52 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
administrate-field-money (0.0.
|
5
|
-
administrate (~> 0.
|
4
|
+
administrate-field-money (0.0.4)
|
5
|
+
administrate (~> 0.4.0)
|
6
6
|
money (~> 6.7)
|
7
7
|
rails (>= 4.2)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (5.0.
|
13
|
-
actionpack (= 5.0.
|
14
|
-
nio4r (
|
12
|
+
actioncable (5.0.2)
|
13
|
+
actionpack (= 5.0.2)
|
14
|
+
nio4r (>= 1.2, < 3.0)
|
15
15
|
websocket-driver (~> 0.6.1)
|
16
|
-
actionmailer (5.0.
|
17
|
-
actionpack (= 5.0.
|
18
|
-
actionview (= 5.0.
|
19
|
-
activejob (= 5.0.
|
16
|
+
actionmailer (5.0.2)
|
17
|
+
actionpack (= 5.0.2)
|
18
|
+
actionview (= 5.0.2)
|
19
|
+
activejob (= 5.0.2)
|
20
20
|
mail (~> 2.5, >= 2.5.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
|
-
actionpack (5.0.
|
23
|
-
actionview (= 5.0.
|
24
|
-
activesupport (= 5.0.
|
22
|
+
actionpack (5.0.2)
|
23
|
+
actionview (= 5.0.2)
|
24
|
+
activesupport (= 5.0.2)
|
25
25
|
rack (~> 2.0)
|
26
26
|
rack-test (~> 0.6.3)
|
27
27
|
rails-dom-testing (~> 2.0)
|
28
28
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
29
|
-
actionview (5.0.
|
30
|
-
activesupport (= 5.0.
|
29
|
+
actionview (5.0.2)
|
30
|
+
activesupport (= 5.0.2)
|
31
31
|
builder (~> 3.1)
|
32
32
|
erubis (~> 2.7.0)
|
33
33
|
rails-dom-testing (~> 2.0)
|
34
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
35
|
-
activejob (5.0.
|
36
|
-
activesupport (= 5.0.
|
34
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
35
|
+
activejob (5.0.2)
|
36
|
+
activesupport (= 5.0.2)
|
37
37
|
globalid (>= 0.3.6)
|
38
|
-
activemodel (5.0.
|
39
|
-
activesupport (= 5.0.
|
40
|
-
activerecord (5.0.
|
41
|
-
activemodel (= 5.0.
|
42
|
-
activesupport (= 5.0.
|
38
|
+
activemodel (5.0.2)
|
39
|
+
activesupport (= 5.0.2)
|
40
|
+
activerecord (5.0.2)
|
41
|
+
activemodel (= 5.0.2)
|
42
|
+
activesupport (= 5.0.2)
|
43
43
|
arel (~> 7.0)
|
44
|
-
activesupport (5.0.
|
44
|
+
activesupport (5.0.2)
|
45
45
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
46
46
|
i18n (~> 0.7)
|
47
47
|
minitest (~> 5.1)
|
48
48
|
tzinfo (~> 1.1)
|
49
|
-
administrate (0.
|
49
|
+
administrate (0.4.0)
|
50
50
|
autoprefixer-rails (~> 6.0)
|
51
51
|
bourbon (~> 4.2)
|
52
52
|
datetime_picker_rails (~> 0.0.7)
|
@@ -59,21 +59,21 @@ GEM
|
|
59
59
|
sass-rails (~> 5.0)
|
60
60
|
selectize-rails (~> 0.6)
|
61
61
|
arel (7.1.4)
|
62
|
-
autoprefixer-rails (6.
|
62
|
+
autoprefixer-rails (6.7.7)
|
63
63
|
execjs
|
64
|
-
bourbon (4.
|
64
|
+
bourbon (4.3.3)
|
65
65
|
sass (~> 3.4)
|
66
66
|
thor (~> 0.19)
|
67
|
-
builder (3.2.
|
68
|
-
concurrent-ruby (1.0.
|
67
|
+
builder (3.2.3)
|
68
|
+
concurrent-ruby (1.0.5)
|
69
69
|
datetime_picker_rails (0.0.7)
|
70
70
|
momentjs-rails (>= 2.8.1)
|
71
71
|
erubis (2.7.0)
|
72
72
|
execjs (2.7.0)
|
73
73
|
globalid (0.3.7)
|
74
74
|
activesupport (>= 4.1.0)
|
75
|
-
i18n (0.
|
76
|
-
jquery-rails (4.2.
|
75
|
+
i18n (0.8.1)
|
76
|
+
jquery-rails (4.2.2)
|
77
77
|
rails-dom-testing (>= 1, < 3)
|
78
78
|
railties (>= 4.2.0)
|
79
79
|
thor (>= 0.14, < 2.0)
|
@@ -89,47 +89,47 @@ GEM
|
|
89
89
|
mime-types-data (~> 3.2015)
|
90
90
|
mime-types-data (3.2016.0521)
|
91
91
|
mini_portile2 (2.1.0)
|
92
|
-
minitest (5.
|
93
|
-
momentjs-rails (2.
|
92
|
+
minitest (5.10.1)
|
93
|
+
momentjs-rails (2.17.1)
|
94
94
|
railties (>= 3.1)
|
95
|
-
money (6.
|
96
|
-
i18n (>= 0.6.4,
|
95
|
+
money (6.8.2)
|
96
|
+
i18n (>= 0.6.4, < 0.9)
|
97
97
|
sixarm_ruby_unaccent (>= 1.1.1, < 2)
|
98
98
|
neat (1.8.0)
|
99
99
|
sass (>= 3.3)
|
100
100
|
thor (~> 0.19)
|
101
|
-
nio4r (
|
102
|
-
nokogiri (1.
|
101
|
+
nio4r (2.0.0)
|
102
|
+
nokogiri (1.7.1)
|
103
103
|
mini_portile2 (~> 2.1.0)
|
104
104
|
normalize-rails (3.0.3)
|
105
105
|
rack (2.0.1)
|
106
106
|
rack-test (0.6.3)
|
107
107
|
rack (>= 1.0)
|
108
|
-
rails (5.0.
|
109
|
-
actioncable (= 5.0.
|
110
|
-
actionmailer (= 5.0.
|
111
|
-
actionpack (= 5.0.
|
112
|
-
actionview (= 5.0.
|
113
|
-
activejob (= 5.0.
|
114
|
-
activemodel (= 5.0.
|
115
|
-
activerecord (= 5.0.
|
116
|
-
activesupport (= 5.0.
|
108
|
+
rails (5.0.2)
|
109
|
+
actioncable (= 5.0.2)
|
110
|
+
actionmailer (= 5.0.2)
|
111
|
+
actionpack (= 5.0.2)
|
112
|
+
actionview (= 5.0.2)
|
113
|
+
activejob (= 5.0.2)
|
114
|
+
activemodel (= 5.0.2)
|
115
|
+
activerecord (= 5.0.2)
|
116
|
+
activesupport (= 5.0.2)
|
117
117
|
bundler (>= 1.3.0, < 2.0)
|
118
|
-
railties (= 5.0.
|
118
|
+
railties (= 5.0.2)
|
119
119
|
sprockets-rails (>= 2.0.0)
|
120
|
-
rails-dom-testing (2.0.
|
120
|
+
rails-dom-testing (2.0.2)
|
121
121
|
activesupport (>= 4.2.0, < 6.0)
|
122
|
-
nokogiri (~> 1.6
|
122
|
+
nokogiri (~> 1.6)
|
123
123
|
rails-html-sanitizer (1.0.3)
|
124
124
|
loofah (~> 2.0)
|
125
|
-
railties (5.0.
|
126
|
-
actionpack (= 5.0.
|
127
|
-
activesupport (= 5.0.
|
125
|
+
railties (5.0.2)
|
126
|
+
actionpack (= 5.0.2)
|
127
|
+
activesupport (= 5.0.2)
|
128
128
|
method_source
|
129
129
|
rake (>= 0.8.7)
|
130
130
|
thor (>= 0.18.1, < 2.0)
|
131
|
-
rake (
|
132
|
-
sass (3.4.
|
131
|
+
rake (12.0.0)
|
132
|
+
sass (3.4.23)
|
133
133
|
sass-rails (5.0.6)
|
134
134
|
railties (>= 4.0.0, < 6)
|
135
135
|
sass (~> 3.1)
|
@@ -138,19 +138,19 @@ GEM
|
|
138
138
|
tilt (>= 1.1, < 3)
|
139
139
|
selectize-rails (0.12.4)
|
140
140
|
sixarm_ruby_unaccent (1.1.1)
|
141
|
-
sprockets (3.7.
|
141
|
+
sprockets (3.7.1)
|
142
142
|
concurrent-ruby (~> 1.0)
|
143
143
|
rack (> 1, < 3)
|
144
144
|
sprockets-rails (3.2.0)
|
145
145
|
actionpack (>= 4.0)
|
146
146
|
activesupport (>= 4.0)
|
147
147
|
sprockets (>= 3.0.0)
|
148
|
-
thor (0.19.
|
149
|
-
thread_safe (0.3.
|
150
|
-
tilt (2.0.
|
148
|
+
thor (0.19.4)
|
149
|
+
thread_safe (0.3.6)
|
150
|
+
tilt (2.0.7)
|
151
151
|
tzinfo (1.2.2)
|
152
152
|
thread_safe (~> 0.1)
|
153
|
-
websocket-driver (0.6.
|
153
|
+
websocket-driver (0.6.5)
|
154
154
|
websocket-extensions (>= 0.1.0)
|
155
155
|
websocket-extensions (0.1.2)
|
156
156
|
|
@@ -161,4 +161,4 @@ DEPENDENCIES
|
|
161
161
|
administrate-field-money!
|
162
162
|
|
163
163
|
BUNDLED WITH
|
164
|
-
1.
|
164
|
+
1.14.6
|
data/README.md
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# Administrate::Field::Money
|
2
2
|
|
3
|
-
[![Code Climate](https://codeclimate.com/github/
|
3
|
+
[![Code Climate](https://codeclimate.com/github/zooppa/administrate-field-money/badges/gpa.svg)](https://codeclimate.com/github/zooppa/administrate-field-money)
|
4
4
|
|
5
5
|
A plugin to deal with money in [Administrate], with the help of [Money] gem.
|
6
6
|
|
7
7
|
**Attribute must be in cents**.
|
8
8
|
|
9
|
-
![Demo](https://raw.githubusercontent.com/
|
9
|
+
![Demo](https://raw.githubusercontent.com/zooppa/administrate-field-money/master/demo.gif)
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
13
13
|
Add it to your `Gemfile`:
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
gem 'administrate-field-money', '~> 0.0.
|
16
|
+
gem 'administrate-field-money', '~> 0.0.4'
|
17
17
|
```
|
18
18
|
|
19
19
|
Run:
|
@@ -2,10 +2,10 @@ $:.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.0.
|
5
|
+
gem.version = '0.0.4'
|
6
6
|
gem.authors = ['Michele Gerarduzzi']
|
7
7
|
gem.email = ['michele.gerarduzzi@gmail.com']
|
8
|
-
gem.homepage = 'https://github.com/
|
8
|
+
gem.homepage = 'https://github.com/zooppa/administrate-field-money'
|
9
9
|
gem.summary = 'A plugin to deal with money in Administrate'
|
10
10
|
gem.description = gem.summary
|
11
11
|
gem.license = 'MIT'
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.files = `git ls-files`.split("\n")
|
15
15
|
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
|
17
|
-
gem.add_runtime_dependency 'administrate', '~> 0.
|
17
|
+
gem.add_runtime_dependency 'administrate', '~> 0.4.0'
|
18
18
|
gem.add_runtime_dependency 'rails', '>= 4.2'
|
19
19
|
gem.add_runtime_dependency 'money', '~> 6.7'
|
20
20
|
end
|
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.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michele Gerarduzzi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: administrate
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,7 +73,7 @@ files:
|
|
73
73
|
- demo.gif
|
74
74
|
- lib/administrate/field/money.rb
|
75
75
|
- vendor/assets/javascripts/jquery.maskMoney.min.js
|
76
|
-
homepage: https://github.com/
|
76
|
+
homepage: https://github.com/zooppa/administrate-field-money
|
77
77
|
licenses:
|
78
78
|
- MIT
|
79
79
|
metadata: {}
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
95
|
rubyforge_project:
|
96
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.6.8
|
97
97
|
signing_key:
|
98
98
|
specification_version: 4
|
99
99
|
summary: A plugin to deal with money in Administrate
|