-
Notifications
You must be signed in to change notification settings - Fork 2
/
active_currency.gemspec
72 lines (51 loc) · 1.88 KB
/
active_currency.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path("lib", __dir__)
# Maintain your gem's version:
require "active_currency/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "active_currency"
s.version = ActiveCurrency::VERSION
s.authors = ["Sunny Ripert"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/sunny/active_currency"
s.summary = "Rails plugin to store your currency regularly"
s.description = "Store your currency."
s.license = "MIT"
s.metadata["rubygems_mfa_required"] = "true"
s.files =
Dir["{app,db,lib}/**/*", "MIT-LICENSE", "README.md"]
# Gem dependencies
# Rails plugin.
s.add_dependency "rails", ">= 4.2"
# The Rails app needs to use money-rails as well.
s.add_dependency "money-rails"
# Handle database transactions.
s.add_dependency "after_commit_everywhere", ">= 1.3.0"
# API to get the currencies.
# >= 1.3.1 to prevent HTTPS error.
s.add_dependency "eu_central_bank", ">= 1.3.1"
# Development dependencies
# API to get the currencies.
s.add_development_dependency "money-open-exchange-rates"
# DB for the dummy app.
s.add_development_dependency "sqlite3"
# Unit testing.
s.add_development_dependency "rspec"
# Unit testing with rails.
s.add_development_dependency "rspec-rails"
# Spec formatter for GitHub Actions.
s.add_development_dependency "rspec-github"
# Formatter for unit testing that Circle-CI enjoys.
s.add_development_dependency "rspec_junit_formatter"
# Travel through time in specs.
s.add_development_dependency "timecop"
# Useful for `binding.pry` in development.
s.add_development_dependency "pry"
# Style guide.
s.add_development_dependency "rubocop"
# Style guide for Rails.
s.add_development_dependency "rubocop-rails"
# Style guide for RSpec.
s.add_development_dependency "rubocop-rspec"
end