asset_finder 2.0.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b42d4d846d0942fc672608a5d18a3455c04f08039d24fe1231141696c5268a5
4
- data.tar.gz: bcd437ad57e470d1de5859dcb5aaa6f431720bb6a428cc48221c400e0d33b146
3
+ metadata.gz: 1f3c2f6302368a83fdeb7f46b44a9bade67917a973ab8fe572563ba32d3e2d08
4
+ data.tar.gz: 60964f7ca2fd21c63c416f182e207adec16290f3aecd8b124e6d5030e747538c
5
5
  SHA512:
6
- metadata.gz: 4c3ad1b9e349fad8b29f82cdc986f0c3136f1c2cab21f7fc950343d5dda9784d1d8582734400381da5af3b52e460e9e3f85be96ed753a617c6869c11f2214f4f
7
- data.tar.gz: ec196605594d0b86509db2569e98d72a08d06971c7468c94fecb61a424045fd228fceb9cb6982b193076348a3e4888679eae6c6a1394a4d6837bf7d02fbc4844
6
+ metadata.gz: c12b4c99ecfe6fb8dbc3ffc777ebc431641ddf97a97baf1c03a6656a2d7e9c60672ebd0a75da57c14c2253f422d2330cc511840838044f96e633849955472e72
7
+ data.tar.gz: 61b6a6f2b439dea15b69262cfbd5ef281f958151ba4d27c2d819bd41436974683a489573b448654ed88bc6e359ad32164379cdb6cef4d18836ab0b68b1b9d561
data/README.md CHANGED
@@ -4,7 +4,7 @@ Find javascripts and stylesheets for `rake asset:precompile`.
4
4
 
5
5
  ## Build Status
6
6
 
7
- ### master
7
+ ### main
8
8
  [![Build Status](https://github.com/taka0125/asset_finder/workflows/Ruby/badge.svg)](https://github.com/taka0125/asset_finder/actions)
9
9
 
10
10
 
@@ -27,7 +27,7 @@ Or install it yourself as:
27
27
 
28
28
  ## config file
29
29
 
30
- `config/initializers/assets_finder.rb`
30
+ `config/initializers/asset_finder.rb`
31
31
 
32
32
  ### Sprockets
33
33
 
@@ -1,3 +1,3 @@
1
1
  module AssetFinder
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asset_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro Ooishi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-28 00:00:00.000000000 Z
11
+ date: 2023-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '6.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7.1'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -79,17 +73,8 @@ executables: []
79
73
  extensions: []
80
74
  extra_rdoc_files: []
81
75
  files:
82
- - ".github/workflows/release.yml"
83
- - ".github/workflows/ruby.yml"
84
- - ".gitignore"
85
- - ".rspec"
86
- - Gemfile
87
76
  - LICENSE
88
77
  - README.md
89
- - Rakefile
90
- - asset_finder.gemspec
91
- - bin/console
92
- - bin/setup
93
78
  - lib/asset_finder.rb
94
79
  - lib/asset_finder/configuration.rb
95
80
  - lib/asset_finder/javascript/normalizer.rb
@@ -1,33 +0,0 @@
1
- name: Release gem
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- rubygems-otp-code:
7
- description: RubyGems OTP code
8
- required: true
9
-
10
- permissions:
11
- contents: write
12
-
13
- jobs:
14
- release-gem:
15
- runs-on: ubuntu-latest
16
- env:
17
- GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
18
- GEM_HOST_OTP_CODE: ${{ github.event.inputs.rubygems-otp-code }}
19
- steps:
20
- - uses: actions/checkout@v2
21
- with:
22
- fetch-depth: 0 # bundle exec rake release で git tag を見るため、tagをfetchするようにしている
23
- - uses: ruby/setup-ruby@v1
24
- with:
25
- ruby-version: 3.2
26
- - name: Bundle install
27
- run: bundle install
28
- - name: Setup git config # bundle exec rake release でgit tagが打たれていない場合、タグを打ってpushしてくれるため用意している
29
- run: |
30
- git config --global user.email "taka0125@gmail.com"
31
- git config --global user.name "Takahiro Ooishi"
32
- - name: Release gem
33
- run: bundle exec rake release
@@ -1,21 +0,0 @@
1
- name: Ruby
2
-
3
- on: [push]
4
-
5
- jobs:
6
- test:
7
- runs-on: ubuntu-latest
8
-
9
- strategy:
10
- matrix:
11
- ruby: ['2.7', '3.0', '3.1', '3.2']
12
-
13
- steps:
14
- - uses: actions/checkout@v2
15
-
16
- - uses: ruby/setup-ruby@v1
17
- with:
18
- ruby-version: ${{ matrix.ruby }}
19
- bundler-cache: true
20
-
21
- - run: bundle exec rspec
data/.gitignore DELETED
@@ -1,10 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /vendor/
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --require spec_helper
2
- --format documentation
3
- --color
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in asset_finder.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,9 +0,0 @@
1
- require "bundler/gem_tasks"
2
-
3
- require 'rspec/core/rake_task'
4
-
5
- task :default => [:spec]
6
-
7
- RSpec::Core::RakeTask.new(:spec) do |spec|
8
- spec.pattern = 'spec/**/*_spec.rb'
9
- end
data/asset_finder.gemspec DELETED
@@ -1,26 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'asset_finder/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "asset_finder"
8
- spec.version = AssetFinder::VERSION
9
- spec.authors = ["Takahiro Ooishi"]
10
- spec.email = ["taka0125@gmail.com"]
11
-
12
- spec.summary = %q{Find javascripts and stylesheets for `rake asset:precompile`.}
13
- spec.description = %q{Find javascripts and stylesheets. Configure precompile path.}
14
- spec.homepage = "https://github.com/taka0125/asset_finder"
15
- spec.license = "MIT"
16
-
17
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- spec.bindir = "exe"
19
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
- spec.require_paths = ["lib"]
21
-
22
- spec.add_dependency 'railties', '>= 6.0', '< 7.1'
23
- spec.add_development_dependency "bundler"
24
- spec.add_development_dependency "rake"
25
- spec.add_development_dependency "rspec"
26
- end
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "asset_finder"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here