atv-rails 0.0.1 → 0.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: 3d84f86aa0661eeaa68ce6f720ffd8a04616596e4fa3f7c8eea46507259072be
4
- data.tar.gz: a86828ce059aeac19e2c215d5cfc51e7668409e658f9d3867e545bbe3efffeed
3
+ metadata.gz: 56a16b60a9e77c2d47522fde79c3014f0ebcab6e6e72f418f362d22cdb0e8a83
4
+ data.tar.gz: f51f3976b0484469e6c63eb4e13da56d9ff95e6ca5317177ebd64eee50c1ad99
5
5
  SHA512:
6
- metadata.gz: 8f09e35d71323af026a459de667e0e739a1c15d51e32d7f2753256ae8c7aec5c137d1a41b92909a855c11c36b6dd9c33594d0e1ae81d96e5ee562bfa923632cd
7
- data.tar.gz: 93987bc549e43b72b3b1f48b34d21cfeb13d8046dcb7630948c44f95a4532a217cb154891a0af200602ea9c4032b20df83dba9a93d4affc5ff4cfe8bf8568836
6
+ metadata.gz: b744f9784980219fb4b2094b7b79c53509224cc10e4c4e4c5a244a4a6621d6ef3a597f8f784a10e775c7c43798761f9fce4d4dd0bc781d4e9fd359a87f8ce441
7
+ data.tar.gz: dad98bc4ce0092bcc113eb6f0a0fed8d6405fd3b6a98af76222f4013aaf6c8a61a06339d3fa546371db811f9052d1002d56cf6a25a7001cafcb5b0396dd98d8c
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright Timothy Breitkreutz
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Atv::Rails
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "atv-rails"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install atv-rails
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "bundler/setup"
2
+
3
+ require "bundler/gem_tasks"
@@ -0,0 +1,6 @@
1
+ module Atv
2
+ module Rails
3
+ class Railtie < ::Rails::Railtie
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Atv
2
+ module Rails
3
+ VERSION = "0.0.2"
4
+ end
5
+ end
data/lib/atv/rails.rb ADDED
@@ -0,0 +1,8 @@
1
+ require "atv/rails/version"
2
+ require "atv/rails/railtie"
3
+
4
+ module Atv
5
+ module Rails
6
+ # Your code goes here...
7
+ end
8
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :atv_rails do
3
+ # # Task goes here
4
+ # end
metadata CHANGED
@@ -1,26 +1,50 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atv-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Tim Breitkreutz
7
+ - Timothy Breitkreutz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-02 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Gem to provide ATV for rails
14
- email: tim@sbrew.com
11
+ date: 2024-12-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 8.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 8.0.1
27
+ description: Functional alternative to Stimulus.js for Rails
28
+ email:
29
+ - tim@sbrew.com
15
30
  executables: []
16
31
  extensions: []
17
32
  extra_rdoc_files: []
18
33
  files:
19
- - lib/atv_helpers.rb
20
- homepage: https://rubygems.org/gems/atv-rails
34
+ - MIT-LICENSE
35
+ - README.md
36
+ - Rakefile
37
+ - lib/atv/rails.rb
38
+ - lib/atv/rails/railtie.rb
39
+ - lib/atv/rails/version.rb
40
+ - lib/tasks/atv/rails_tasks.rake
41
+ homepage: https://www.sbrew.com/atv
21
42
  licenses:
22
43
  - MIT
23
- metadata: {}
44
+ metadata:
45
+ homepage_uri: https://www.sbrew.com/atv
46
+ source_code_uri: https://github.com/timbreitkreutz/atv-rails
47
+ changelog_uri: https://github.com/timbreitkreutz/atv-rails/blob/main/CHANGELOG.md
24
48
  post_install_message:
25
49
  rdoc_options: []
26
50
  require_paths:
@@ -36,8 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
36
60
  - !ruby/object:Gem::Version
37
61
  version: '0'
38
62
  requirements: []
39
- rubygems_version: 3.5.17
63
+ rubygems_version: 3.5.22
40
64
  signing_key:
41
65
  specification_version: 4
42
- summary: Actions, Targets, Values for Rails JavaScript
66
+ summary: Functional JavaScript for Rails
43
67
  test_files: []
data/lib/atv_helpers.rb DELETED
@@ -1,7 +0,0 @@
1
- module AtvHelpers
2
- def atv_controller(name, element = "div")
3
- tag.send(element, "data-atv-controller=#{name.dasherize}") do
4
- yield if block_given?
5
- end
6
- end
7
- end