faw_files 1.0.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: e436d9edfac07e7c54c16172f0e1260895e93d5778ce093945413d39dda297cd
4
+ data.tar.gz: ed96172f6a2e04c84bee600a80ae93d807035353f03c9833da8b841c3c0cc9df
5
+ SHA512:
6
+ metadata.gz: 7a64659467387fba37ebbc082770532790a591f24bd75873ec235d32e32b87525c7f04e0dc94892bcaa600e49892853e01cdade88efb1c26392c5ce6388a2356
7
+ data.tar.gz: f7e6a02bc78f30534f3c7c235fad75d3d02e4b69a4ebc883e41f480ede1b50db3a3d3799bc54d6accfdb6e13d0853b1f1d82aadeba837636d5acebff6b445b3c
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in faw_files.gemspec
6
+ gemspec
7
+
8
+ gem "irb"
9
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,26 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ faw_files (1.0.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ io-console (0.6.0)
10
+ irb (1.6.2)
11
+ reline (>= 0.3.0)
12
+ rake (13.2.1)
13
+ reline (0.3.2)
14
+ io-console (~> 0.5)
15
+
16
+ PLATFORMS
17
+ ruby
18
+ x86_64-linux
19
+
20
+ DEPENDENCIES
21
+ faw_files!
22
+ irb
23
+ rake (~> 13.0)
24
+
25
+ BUNDLED WITH
26
+ 2.6.6
data/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # FawFiles
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem.
6
+ Put your Ruby code in the file `lib/faw_files`. To experiment with that code, run `bin/console` for an interactive prompt.
7
+
8
+ ## Installation
9
+
10
+ ## Usage
11
+
12
+ TODO: Write usage instructions here
13
+
14
+ ## Development
15
+
16
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
17
+
18
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
19
+
20
+ ## Contributing
21
+
22
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/faw_files.
23
+
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
data/faw_files.gemspec ADDED
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/faw_files/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "faw_files"
7
+ spec.version = FawFiles::VERSION
8
+ spec.authors = ["alexwebgr"]
9
+ # spec.email = ["TODO: Write your email address"]
10
+
11
+ spec.summary = "Write a short summary, because RubyGems requires one."
12
+ spec.description = "Write a longer description or delete this line."
13
+ spec.license = "MIT"
14
+ spec.homepage = "https://github.com/alexwebgr/faw_files"
15
+ # spec.homepage = "TODO: Put your gem's website or public repo URL here."
16
+ spec.required_ruby_version = ">= 3.0.0"
17
+
18
+ # spec.metadata["homepage_uri"] = spec.homepage
19
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
20
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
21
+
22
+ # Specify which files should be added to the gem when it is released.
23
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
24
+ gemspec = File.basename(__FILE__)
25
+ # spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
26
+ # ls.readlines("\x0", chomp: true).reject do |f|
27
+ # (f == gemspec) ||
28
+ # f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
29
+ # end
30
+ # end
31
+ # spec.require_paths = ["lib"]
32
+ # spec.files = Dir["{lib,vendor}/**/*", "README.md", "faw_files.gemspec"]
33
+
34
+ # all_files = Dir.glob("{lib,vendor,bin}/**/*", File::FNM_DOTMATCH) +
35
+ # Dir.glob("{faw_files.gemspec}") # Add root files
36
+ #
37
+ # # Filter out directories and the nested .git content
38
+ # spec.files = all_files.reject do |f|
39
+ # File.directory?(f) ||
40
+ # f.include?('/.git/') ||
41
+ # f.end_with?('/.git') ||
42
+ # f.start_with?('.idea/')
43
+ # end
44
+
45
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
46
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin|test|spec|features|vendor|.git|.idea)/}) }
47
+ end
48
+
49
+ # Filter executables from the *filtered* file list
50
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
51
+ spec.require_paths = ["lib"]
52
+
53
+ # Uncomment to register a new dependency of your gem
54
+ # spec.add_dependency "example-gem", "~> 1.0"
55
+
56
+ # For more information and examples about making a new gem, check out our
57
+ # guide at: https://bundler.io/guides/creating_gem.html
58
+ end
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FawFiles
4
+ class Engine < ::Rails::Engine
5
+ initializer "faw_files.assets.precompile" do |app|
6
+ app.config.assets.paths << root.join("vendor", "assets", "images")
7
+
8
+ # If you need to precompile specific SVG files
9
+ app.config.assets.precompile += %w( fa/raw-svg/**/*.svg )
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FawFiles
4
+ VERSION = "1.0.0"
5
+ end
data/lib/faw_files.rb ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "faw_files/version"
4
+ require_relative "faw_files/engine" if defined?(Rails)
5
+
6
+ module FawFiles
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ end
data/sig/faw_files.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module FawFiles
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,52 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: faw_files
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - alexwebgr
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2025-05-01 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Write a longer description or delete this line.
14
+ email:
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".gitignore"
20
+ - Gemfile
21
+ - Gemfile.lock
22
+ - README.md
23
+ - Rakefile
24
+ - faw_files.gemspec
25
+ - lib/faw_files.rb
26
+ - lib/faw_files/engine.rb
27
+ - lib/faw_files/version.rb
28
+ - sig/faw_files.rbs
29
+ homepage: https://github.com/alexwebgr/faw_files
30
+ licenses:
31
+ - MIT
32
+ metadata: {}
33
+ post_install_message:
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 3.0.0
42
+ required_rubygems_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ requirements: []
48
+ rubygems_version: 3.3.7
49
+ signing_key:
50
+ specification_version: 4
51
+ summary: Write a short summary, because RubyGems requires one.
52
+ test_files: []