faucet_pipeline_rails 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba14fb6343c994e2828d3b49031a5cc9fc9dfcb9123995800f0eeb4680e5306b
4
- data.tar.gz: eb84fa32b7ef274840f1d7695b30a23ab47db1e47df56beea89a9eb9f2747c30
3
+ metadata.gz: adf1150e0a5781d990a3cde8f0a013dc61dde9fd05292aa5aca3202518e10b02
4
+ data.tar.gz: bf2197a5c259f25f80a95c2a73c24454ee6a5320ff8ad03e56977659c87ac496
5
5
  SHA512:
6
- metadata.gz: c871687c45eb0fdc18ac823eefb0ed95706847b662f22343b0c977c90662147ed32737d928d1fb1278b35624c318cffcadf233f3a86094c4cc3dfd6f805d3e4e
7
- data.tar.gz: e90b2e301b749ca44b9a468c05f972e71e63c1ffaf5f166e874986149b877369c01ff2347414c697164e85a0077c293d554606ed9af490063113aefb951675b7
6
+ metadata.gz: 8698d218d3b6bba0a2c475f4cc692049dd46b7c7c82a3c72fd8d34696c778a48191d1e5d50672f294d328c776f41c69125fd12287a3b7176b29d601db3f66e5c
7
+ data.tar.gz: a12f7300e7087d1dfa687fbb8e91ec0c8b2996fbbd4c9bf66b2bbf149f191edbbcd45b64710f9037e63bde03b3cac90b2d10c105bfa187472462e75b6a65cc28
data/README.md CHANGED
@@ -1,16 +1,11 @@
1
1
  # Use Rails with faucet-pipeline
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/faucet_pipeline_rails.svg)](https://badge.fury.io/rb/faucet_pipeline_rails)
4
- [![Build Status](https://travis-ci.org/faucet-pipeline/faucet_pipeline_rails.svg)](https://travis-ci.org/faucet-pipeline/faucet_pipeline_rails)
5
- [![Depfu](https://badges.depfu.com/badges/b4c249c5f46c9aacee1d821248319101/overview.svg)](https://depfu.com/github/faucet-pipeline/faucet_pipeline_rails?project_id=5904)
3
+ [![Gem](https://img.shields.io/gem/v/faucet_pipeline_rails)](https://rubygems.org/gems/faucet_pipeline_rails)
6
4
 
7
5
  Instead of using the built-in asset pipeline of Rails, use
8
- [`faucet-pipeline`](https://github.com/faucet-pipeline/faucet-pipeline). This
6
+ [`faucet-pipeline`](https://www.faucet-pipeline.org). This
9
7
  gem enables the required integration with Rails.
10
8
 
11
- [You can find an example app
12
- here](https://github.com/faucet-pipeline/faucet_pipeline_rails_example).
13
-
14
9
  Why is an integration like that required? `faucet-pipeline` modifies the names
15
10
  of the generated files depending on their content (by adding a hash of the file
16
11
  to the name), Rails will not be able to find the files on its own. You still
@@ -47,7 +42,7 @@ The types supported by this gem are:
47
42
  Add this line to your application's Gemfile:
48
43
 
49
44
  ```ruby
50
- gem 'faucet_pipeline_rails'
45
+ gem "faucet_pipeline_rails"
51
46
  ```
52
47
 
53
48
  And then execute:
@@ -92,21 +87,26 @@ This is a nice starting point for a `faucet.config.js`:
92
87
  module.exports = {
93
88
  js: [{
94
89
  source: "./app/assets/javascripts/application.js",
95
- target: "./public/assets/javascripts/application.js"
90
+ target: "./public/assets/javascripts/application.js",
91
+ format: "esm"
96
92
  }],
93
+
97
94
  sass: [{
98
95
  source: "./app/assets/stylesheets/application.scss",
99
96
  target: "./public/assets/stylesheets/application.css"
100
97
  }],
98
+
101
99
  static: [{
102
100
  source: "./app/assets/images",
103
101
  target: "./public/assets/images"
104
102
  }],
103
+
105
104
  manifest: {
106
105
  target: "./public/assets/manifest.json",
107
106
  key: "short",
108
107
  webRoot: "./public"
109
108
  },
109
+
110
110
  watchDirs: ["./app/assets"]
111
111
  };
112
112
  ```
@@ -114,8 +114,8 @@ module.exports = {
114
114
  In this case, your `application.html.erb` would contain lines like these:
115
115
 
116
116
  ```erb
117
- <%= stylesheet_link_tag 'application.css', media: 'all', 'data-turbolinks-track': 'reload' %>
118
- <%= javascript_include_tag 'application.js', 'data-turbolinks-track': 'reload' %>
117
+ <%= stylesheet_link_tag "application.css", media: "all" %>
118
+ <%= javascript_include_tag "application.js", type: "module" %>
119
119
  ```
120
120
 
121
121
  By default this gem assumes that your manifest files can be found in
@@ -147,8 +147,8 @@ git commits and tags, and push the `.gem` file to
147
147
 
148
148
  ## Contributing
149
149
 
150
- Bug reports and pull requests are welcome on GitHub at
151
- https://github.com/faucet-pipeline/faucet_pipeline_rails. This project is
150
+ Bug reports and pull requests are welcome on Codeberg at
151
+ https://codeberg.org/faucet-pipeline/faucet_pipeline_rails. This project is
152
152
  intended to be a safe, welcoming space for collaboration, and contributors are
153
153
  expected to adhere to the [Contributor
154
154
  Covenant](http://contributor-covenant.org) code of conduct.
@@ -1,3 +1,3 @@
1
1
  module FaucetPipelineRails
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,61 +1,74 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faucet_pipeline_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Dohmen
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2020-02-13 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: rails
13
+ name: railties
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">="
16
+ - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 4.2.10
18
+ version: '8.0'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - ">="
23
+ - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 4.2.10
25
+ version: '8.0'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rubocop
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 0.79.0
32
+ version: 1.89.0
34
33
  type: :development
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 0.79.0
39
+ version: 1.89.0
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: rake
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: 13.0.0
46
+ version: 13.4.2
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: 13.4.2
54
+ - !ruby/object:Gem::Dependency
55
+ name: tzinfo-data
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 1.2026.3
48
61
  type: :development
49
62
  prerelease: false
50
63
  version_requirements: !ruby/object:Gem::Requirement
51
64
  requirements:
52
65
  - - "~>"
53
66
  - !ruby/object:Gem::Version
54
- version: 13.0.0
67
+ version: 1.2026.3
55
68
  description: Instead of using the build-in asset pipeline of Rails, use faucet-pipeline.
56
69
  This gem enables the required integration with Rails.
57
70
  email:
58
- - lucas.dohmen@innoq.com
71
+ - lucas@dohmen.io
59
72
  executables: []
60
73
  extensions: []
61
74
  extra_rdoc_files: []
@@ -66,11 +79,10 @@ files:
66
79
  - lib/faucet_pipeline_rails/manifest.rb
67
80
  - lib/faucet_pipeline_rails/railtie.rb
68
81
  - lib/faucet_pipeline_rails/version.rb
69
- homepage: https://github.com/faucet-pipeline/faucet_pipeline_rails
82
+ homepage: https://codeberg.org/faucet-pipeline/faucet_pipeline_rails
70
83
  licenses:
71
84
  - MIT
72
85
  metadata: {}
73
- post_install_message:
74
86
  rdoc_options: []
75
87
  require_paths:
76
88
  - lib
@@ -85,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
97
  - !ruby/object:Gem::Version
86
98
  version: '0'
87
99
  requirements: []
88
- rubygems_version: 3.0.3
89
- signing_key:
100
+ rubygems_version: 4.0.18
90
101
  specification_version: 4
91
102
  summary: Use Rails with faucet-pipeline
92
103
  test_files: []