administrate-field-money 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f1f82ffeea29422652064a2123eb5cf7aa3a27bb
4
- data.tar.gz: 668b5225bae65c081c16ee21bc21ba2ddb7ed587
2
+ SHA256:
3
+ metadata.gz: ec3c5ec2ef19074866c5e57896588510cc75f02da829250ff15b08ca820bb6df
4
+ data.tar.gz: b3227940894385e6ba5eb6c5eaf57b34f09477161e64dafe221117115f7fe8ce
5
5
  SHA512:
6
- metadata.gz: acce5209e8e4d0d776d81278b7089f9eb7511f835c7ec32e728f77e42eda951975d3c8978c9eb0610598a0fc4f29badc5e8b6c6188bc3ff1f81d6b5742644189
7
- data.tar.gz: b240a7f451766f00168039ab01301a60a2474c93497f00260164d8c19fac98846253fb723f2626ab61d596c14d3affce08d3bb92b60e545ad5d30c2570518721
6
+ metadata.gz: a43e143d31706668b58631c9cff5a549347b3eb0a649777a2bfbaae13d7fd6fc2ad6059ce5f1165d6ec5d2e6b940c2716a25a3f05d2b686d3acf2b1c246377db
7
+ data.tar.gz: e2c55340da2d34038f7ebc575ffd02bb2db9ef21008ea3278fee927a2d1d4e3e671349338d88f9ee7b6667e8cb06a145e3a9e559882bf195a23291d60153e74d
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  *.gem
2
+ Gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/CHANGELOG.md CHANGED
@@ -1,26 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.1.0](https://github.com/zooppa/administrate-field-money/tree/v0.1.0) (2018-03-06)
4
+
5
+ [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.6...v0.1.0)
6
+
7
+ * Use smarter defaults (thanks @serradura)
8
+
3
9
  ## [v0.0.6](https://github.com/zooppa/administrate-field-money/tree/v0.0.6) (2017-08-01)
10
+
4
11
  [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.5...v0.0.6)
5
12
 
6
13
  * Upgrade money gem
7
14
 
8
15
  ## [v0.0.5](https://github.com/zooppa/administrate-field-money/tree/v0.0.5) (2017-04-03)
16
+
9
17
  [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.4...v0.0.5)
10
18
 
11
19
  * Bump up Administrate dependency
12
20
 
13
21
  ## [v0.0.4](https://github.com/zooppa/administrate-field-money/tree/v0.0.4) (2017-03-20)
22
+
14
23
  [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.3...v0.0.4)
15
24
 
16
25
  * Bump up Administrate dependency
17
26
 
18
27
  ## [v0.0.3](https://github.com/zooppa/administrate-field-money/tree/v0.0.3) (2016-11-22)
28
+
19
29
  [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.2...v0.0.3)
20
30
 
21
31
  * Bump up Administrate dependency
22
32
 
23
33
  ## [v0.0.2](https://github.com/zooppa/administrate-field-money/tree/v0.0.2) (2016-11-14)
34
+
24
35
  [Full Changelog](https://github.com/zooppa/administrate-field-money/compare/v0.0.1...v0.0.2)
25
36
 
26
37
  **Implemented enhancements**:
@@ -28,4 +39,5 @@
28
39
  * Allow customization of symbol, delimiter and separator via options
29
40
 
30
41
  ## [v0.0.1](https://github.com/zooppa/administrate-field-money/tree/v0.0.1) (2016-11-11)
42
+
31
43
  First release
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ MIT License
2
2
 
3
- Copyright (c) 2015-2016 z.productions.
3
+ Copyright (c) 2018 Zooppa
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
9
  copies of the Software, and to permit persons to whom the Software is
10
10
  furnished to do so, subject to the following conditions:
11
11
 
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
14
 
15
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Administrate::Field::Money
2
2
 
3
3
  [![Code Climate](https://codeclimate.com/github/zooppa/administrate-field-money/badges/gpa.svg)](https://codeclimate.com/github/zooppa/administrate-field-money)
4
+ [![Build Status](https://semaphoreci.com/api/v1/zooppa/administrate-field-money/branches/master/badge.svg)](https://semaphoreci.com/zooppa/administrate-field-money)
4
5
 
5
6
  A plugin to deal with money in [Administrate], with the help of [Money] gem.
6
7
 
@@ -13,7 +14,7 @@ A plugin to deal with money in [Administrate], with the help of [Money] gem.
13
14
  Add it to your `Gemfile`:
14
15
 
15
16
  ```ruby
16
- gem 'administrate-field-money', '~> 0.0.5'
17
+ gem 'administrate-field-money', '~> 0.1.0'
17
18
  ```
18
19
 
19
20
  Run:
@@ -27,19 +28,20 @@ Add to your `FooDashboard`:
27
28
  ```ruby
28
29
  ATTRIBUTE_TYPES = {
29
30
  bar: Field::Money.with_options(
30
- unit: 'USD', # EUR, CAD, GBP, AUD, JPY, ...
31
+ code: 'USD', # EUR, CAD, GBP, AUD, JPY, ...
31
32
  symbol: '$',
32
33
  delimiter: ',',
33
34
  separator: '.'
34
35
  ),
35
36
  }.freeze
36
37
  ```
38
+
37
39
  The field will figure out the appropriate thousand separator and decimal delimiter for the unit.
38
40
 
39
41
  ## About
40
42
 
41
- Administrate::Field::Money is maintained by [z.productions].
43
+ Administrate::Field::Money is maintained by [Zooppa].
42
44
 
43
- [Administrate]: https://github.com/thoughtbot/administrate
44
- [Money]: https://github.com/RubyMoney/money
45
- [z.productions]: https://www.z.productions/
45
+ [administrate]: https://github.com/thoughtbot/administrate
46
+ [money]: https://github.com/RubyMoney/money
47
+ [zooppa]: https://www.zooppa.com/
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -2,12 +2,12 @@ $:.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.6'
5
+ gem.version = '0.1.0'
6
6
  gem.authors = ['Michele Gerarduzzi']
7
7
  gem.email = ['michele.gerarduzzi@gmail.com']
8
8
  gem.homepage = 'https://github.com/zooppa/administrate-field-money'
9
- gem.summary = 'A plugin to deal with money in Administrate'
10
- gem.description = gem.summary
9
+ gem.summary = 'Money field plugin for Administrate'
10
+ gem.description = 'A plugin to deal with money in Administrate'
11
11
  gem.license = 'MIT'
12
12
 
13
13
  gem.require_paths = ['lib']
@@ -15,6 +15,9 @@ Gem::Specification.new do |gem|
15
15
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
 
17
17
  gem.add_runtime_dependency 'administrate', '< 1.0.0'
18
- gem.add_runtime_dependency 'rails', '>= 4.2'
18
+ gem.add_runtime_dependency 'rails', '>= 4.2', '< 6'
19
19
  gem.add_runtime_dependency 'money', '~> 6'
20
+
21
+ gem.add_development_dependency 'rake', '~> 12.3'
22
+ gem.add_development_dependency 'rspec', '~> 3.7'
20
23
  end
@@ -1,14 +1,38 @@
1
1
  //= require jquery.maskMoney.min
2
2
 
3
3
  $(function() {
4
- $('.maskmoney').each(function() {
5
- // Apply the mask and trigger it
6
- $(this).maskMoney().trigger('mask');
7
-
8
- // Sync unmasked value with hidden field
9
- $(this).on('change keyup paste', function() {
10
- var unmaskedMoneyCents = $(this).maskMoney('unmasked')[0] * 100;
11
- $(this).siblings('[type="hidden"]').val(unmaskedMoneyCents);
12
- })
13
- });
4
+ var getUnmaskedMoneyCents,
5
+ updateSiblingHiddenFieldValueOf,
6
+ syncUnmaskedValueWithHiddenField,
7
+ $applyMaskMoneyTo,
8
+ setupMaskMoney,
9
+ EVENTS_TO_SYNC = 'change keyup paste';
10
+
11
+ getUnmaskedMoneyCents = function($el) {
12
+ return $el.maskMoney('unmasked')[0] * 100;
13
+ };
14
+
15
+ updateSiblingHiddenFieldValueOf = function($el, getNewValue) {
16
+ $el.siblings('[type="hidden"]').val(
17
+ getNewValue($el)
18
+ );
19
+ };
20
+
21
+ syncUnmaskedValueWithHiddenField = function() {
22
+ updateSiblingHiddenFieldValueOf($(this), getUnmaskedMoneyCents);
23
+ };
24
+
25
+ $applyMaskMoneyTo = function(el) {
26
+ return $(el).maskMoney().trigger('mask');
27
+ };
28
+
29
+ setupMaskMoney = function() {
30
+ $applyMaskMoneyTo(this)
31
+ .on(
32
+ EVENTS_TO_SYNC,
33
+ syncUnmaskedValueWithHiddenField
34
+ );
35
+ };
36
+
37
+ $('[data-maskmoney]').each(setupMaskMoney);
14
38
  });
@@ -17,7 +17,11 @@ that gets submitted with the form.
17
17
  <%= f.label field.attribute %>
18
18
  </div>
19
19
  <div class="field-unit__field">
20
- <%= text_field_tag field.attribute, field.data, class: 'maskmoney',
21
- data: { prefix: field.symbol, thousands: field.delimiter, decimal: field.separator } %>
20
+ <%= text_field_tag field.attribute, field.data,
21
+ data: {
22
+ maskmoney: true,
23
+ thousands: field.delimiter,
24
+ decimal: field.separator,
25
+ prefix: field.symbol } %>
22
26
  <%= f.hidden_field field.attribute %>
23
27
  </div>
@@ -1,9 +1,12 @@
1
+ require 'rails'
1
2
  require 'administrate/field/text'
2
3
  require 'administrate/engine'
3
4
 
4
5
  module Administrate
5
6
  module Field
6
7
  class Money < Administrate::Field::Text
8
+ delegate :currency, to: :money
9
+
7
10
  class Engine < ::Rails::Engine
8
11
  Administrate::Engine.add_javascript 'administrate-field-money/application'
9
12
  end
@@ -17,19 +20,19 @@ module Administrate
17
20
  end
18
21
 
19
22
  def code
20
- options.fetch(:code, 'USD')
23
+ options.fetch(:code, ::Money.default_currency.iso_code)
21
24
  end
22
25
 
23
26
  def symbol
24
- options.fetch(:symbol, money.symbol)
27
+ options.fetch(:symbol, currency.symbol)
25
28
  end
26
29
 
27
30
  def delimiter
28
- options.fetch(:delimiter, money.delimiter)
31
+ options.fetch(:delimiter, currency.thousands_separator)
29
32
  end
30
33
 
31
34
  def separator
32
- options.fetch(:separator, money.separator)
35
+ options.fetch(:separator, currency.decimal_mark)
33
36
  end
34
37
  end
35
38
  end
@@ -0,0 +1,125 @@
1
+ require 'spec_helper'
2
+ require 'money'
3
+
4
+ describe Administrate::Field::Money do
5
+ subject { described_class.new(:money, data, :show) }
6
+
7
+ let(:data) { 1000 }
8
+ let(:options) { {} }
9
+
10
+ before { allow(subject).to receive(:options).and_return(options) }
11
+
12
+ describe '#to_partial_path' do
13
+ it 'returns a partial based on the page being rendered' do
14
+ path = subject.to_partial_path
15
+ expect(path).to eq('/fields/money/show')
16
+ end
17
+ end
18
+
19
+ describe '#money' do
20
+ let(:output) { subject.money }
21
+
22
+ it 'returns a Money object with default values' do
23
+ expect(output).to be_a(Money)
24
+ expect(output.fractional).to eq 1000
25
+ expect(output.currency).to eq 'USD'
26
+ end
27
+ end
28
+
29
+ describe '#to_s' do
30
+ let(:output) { subject.to_s }
31
+
32
+ context 'with nil' do
33
+ let(:data) { nil }
34
+
35
+ it 'returns a formatted, zero amount in the default currency' do
36
+ expect(output).to eq '$0.00'
37
+ end
38
+ end
39
+
40
+ context 'with a value' do
41
+ let(:data) { 199 }
42
+
43
+ it 'returns the formatted amount in the default currency' do
44
+ expect(output).to eq '$1.99'
45
+ end
46
+
47
+ it 'returns the formatted amount with the selected symbol' do
48
+ allow(subject).to receive(:symbol).and_return('€')
49
+ expect(output).to eq '€1.99'
50
+ end
51
+ end
52
+ end
53
+
54
+ describe '#code' do
55
+ let(:output) { subject.code }
56
+
57
+ context 'with nil' do
58
+ it 'returns USD' do
59
+ expect(output).to eq 'USD'
60
+ end
61
+ end
62
+
63
+ context 'with a valid option' do
64
+ let(:options) { { code: 'EUR' } }
65
+
66
+ it 'returns the value' do
67
+ expect(output).to eq 'EUR'
68
+ end
69
+ end
70
+ end
71
+
72
+ describe '#symbol' do
73
+ let(:output) { subject.symbol }
74
+
75
+ context 'with nil' do
76
+ it 'returns $' do
77
+ expect(output).to eq '$'
78
+ end
79
+ end
80
+
81
+ context 'with a valid option' do
82
+ let(:options) { { symbol: '¥' } }
83
+
84
+ it 'returns the value' do
85
+ expect(output).to eq '¥'
86
+ end
87
+ end
88
+ end
89
+
90
+ describe '#delimiter' do
91
+ let(:output) { subject.delimiter }
92
+
93
+ context 'with nil' do
94
+ it 'returns a comma' do
95
+ expect(output).to eq ','
96
+ end
97
+ end
98
+
99
+ context 'with a valid option' do
100
+ let(:options) { { delimiter: '.' } }
101
+
102
+ it 'returns the value' do
103
+ expect(output).to eq '.'
104
+ end
105
+ end
106
+ end
107
+
108
+ describe '#separator' do
109
+ let(:output) { subject.separator }
110
+
111
+ context 'with nil' do
112
+ it 'returns a dot' do
113
+ expect(output).to eq '.'
114
+ end
115
+ end
116
+
117
+ context 'with a valid option' do
118
+ let(:options) { { separator: ',' } }
119
+
120
+ it 'returns the value' do
121
+ expect(output).to eq ','
122
+ end
123
+ end
124
+ end
125
+ end
@@ -0,0 +1,2 @@
1
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
+ require 'administrate/field/money'
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.6
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michele Gerarduzzi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-01 00:00:00.000000000 Z
11
+ date: 2018-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate
@@ -31,6 +31,9 @@ dependencies:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.2'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '6'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +41,9 @@ dependencies:
38
41
  - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '4.2'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '6'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: money
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +58,34 @@ dependencies:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
60
  version: '6'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '12.3'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '12.3'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.7'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '3.7'
55
89
  description: A plugin to deal with money in Administrate
56
90
  email:
57
91
  - michele.gerarduzzi@gmail.com
@@ -60,11 +94,12 @@ extensions: []
60
94
  extra_rdoc_files: []
61
95
  files:
62
96
  - ".gitignore"
97
+ - ".rspec"
63
98
  - CHANGELOG.md
64
99
  - Gemfile
65
- - Gemfile.lock
66
100
  - LICENSE.md
67
101
  - README.md
102
+ - Rakefile
68
103
  - administrate-field-money.gemspec
69
104
  - app/assets/javascripts/administrate-field-money/application.js
70
105
  - app/views/fields/money/_form.html.erb
@@ -72,6 +107,8 @@ files:
72
107
  - app/views/fields/money/_show.html.erb
73
108
  - demo.gif
74
109
  - lib/administrate/field/money.rb
110
+ - spec/lib/administrate/field/money_spec.rb
111
+ - spec/spec_helper.rb
75
112
  - vendor/assets/javascripts/jquery.maskMoney.min.js
76
113
  homepage: https://github.com/zooppa/administrate-field-money
77
114
  licenses:
@@ -93,8 +130,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
130
  version: '0'
94
131
  requirements: []
95
132
  rubyforge_project:
96
- rubygems_version: 2.6.11
133
+ rubygems_version: 2.7.6
97
134
  signing_key:
98
135
  specification_version: 4
99
- summary: A plugin to deal with money in Administrate
100
- test_files: []
136
+ summary: Money field plugin for Administrate
137
+ test_files:
138
+ - spec/lib/administrate/field/money_spec.rb
139
+ - spec/spec_helper.rb
data/Gemfile.lock DELETED
@@ -1,162 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- administrate-field-money (0.0.6)
5
- administrate (< 1.0.0)
6
- money (~> 6)
7
- rails (>= 4.2)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.0.2)
13
- actionpack (= 5.0.2)
14
- nio4r (>= 1.2, < 3.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.0.2)
17
- actionpack (= 5.0.2)
18
- actionview (= 5.0.2)
19
- activejob (= 5.0.2)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.0.2)
23
- actionview (= 5.0.2)
24
- activesupport (= 5.0.2)
25
- rack (~> 2.0)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.0.2)
30
- activesupport (= 5.0.2)
31
- builder (~> 3.1)
32
- erubis (~> 2.7.0)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.0.2)
36
- activesupport (= 5.0.2)
37
- globalid (>= 0.3.6)
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
- arel (~> 7.0)
44
- activesupport (5.0.2)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (~> 0.7)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- administrate (0.4.0)
50
- autoprefixer-rails (~> 6.0)
51
- bourbon (~> 4.2)
52
- datetime_picker_rails (~> 0.0.7)
53
- jquery-rails (~> 4.0)
54
- kaminari (~> 0.16)
55
- momentjs-rails (~> 2.8)
56
- neat (~> 1.1)
57
- normalize-rails (~> 3.0)
58
- rails (>= 4.2, < 5.1)
59
- sass-rails (~> 5.0)
60
- selectize-rails (~> 0.6)
61
- arel (7.1.4)
62
- autoprefixer-rails (6.7.7)
63
- execjs
64
- bourbon (4.3.3)
65
- sass (~> 3.4)
66
- thor (~> 0.19)
67
- builder (3.2.3)
68
- concurrent-ruby (1.0.5)
69
- datetime_picker_rails (0.0.7)
70
- momentjs-rails (>= 2.8.1)
71
- erubis (2.7.0)
72
- execjs (2.7.0)
73
- globalid (0.3.7)
74
- activesupport (>= 4.1.0)
75
- i18n (0.8.1)
76
- jquery-rails (4.2.2)
77
- rails-dom-testing (>= 1, < 3)
78
- railties (>= 4.2.0)
79
- thor (>= 0.14, < 2.0)
80
- kaminari (0.17.0)
81
- actionpack (>= 3.0.0)
82
- activesupport (>= 3.0.0)
83
- loofah (2.0.3)
84
- nokogiri (>= 1.5.9)
85
- mail (2.6.4)
86
- mime-types (>= 1.16, < 4)
87
- method_source (0.8.2)
88
- mime-types (3.1)
89
- mime-types-data (~> 3.2015)
90
- mime-types-data (3.2016.0521)
91
- mini_portile2 (2.1.0)
92
- minitest (5.10.1)
93
- momentjs-rails (2.17.1)
94
- railties (>= 3.1)
95
- money (6.9.0)
96
- i18n (>= 0.6.4, < 0.9)
97
- neat (1.8.0)
98
- sass (>= 3.3)
99
- thor (~> 0.19)
100
- nio4r (2.0.0)
101
- nokogiri (1.7.1)
102
- mini_portile2 (~> 2.1.0)
103
- normalize-rails (3.0.3)
104
- rack (2.0.1)
105
- rack-test (0.6.3)
106
- rack (>= 1.0)
107
- rails (5.0.2)
108
- actioncable (= 5.0.2)
109
- actionmailer (= 5.0.2)
110
- actionpack (= 5.0.2)
111
- actionview (= 5.0.2)
112
- activejob (= 5.0.2)
113
- activemodel (= 5.0.2)
114
- activerecord (= 5.0.2)
115
- activesupport (= 5.0.2)
116
- bundler (>= 1.3.0, < 2.0)
117
- railties (= 5.0.2)
118
- sprockets-rails (>= 2.0.0)
119
- rails-dom-testing (2.0.2)
120
- activesupport (>= 4.2.0, < 6.0)
121
- nokogiri (~> 1.6)
122
- rails-html-sanitizer (1.0.3)
123
- loofah (~> 2.0)
124
- railties (5.0.2)
125
- actionpack (= 5.0.2)
126
- activesupport (= 5.0.2)
127
- method_source
128
- rake (>= 0.8.7)
129
- thor (>= 0.18.1, < 2.0)
130
- rake (12.0.0)
131
- sass (3.4.23)
132
- sass-rails (5.0.6)
133
- railties (>= 4.0.0, < 6)
134
- sass (~> 3.1)
135
- sprockets (>= 2.8, < 4.0)
136
- sprockets-rails (>= 2.0, < 4.0)
137
- tilt (>= 1.1, < 3)
138
- selectize-rails (0.12.4)
139
- sprockets (3.7.1)
140
- concurrent-ruby (~> 1.0)
141
- rack (> 1, < 3)
142
- sprockets-rails (3.2.0)
143
- actionpack (>= 4.0)
144
- activesupport (>= 4.0)
145
- sprockets (>= 3.0.0)
146
- thor (0.19.4)
147
- thread_safe (0.3.6)
148
- tilt (2.0.7)
149
- tzinfo (1.2.2)
150
- thread_safe (~> 0.1)
151
- websocket-driver (0.6.5)
152
- websocket-extensions (>= 0.1.0)
153
- websocket-extensions (0.1.2)
154
-
155
- PLATFORMS
156
- ruby
157
-
158
- DEPENDENCIES
159
- administrate-field-money!
160
-
161
- BUNDLED WITH
162
- 1.14.6