Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tohosaku committed Oct 31, 2024
2 parents 1738c8c + 9dcfbb7 commit 0e2fea1
Show file tree
Hide file tree
Showing 16 changed files with 1,654 additions and 208 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/generate_release_note.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Generate Release Note

on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate release note
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
1 change: 1 addition & 0 deletions app/views/importmap_mocha/test/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<% if Rails.application.config.importmap_mocha_scripts.size > 0 %>
<%= javascript_include_tag *Rails.application.config.importmap_mocha_scripts %>
<% end %>
<%= favicon_link_tag %>
<%= javascript_include_tag 'mocha' %>
<%= stylesheet_link_tag 'mocha' %>
<%= javascript_importmap_tags 'importmap_mocha' %>
Expand Down
7 changes: 0 additions & 7 deletions config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
pin "@mswjs/interceptors/presets/browser" , to: "@mswjs--interceptors--presets--browser.js"
pin "chai", to: "chai.js"

pin "@open-draft/logger", to: "@open-draft--logger.js" # @0.3.0
pin "is-node-process", to: "is-node-process.js" # @1.2.0
pin "outvariant", to: "outvariant.js" # @1.4.0
pin "@open-draft/until", to: "@open-draft--until.js" # @2.1.0
pin "@open-draft/deferred-promise", to: "@open-draft--deferred-promise.js" # @2.2.0
pin "strict-event-emitter", to: "strict-event-emitter.js" # @0.5.1

Rails.application.config.importmap_mocha_path.each do |path|
pin_all_from path
end
8 changes: 4 additions & 4 deletions importmap_mocha-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ Gem::Specification.new do |spec|
spec.version = ImportmapMocha::VERSION
spec.authors = ['Takashi Kato']
spec.email = ['[email protected]']
spec.homepage = 'https://github.com/tohosaku/importmap_mocha-rails'
spec.homepage = 'https://github.com/redmine-ui/importmap_mocha-rails'
spec.summary = 'mochajs rails integration'
spec.description = 'Add JavaScript testing tools in importmap environment.'
spec.description = 'Add JavaScript testing tools in importmap-rails environment.'
spec.required_ruby_version = '>= 2.7.0'
spec.license = 'MIT'

spec.metadata['rubygems_mfa_required'] = 'true'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
spec.metadata['changelog_uri'] = spec.homepage
Expand All @@ -19,6 +20,5 @@ Gem::Specification.new do |spec|
Dir['app/**/*', 'config/**/*', 'lib/**/*', 'vendor/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']
end

spec.add_dependency 'rails', '~> 7.0'
spec.add_dependency 'importmap-rails'
spec.add_dependency 'importmap-rails', '~> 2.0.0'
end
2 changes: 1 addition & 1 deletion lib/importmap_mocha/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ImportmapMocha
VERSION = '0.3.4'
VERSION = '0.3.5'
end
Loading

0 comments on commit 0e2fea1

Please sign in to comment.