custom_tag 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6a80dd1476c2c27655a8b83566e873e01f6b210b1572b2b72e323aa50efc68f2
4
+ data.tar.gz: ed27c8f2294f0ce99e1bea9527eae578b43a505fd7566d3002b8ba3fce2cbff5
5
+ SHA512:
6
+ metadata.gz: 9d60a8b0e424a715b079df274982a35bf0db7adf6893cd86938455e90e815f53c6d3af2d5eac9065f9e7c727c4c2af67ed48060fa73e275385b5ed144fac1fba
7
+ data.tar.gz: e14cb994cf2d986aef92b5b52824eafa195dfea5d966d43ed134a53c941a212a49e890c3ddec5501d297d323892fb538e30d0a6ed2855e257a27ce7d25476198
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 2.6
data/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ # CHANGELOG for CustomTag
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in custom_tag.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
11
+
12
+ gem "standard", "~> 1.3"
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # CustomTag
2
+
3
+ > CustomTag allows you to use custom HTML tags in your Rails project and have them be replaced with standard HTML tags and attributes.
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ bundle add custom_tag
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ gem install custom_tag
14
+
15
+ ## Usage
16
+
17
+ TODO: Write usage instructions here
18
+
19
+ ## Development
20
+
21
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
22
+
23
+ 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).
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/andyjeffries/custom_tag>.
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "standard/rake"
9
+
10
+ task default: %i[spec standard]
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/custom_tag/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "custom_tag"
7
+ spec.version = CustomTag::VERSION
8
+ spec.authors = ["Andy Jeffries"]
9
+ spec.email = ["andy@andyjeffries.co.uk"]
10
+
11
+ spec.summary = "CustomTag allows you to use custom HTML tags in your Rails project and have them be replaced with standard HTML tags and attributes"
12
+ spec.description = "Jealous of custom <tags> in JS frameworks and want them in your Rails apps? CustomTag allows you to use custom HTML tags in your Rails project and have them be replaced with standard HTML tags and attributes."
13
+ spec.homepage = "https://github.com/andyjeffries/customtag"
14
+ spec.required_ruby_version = ">= 2.6.0"
15
+
16
+ # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = spec.homepage
20
+ spec.metadata["changelog_uri"] = "https://github.com/andyjeffries/customtag/blob/master/CHANGELOG.md"
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
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
27
+ end
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ # Uncomment to register a new dependency of your gem
34
+ # spec.add_dependency "example-gem", "~> 1.0"
35
+
36
+ # For more information and examples about making a new gem, check out our
37
+ # guide at: https://bundler.io/guides/creating_gem.html
38
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module CustomTag
4
+ VERSION = "0.1.0"
5
+ end
data/lib/custom_tag.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "custom_tag/version"
4
+
5
+ module CustomTag
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
@@ -0,0 +1,4 @@
1
+ module CustomTag
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: custom_tag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andy Jeffries
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Jealous of custom <tags> in JS frameworks and want them in your Rails
14
+ apps? CustomTag allows you to use custom HTML tags in your Rails project and have
15
+ them be replaced with standard HTML tags and attributes.
16
+ email:
17
+ - andy@andyjeffries.co.uk
18
+ executables: []
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - ".rspec"
23
+ - ".standard.yml"
24
+ - CHANGELOG.md
25
+ - Gemfile
26
+ - README.md
27
+ - Rakefile
28
+ - custom_tag.gemspec
29
+ - lib/custom_tag.rb
30
+ - lib/custom_tag/version.rb
31
+ - sig/custom_tag.rbs
32
+ homepage: https://github.com/andyjeffries/customtag
33
+ licenses: []
34
+ metadata:
35
+ homepage_uri: https://github.com/andyjeffries/customtag
36
+ source_code_uri: https://github.com/andyjeffries/customtag
37
+ changelog_uri: https://github.com/andyjeffries/customtag/blob/master/CHANGELOG.md
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 2.6.0
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubygems_version: 3.4.6
54
+ signing_key:
55
+ specification_version: 4
56
+ summary: CustomTag allows you to use custom HTML tags in your Rails project and have
57
+ them be replaced with standard HTML tags and attributes
58
+ test_files: []