add rspec and sprockets
This commit is contained in:
parent
b9a7315db8
commit
ae68a25699
4
Gemfile
4
Gemfile
@ -4,6 +4,10 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|||||||
# Specify your gem's dependencies in merged.gemspec.
|
# Specify your gem's dependencies in merged.gemspec.
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
|
gem 'sprockets-rails', require: 'sprockets/railtie'
|
||||||
|
gem 'rspec-rails' , require: "rspec-rails"
|
||||||
|
gem 'haml-rails'
|
||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
end
|
end
|
||||||
|
|
||||||
|
15
Gemfile.lock
15
Gemfile.lock
@ -3,7 +3,6 @@ PATH
|
|||||||
specs:
|
specs:
|
||||||
merged (0.1.0)
|
merged (0.1.0)
|
||||||
rails (>= 7.0.4)
|
rails (>= 7.0.4)
|
||||||
sprockets-rails (>= 3.4)
|
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
@ -80,6 +79,15 @@ GEM
|
|||||||
erubi (1.11.0)
|
erubi (1.11.0)
|
||||||
globalid (1.0.0)
|
globalid (1.0.0)
|
||||||
activesupport (>= 5.0)
|
activesupport (>= 5.0)
|
||||||
|
haml (6.0.12)
|
||||||
|
temple (>= 0.8.2)
|
||||||
|
thor
|
||||||
|
tilt
|
||||||
|
haml-rails (2.1.0)
|
||||||
|
actionpack (>= 5.1)
|
||||||
|
activesupport (>= 5.1)
|
||||||
|
haml (>= 4.0.6)
|
||||||
|
railties (>= 5.1)
|
||||||
i18n (1.12.0)
|
i18n (1.12.0)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
loofah (2.19.0)
|
loofah (2.19.0)
|
||||||
@ -157,7 +165,9 @@ GEM
|
|||||||
actionpack (>= 5.2)
|
actionpack (>= 5.2)
|
||||||
activesupport (>= 5.2)
|
activesupport (>= 5.2)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
|
temple (0.9.1)
|
||||||
thor (1.2.1)
|
thor (1.2.1)
|
||||||
|
tilt (2.0.11)
|
||||||
timeout (0.3.0)
|
timeout (0.3.0)
|
||||||
tzinfo (2.0.5)
|
tzinfo (2.0.5)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
@ -170,8 +180,9 @@ PLATFORMS
|
|||||||
x86_64-linux
|
x86_64-linux
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
haml-rails
|
||||||
merged!
|
merged!
|
||||||
rspec-rails (~> 6.0.0)
|
rspec-rails
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
|
@ -20,5 +20,6 @@ require "action_controller/railtie"
|
|||||||
require "action_mailer/railtie"
|
require "action_mailer/railtie"
|
||||||
require "action_view/railtie"
|
require "action_view/railtie"
|
||||||
# require "action_cable/engine"
|
# require "action_cable/engine"
|
||||||
require "rails/test_unit/railtie"
|
|
||||||
require "rails/engine/commands"
|
require "rails/engine/commands"
|
||||||
|
require "rspec-rails"
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
Merged::Engine.routes.draw do
|
Merged::Engine.routes.draw do
|
||||||
|
resources :images
|
||||||
end
|
end
|
||||||
|
@ -19,7 +19,5 @@ Gem::Specification.new do |spec|
|
|||||||
end
|
end
|
||||||
|
|
||||||
spec.add_dependency "rails", ">= 7.0.4"
|
spec.add_dependency "rails", ">= 7.0.4"
|
||||||
spec.add_dependency "sprockets-rails" , ">= 3.4"
|
|
||||||
spec.add_development_dependency 'rspec-rails', '~> 6.0.0'
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user