currency_select 9.0.0 → 10.0.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 +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +8 -0
- data/README.md +5 -5
- data/Rakefile +3 -12
- data/currency_select.gemspec +30 -24
- metadata +12 -93
- data/CODE_OF_CONDUCT.md +0 -77
- data/VERSION +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 371da1cba425b692c77041dd55212a440c0ae64541350cafd61b79e0748d242e
|
|
4
|
+
data.tar.gz: b329d4b139a2ddcdfcf538af662847e7e3ae36506d70c5bc5d890c6084699107
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5736dfb8f6fa9ac64e615c08f04f2b4c8a57f5fa821edbccfbce46da8e2232d95d26e6a9f4c1b22a6f6eee725bc0edf4c2f66b42ac8178f92c37ab169fbefa9e
|
|
7
|
+
data.tar.gz: 785444fb0ec4b09b4d4eedd1b39490536c248ad5c84e97072f50713d6a6701eb151df7ee9a41a2b5f43469ddaf6fe5068136cfec6d4157f50b71b18d0ae933a6
|
data/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,17 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
17
17
|
|
|
18
18
|
### Security
|
|
19
19
|
|
|
20
|
+
## 10.0.0: Add support for Ruby 4.0, drop support for Rails 7.2 and Ruby 3.2
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Add support for Ruby 4.0 (#224)
|
|
25
|
+
|
|
26
|
+
### Removed
|
|
27
|
+
|
|
28
|
+
- Drop support for Rails 7.2 (#248)
|
|
29
|
+
- Drop support for Ruby 3.2 (#230)
|
|
30
|
+
|
|
20
31
|
## 9.0.0: Add support for Rails 8.1, drop support for Ruby 3.1 and Rails < 7.2
|
|
21
32
|
|
|
22
33
|
### Added
|
data/Gemfile
CHANGED
|
@@ -3,3 +3,11 @@
|
|
|
3
3
|
source 'https://rubygems.org'
|
|
4
4
|
|
|
5
5
|
gemspec
|
|
6
|
+
|
|
7
|
+
gem 'rake', '~> 13.4.2'
|
|
8
|
+
gem 'rspec-rails', '~> 8.1.0'
|
|
9
|
+
gem 'rubocop', '~> 1.92.0'
|
|
10
|
+
gem 'rubocop-rails', '~> 2.38.0'
|
|
11
|
+
gem 'rubocop-rake', '~> 0.7.1'
|
|
12
|
+
gem 'rubocop-rspec', '~> 3.10.2'
|
|
13
|
+
gem 'rubocop-rspec_rails', '~> 2.33.0'
|
data/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# CurrencySelect
|
|
2
2
|
|
|
3
|
-
[](https://github.com/braingourmets/currency_select/actions/)
|
|
4
4
|
[](http://badge.fury.io/rb/currency_select)
|
|
5
5
|
|
|
6
6
|
Adds a currency_select helper to Ruby on Rails projects, allowing you to get
|
|
7
|
-
|
|
7
|
+
an HTML select list of available currencies.
|
|
8
8
|
|
|
9
|
-
The list of currencies
|
|
9
|
+
The list of currencies is provided by the
|
|
10
10
|
[Money gem](https://rubygems.org/gems/money).
|
|
11
11
|
|
|
12
12
|
## New maintainer wanted
|
|
13
13
|
|
|
14
|
-
We're not using this gem anymore, so we
|
|
15
|
-
you
|
|
14
|
+
We're not using this gem anymore, so we are looking for a new maintainer. If
|
|
15
|
+
you are interested in becoming the new maintainer, please contact us at
|
|
16
16
|
`info AT braingourmets DOT com`.
|
|
17
17
|
|
|
18
18
|
## Installation
|
data/Rakefile
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require '
|
|
3
|
+
require 'bundler/setup'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
# ----------------------------------------------------------------------------
|
|
7
|
-
Rake::RDocTask.new do |rdoc|
|
|
8
|
-
version = File.read('VERSION')
|
|
9
|
-
|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
11
|
-
rdoc.title = "currency_select #{version}"
|
|
12
|
-
rdoc.rdoc_files.include('README.md')
|
|
13
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
14
|
-
end
|
|
5
|
+
Bundler::GemHelper.install_tasks
|
|
15
6
|
|
|
16
7
|
desc 'Runs RuboCop for checking the Ruby files.'
|
|
17
8
|
task :rubocop do
|
|
18
|
-
sh 'rubocop lib/ rails/ spec/ currency_select.gemspec Gemfile Rakefile'
|
|
9
|
+
sh 'rubocop gemfiles/ lib/ rails/ spec/ currency_select.gemspec Gemfile Rakefile'
|
|
19
10
|
end
|
data/currency_select.gemspec
CHANGED
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Gem::Specification.new do |spec|
|
|
4
|
+
spec.name = 'currency_select'
|
|
5
|
+
spec.summary = 'Currency select plugin for Rails'
|
|
6
|
+
spec.version = '10.0.0'
|
|
7
|
+
spec.license = 'MIT'
|
|
4
8
|
|
|
5
|
-
|
|
6
|
-
s.name = 'currency_select'
|
|
7
|
-
s.summary = 'Currency select plugin for Rails'
|
|
8
|
-
s.version = version
|
|
9
|
-
s.license = 'MIT'
|
|
9
|
+
spec.required_ruby_version = '>= 3.3.0'
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
spec.homepage = 'https://github.com/braingourmets/currency_select'
|
|
12
|
+
spec.authors = ['Trond Arve Nordheim', 'Oliver Klee']
|
|
13
|
+
spec.email = 'o.klee@braingourmetspec.com'
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
spec.metadata = {
|
|
16
|
+
'bug_tracker_uri' => 'https://github.com/braingourmets/currency_select/issues',
|
|
17
|
+
'changelog_uri' => 'https://github.com/braingourmets/currency_select/blob/master/CHANGELOG.md',
|
|
18
|
+
'documentation_uri' => 'https://www.rubydoc.info/gems/currency_select',
|
|
19
|
+
'homepage_uri' => spec.homepage,
|
|
20
|
+
'source_code_uri' => 'https://github.com/braingourmets/currency_select'
|
|
21
|
+
}
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
CHANGELOG.md
|
|
23
|
+
spec.files = %w[
|
|
24
|
+
CHANGELOG.md
|
|
25
|
+
Gemfile
|
|
26
|
+
LICENSE
|
|
27
|
+
README.md
|
|
28
|
+
Rakefile
|
|
19
29
|
currency_select.gemspec
|
|
20
|
-
lib/currency_select.rb
|
|
21
|
-
lib/
|
|
30
|
+
lib/currency_select.rb
|
|
31
|
+
lib/currency_select_tag.rb
|
|
32
|
+
lib/form_builder.rb
|
|
33
|
+
lib/form_options_helper.rb
|
|
34
|
+
lib/to_currency_select_tag.rb
|
|
22
35
|
rails/init.rb
|
|
23
36
|
]
|
|
24
|
-
|
|
37
|
+
spec.extra_rdoc_files = %w[CHANGELOG.md LICENSE README.md]
|
|
25
38
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
s.add_development_dependency 'rspec-rails', '~> 8.0.2'
|
|
30
|
-
s.add_development_dependency 'rubocop', '~> 1.81.1'
|
|
31
|
-
s.add_development_dependency 'rubocop-rails', '~> 2.33.3'
|
|
32
|
-
s.add_development_dependency 'rubocop-rake', '~> 0.7.1'
|
|
33
|
-
s.add_development_dependency 'rubocop-rspec', '~> 3.7.0'
|
|
34
|
-
s.add_development_dependency 'rubocop-rspec_rails', '~> 2.31.0'
|
|
39
|
+
spec.add_dependency 'actionview', '>= 8.0.0', '< 8.2'
|
|
40
|
+
spec.add_dependency 'money', '~> 6.19.0'
|
|
35
41
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: currency_select
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 10.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Trond Arve Nordheim
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 8.0.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: '8.2'
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version:
|
|
29
|
+
version: 8.0.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: '8.2'
|
|
@@ -44,91 +44,7 @@ dependencies:
|
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
46
|
version: 6.19.0
|
|
47
|
-
|
|
48
|
-
name: rspec-rails
|
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
|
50
|
-
requirements:
|
|
51
|
-
- - "~>"
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 8.0.2
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
requirements:
|
|
58
|
-
- - "~>"
|
|
59
|
-
- !ruby/object:Gem::Version
|
|
60
|
-
version: 8.0.2
|
|
61
|
-
- !ruby/object:Gem::Dependency
|
|
62
|
-
name: rubocop
|
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
|
64
|
-
requirements:
|
|
65
|
-
- - "~>"
|
|
66
|
-
- !ruby/object:Gem::Version
|
|
67
|
-
version: 1.81.1
|
|
68
|
-
type: :development
|
|
69
|
-
prerelease: false
|
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
71
|
-
requirements:
|
|
72
|
-
- - "~>"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: 1.81.1
|
|
75
|
-
- !ruby/object:Gem::Dependency
|
|
76
|
-
name: rubocop-rails
|
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
|
78
|
-
requirements:
|
|
79
|
-
- - "~>"
|
|
80
|
-
- !ruby/object:Gem::Version
|
|
81
|
-
version: 2.33.3
|
|
82
|
-
type: :development
|
|
83
|
-
prerelease: false
|
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
85
|
-
requirements:
|
|
86
|
-
- - "~>"
|
|
87
|
-
- !ruby/object:Gem::Version
|
|
88
|
-
version: 2.33.3
|
|
89
|
-
- !ruby/object:Gem::Dependency
|
|
90
|
-
name: rubocop-rake
|
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
|
92
|
-
requirements:
|
|
93
|
-
- - "~>"
|
|
94
|
-
- !ruby/object:Gem::Version
|
|
95
|
-
version: 0.7.1
|
|
96
|
-
type: :development
|
|
97
|
-
prerelease: false
|
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
99
|
-
requirements:
|
|
100
|
-
- - "~>"
|
|
101
|
-
- !ruby/object:Gem::Version
|
|
102
|
-
version: 0.7.1
|
|
103
|
-
- !ruby/object:Gem::Dependency
|
|
104
|
-
name: rubocop-rspec
|
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
|
106
|
-
requirements:
|
|
107
|
-
- - "~>"
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: 3.7.0
|
|
110
|
-
type: :development
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - "~>"
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: 3.7.0
|
|
117
|
-
- !ruby/object:Gem::Dependency
|
|
118
|
-
name: rubocop-rspec_rails
|
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
|
120
|
-
requirements:
|
|
121
|
-
- - "~>"
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: 2.31.0
|
|
124
|
-
type: :development
|
|
125
|
-
prerelease: false
|
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
-
requirements:
|
|
128
|
-
- - "~>"
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: 2.31.0
|
|
131
|
-
email: o.klee@braingourmets.com
|
|
47
|
+
email: o.klee@braingourmetspec.com
|
|
132
48
|
executables: []
|
|
133
49
|
extensions: []
|
|
134
50
|
extra_rdoc_files:
|
|
@@ -137,12 +53,10 @@ extra_rdoc_files:
|
|
|
137
53
|
- README.md
|
|
138
54
|
files:
|
|
139
55
|
- CHANGELOG.md
|
|
140
|
-
- CODE_OF_CONDUCT.md
|
|
141
56
|
- Gemfile
|
|
142
57
|
- LICENSE
|
|
143
58
|
- README.md
|
|
144
59
|
- Rakefile
|
|
145
|
-
- VERSION
|
|
146
60
|
- currency_select.gemspec
|
|
147
61
|
- lib/currency_select.rb
|
|
148
62
|
- lib/currency_select_tag.rb
|
|
@@ -153,7 +67,12 @@ files:
|
|
|
153
67
|
homepage: https://github.com/braingourmets/currency_select
|
|
154
68
|
licenses:
|
|
155
69
|
- MIT
|
|
156
|
-
metadata:
|
|
70
|
+
metadata:
|
|
71
|
+
bug_tracker_uri: https://github.com/braingourmets/currency_select/issues
|
|
72
|
+
changelog_uri: https://github.com/braingourmets/currency_select/blob/master/CHANGELOG.md
|
|
73
|
+
documentation_uri: https://www.rubydoc.info/gems/currency_select
|
|
74
|
+
homepage_uri: https://github.com/braingourmets/currency_select
|
|
75
|
+
source_code_uri: https://github.com/braingourmets/currency_select
|
|
157
76
|
rdoc_options: []
|
|
158
77
|
require_paths:
|
|
159
78
|
- lib
|
|
@@ -161,14 +80,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
161
80
|
requirements:
|
|
162
81
|
- - ">="
|
|
163
82
|
- !ruby/object:Gem::Version
|
|
164
|
-
version: 3.
|
|
83
|
+
version: 3.3.0
|
|
165
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
85
|
requirements:
|
|
167
86
|
- - ">="
|
|
168
87
|
- !ruby/object:Gem::Version
|
|
169
88
|
version: '0'
|
|
170
89
|
requirements: []
|
|
171
|
-
rubygems_version:
|
|
90
|
+
rubygems_version: 4.0.20
|
|
172
91
|
specification_version: 4
|
|
173
92
|
summary: Currency select plugin for Rails
|
|
174
93
|
test_files: []
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# Contributor Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
|
7
|
-
our community a harassment-free experience for everyone, regardless of age,
|
|
8
|
-
body size, disability, ethnicity, gender identity and expression, level of
|
|
9
|
-
experience, nationality, personal appearance, race, religion, or sexual
|
|
10
|
-
identity and orientation.
|
|
11
|
-
|
|
12
|
-
## Our Standards
|
|
13
|
-
|
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
|
15
|
-
include:
|
|
16
|
-
|
|
17
|
-
* Using welcoming and inclusive language
|
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
|
19
|
-
* Gracefully accepting constructive criticism
|
|
20
|
-
* Focusing on what is best for the community
|
|
21
|
-
* Showing empathy towards other community members
|
|
22
|
-
|
|
23
|
-
Examples of unacceptable behavior by participants include:
|
|
24
|
-
|
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
|
26
|
-
advances
|
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
|
28
|
-
* Public or private harassment
|
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
|
30
|
-
address, without explicit permission
|
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
32
|
-
professional setting
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Our Responsibilities
|
|
36
|
-
|
|
37
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
|
38
|
-
behavior and are expected to take appropriate and fair corrective action in
|
|
39
|
-
response to any instances of unacceptable behavior.
|
|
40
|
-
|
|
41
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
|
42
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
43
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
44
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
|
45
|
-
threatening, offensive, or harmful.
|
|
46
|
-
|
|
47
|
-
## Scope
|
|
48
|
-
|
|
49
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
|
50
|
-
when an individual is representing the project or its community. Examples of
|
|
51
|
-
representing a project or community include using an official project e-mail
|
|
52
|
-
address, posting via an official social media account, or acting as an
|
|
53
|
-
appointed representative at an online or offline event. Representation of a
|
|
54
|
-
project may be further defined and clarified by project maintainers.
|
|
55
|
-
|
|
56
|
-
## Enforcement
|
|
57
|
-
|
|
58
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
59
|
-
reported by contacting the project team at (info at braingourmets dot com).
|
|
60
|
-
All complaints will be reviewed and investigated and will result in a response
|
|
61
|
-
that is deemed necessary and appropriate to the circumstances. The project team
|
|
62
|
-
is obligated to maintain confidentiality with regard to the reporter of an
|
|
63
|
-
incident. Further details of specific enforcement policies may be posted
|
|
64
|
-
separately.
|
|
65
|
-
|
|
66
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
|
67
|
-
faith may face temporary or permanent repercussions as determined by other
|
|
68
|
-
members of the project's leadership.
|
|
69
|
-
|
|
70
|
-
## Attribution
|
|
71
|
-
|
|
72
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
73
|
-
version 1.4, available at
|
|
74
|
-
[http://contributor-covenant.org/version/1/4/][version].
|
|
75
|
-
|
|
76
|
-
[homepage]: http://contributor-covenant.org
|
|
77
|
-
[version]: http://contributor-covenant.org/version/1/4/
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
9.0.0
|