-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathspree_product_reviews.gemspec
More file actions
53 lines (43 loc) · 1.74 KB
/
spree_product_reviews.gemspec
File metadata and controls
53 lines (43 loc) · 1.74 KB
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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'spree_product_reviews/version'
Gem::Specification.new do |spec|
spec.name = 'spree_product_reviews'
spec.version = SpreeProductReviews::VERSION
spec.platform = Gem::Platform::RUBY
spec.summary = 'Spree Commerce Product Reviews Extension'
spec.description = 'Product reviews and ratings system for Spree Commerce 5.x stores.'
spec.required_ruby_version = '>= 3.2'
# Author info
spec.authors = ['Umesh Ravani']
spec.email = ['umeshravani98@gmail.com']
spec.homepage = 'https://github.com/umeshravani/spree_product_reviews'
spec.license = 'AGPL-3.0-or-later'
# Automatically include most important files (Cleaner syntax)
spec.files = Dir.glob([
'lib/**/*',
'app/**/*',
'config/**/*',
'db/**/*',
'public/**/*',
'README.md',
'LICENSE.md'
])
spec.require_paths = ['lib']
# CHANGE: Depend on spree_core, just like the Razorpay gem.
# This ensures compatibility with Spree 5.2 without locking to specific frontends.
spec.add_dependency 'spree_core', '>= 5.2'
# Kept without version lock (as discussed previously) to allow the main Gemfile to handle the git branch
spec.add_dependency 'spree_auth_devise'
spec.add_dependency 'spree_extension'
# Development dependencies
spec.add_development_dependency 'spree_dev_tools'
# specific dev dependencies for this gem can be kept if needed (faker/pg),
# but often dev_tools handles the basics.
spec.add_development_dependency 'faker'
# RubyGems.org metadata
spec.metadata = {
'source_code_uri' => spec.homepage,
'changelog_uri' => "#{spec.homepage}/blob/main/CHANGELOG.md"
}
end