atomic_view 0.0.1

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: 8dcef405148fcf0ef2b4c47209f41b37fb305892e1f4a4966c9e945d63840c3d
4
+ data.tar.gz: e049e89234232ae388cefaacbd165738c6c127ed5856453976b1fdaebdabbb25
5
+ SHA512:
6
+ metadata.gz: bc36fdcbadf439eeeefc3eb148e5ad07a15364cf28be682241051ad773c87489c12078bb0e51dc9b77477bce0555819f0159396148ba28a9e186bbe17ce91ed8
7
+ data.tar.gz: f8a93d1fd48feb8fb310d42ba4c19956c18cbc37d47c812b1213502f5d6e092f27fb8b89c679403449a377a7661c290d916e726f97d6afaca2ed97b19e2a015a
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## 0.0.1 - 2024-07-08
8
+
9
+ ### Added
10
+
11
+ - The start of ActionView, a component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.
12
+
13
+ ---
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gemspec
6
+
7
+ gem "rake", "~> 13.0"
8
+ gem "rspec", "~> 3.0"
9
+ gem "rubocop", "~> 1.21"
data/Gemfile.lock ADDED
@@ -0,0 +1,67 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ atomic_view (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ codelog (0.8.0)
11
+ thor (~> 0.19)
12
+ diff-lcs (1.5.1)
13
+ json (2.7.2)
14
+ language_server-protocol (3.17.0.3)
15
+ parallel (1.25.1)
16
+ parser (3.3.3.0)
17
+ ast (~> 2.4.1)
18
+ racc
19
+ racc (1.8.0)
20
+ rainbow (3.1.1)
21
+ rake (13.2.1)
22
+ regexp_parser (2.9.2)
23
+ rexml (3.3.1)
24
+ strscan
25
+ rspec (3.13.0)
26
+ rspec-core (~> 3.13.0)
27
+ rspec-expectations (~> 3.13.0)
28
+ rspec-mocks (~> 3.13.0)
29
+ rspec-core (3.13.0)
30
+ rspec-support (~> 3.13.0)
31
+ rspec-expectations (3.13.1)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.13.0)
34
+ rspec-mocks (3.13.1)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.13.0)
37
+ rspec-support (3.13.1)
38
+ rubocop (1.64.1)
39
+ json (~> 2.3)
40
+ language_server-protocol (>= 3.17.0)
41
+ parallel (~> 1.10)
42
+ parser (>= 3.3.0.2)
43
+ rainbow (>= 2.2.2, < 4.0)
44
+ regexp_parser (>= 1.8, < 3.0)
45
+ rexml (>= 3.2.5, < 4.0)
46
+ rubocop-ast (>= 1.31.1, < 2.0)
47
+ ruby-progressbar (~> 1.7)
48
+ unicode-display_width (>= 2.4.0, < 3.0)
49
+ rubocop-ast (1.31.3)
50
+ parser (>= 3.3.1.0)
51
+ ruby-progressbar (1.13.0)
52
+ strscan (3.1.0)
53
+ thor (0.20.3)
54
+ unicode-display_width (2.5.0)
55
+
56
+ PLATFORMS
57
+ arm64-darwin-21
58
+
59
+ DEPENDENCIES
60
+ atomic_view!
61
+ codelog
62
+ rake (~> 13.0)
63
+ rspec (~> 3.0)
64
+ rubocop (~> 1.21)
65
+
66
+ BUNDLED WITH
67
+ 2.4.12
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Joel Warrington
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # AtomicView
2
+
3
+ Component library built for [Ruby on Rails](https://rubyonrails.org/) with first-class support for [ActionView](https://guides.rubyonrails.org/action_view_overview.html) using [ViewComponent](https://viewcomponent.org/).
4
+
5
+ ## Installation
6
+
7
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
8
+
9
+ Install the gem and add to the application's Gemfile by executing:
10
+
11
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
12
+
13
+ If bundler is not being used to manage dependencies, install the gem by executing:
14
+
15
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
16
+
17
+ ## License
18
+
19
+ 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,12 @@
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 "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/atomic_view/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "atomic_view"
7
+ spec.version = AtomicView::VERSION
8
+ spec.authors = ["Joel Warrington"]
9
+ spec.email = ["joelw@hey.com"]
10
+
11
+ spec.summary = "Component library built for Ruby on Rails with first-class support for ActionView using ViewComponent."
12
+ spec.homepage = "https://github.com/joelzwarrington/atomic_view"
13
+ spec.license = "MIT"
14
+ spec.required_ruby_version = ">= 2.6.0"
15
+
16
+ spec.metadata = {
17
+ "homepage_uri" => "https://github.com/joelzwarrington/atomic_view",
18
+ "changelog_uri" => "https://github.com/joelzwarrington/atomic_view/blob/master/CHANGELOG.md",
19
+ "source_code_uri" => "https://github.com/joelzwarrington/atomic_view",
20
+ "bug_tracker_uri" => "https://github.com/joelzwarrington/atomic_view/issues",
21
+ "rubygems_mfa_required" => "true",
22
+ }
23
+
24
+ spec.files = Dir.chdir(__dir__) do
25
+ `git ls-files -z`.split("\x0").reject do |f|
26
+ (File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
27
+ end
28
+ end
29
+
30
+ spec.bindir = "exe"
31
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
+ spec.require_paths = ["lib"]
33
+
34
+ spec.add_development_dependency "codelog"
35
+ end
@@ -0,0 +1,16 @@
1
+ # Changelog Header -------------------------------------------------
2
+
3
+ header_textfile: changelogs/header.txt
4
+ default_changelog_filename: CHANGELOG.md
5
+
6
+ # Tag formatting ---------------------------------------------------
7
+
8
+ version_prefix: ""
9
+ version_suffix: ""
10
+ date_prefix: ""
11
+
12
+ # Date formatting --------------------------------------------------
13
+
14
+ show_date: true
15
+ date_input_format: "%Y-%m-%d"
16
+ date_output_format: "%Y-%m-%d"
@@ -0,0 +1,3 @@
1
+ All notable changes to this project will be documented in this file.
2
+
3
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
File without changes
@@ -0,0 +1,5 @@
1
+ ## 0.0.1 - 2024-07-08
2
+ ### Added
3
+ - The start of ActionView, a component library built for Ruby on Rails with first-class support for ActionView using ViewComponent.
4
+
5
+ ---
@@ -0,0 +1,20 @@
1
+ "Added":
2
+ - New features implemented
3
+
4
+ "Changed":
5
+ - Changes to existing feature
6
+
7
+ "Deprecated":
8
+ - Features that are soon to be removed
9
+
10
+ "Removed":
11
+ - Features that were removed
12
+
13
+ "Fixed":
14
+ - Changes to broken code
15
+
16
+ "Security":
17
+ - Changes that fix vulnerabilities
18
+
19
+ "Deploy notes":
20
+ - Changes that should impact the deploy process and what should be made before it
File without changes
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module AtomicView
4
+ VERSION = "0.0.1"
5
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "atomic_view/version"
4
+
5
+ module AtomicView; end
@@ -0,0 +1,4 @@
1
+ module AtomicView
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: atomic_view
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Joel Warrington
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: codelog
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description:
28
+ email:
29
+ - joelw@hey.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".rspec"
35
+ - ".rubocop.yml"
36
+ - CHANGELOG.md
37
+ - Gemfile
38
+ - Gemfile.lock
39
+ - LICENSE.txt
40
+ - README.md
41
+ - Rakefile
42
+ - atomic_view.gemspec
43
+ - changelogs/codelog.yml
44
+ - changelogs/header.txt
45
+ - changelogs/releases/.gitkeep
46
+ - changelogs/releases/0.0.1.md
47
+ - changelogs/template.yml
48
+ - changelogs/unreleased/.gitkeep
49
+ - lib/atomic_view.rb
50
+ - lib/atomic_view/version.rb
51
+ - sig/atomic_view.rbs
52
+ homepage: https://github.com/joelzwarrington/atomic_view
53
+ licenses:
54
+ - MIT
55
+ metadata:
56
+ homepage_uri: https://github.com/joelzwarrington/atomic_view
57
+ changelog_uri: https://github.com/joelzwarrington/atomic_view/blob/master/CHANGELOG.md
58
+ source_code_uri: https://github.com/joelzwarrington/atomic_view
59
+ bug_tracker_uri: https://github.com/joelzwarrington/atomic_view/issues
60
+ rubygems_mfa_required: 'true'
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 2.6.0
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubygems_version: 3.2.32
77
+ signing_key:
78
+ specification_version: 4
79
+ summary: Component library built for Ruby on Rails with first-class support for ActionView
80
+ using ViewComponent.
81
+ test_files: []