Skip to content

Commit 0e2fea1

Browse files
author
Takashi Kato
committed
Merge branch 'develop'
2 parents 1738c8c + 9dcfbb7 commit 0e2fea1

File tree

16 files changed

+1654
-208
lines changed

16 files changed

+1654
-208
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Generate Release Note
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
- name: Generate release note
14+
uses: softprops/action-gh-release@v2
15+
with:
16+
generate_release_notes: true

app/views/importmap_mocha/test/index.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<% if Rails.application.config.importmap_mocha_scripts.size > 0 %>
77
<%= javascript_include_tag *Rails.application.config.importmap_mocha_scripts %>
88
<% end %>
9+
<%= favicon_link_tag %>
910
<%= javascript_include_tag 'mocha' %>
1011
<%= stylesheet_link_tag 'mocha' %>
1112
<%= javascript_importmap_tags 'importmap_mocha' %>

config/importmap.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
pin "@mswjs/interceptors/presets/browser" , to: "@mswjs--interceptors--presets--browser.js"
55
pin "chai", to: "chai.js"
66

7-
pin "@open-draft/logger", to: "@open-draft--logger.js" # @0.3.0
8-
pin "is-node-process", to: "is-node-process.js" # @1.2.0
9-
pin "outvariant", to: "outvariant.js" # @1.4.0
10-
pin "@open-draft/until", to: "@open-draft--until.js" # @2.1.0
11-
pin "@open-draft/deferred-promise", to: "@open-draft--deferred-promise.js" # @2.2.0
12-
pin "strict-event-emitter", to: "strict-event-emitter.js" # @0.5.1
13-
147
Rails.application.config.importmap_mocha_path.each do |path|
158
pin_all_from path
169
end

importmap_mocha-rails.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ Gem::Specification.new do |spec|
55
spec.version = ImportmapMocha::VERSION
66
spec.authors = ['Takashi Kato']
77
spec.email = ['tohosaku@users.osdn.me']
8-
spec.homepage = 'https://github.com/tohosaku/importmap_mocha-rails'
8+
spec.homepage = 'https://github.com/redmine-ui/importmap_mocha-rails'
99
spec.summary = 'mochajs rails integration'
10-
spec.description = 'Add JavaScript testing tools in importmap environment.'
10+
spec.description = 'Add JavaScript testing tools in importmap-rails environment.'
1111
spec.required_ruby_version = '>= 2.7.0'
1212
spec.license = 'MIT'
1313

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

22-
spec.add_dependency 'rails', '~> 7.0'
23-
spec.add_dependency 'importmap-rails'
23+
spec.add_dependency 'importmap-rails', '~> 2.0.0'
2424
end

lib/importmap_mocha/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ImportmapMocha
4-
VERSION = '0.3.4'
4+
VERSION = '0.3.5'
55
end

0 commit comments

Comments
 (0)