zafiro 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd1f80a65984d7c6016fd4a0c3e6f6f49046a0902b481f51fe04945aabfd3102
4
- data.tar.gz: b38f4cc050bbb563e55d41b69894e7658ef528a0e782d6d5878aa23c6e4ec19d
3
+ metadata.gz: 0a9688cb9fbe58081e836f584a466bb52c03eaefacf9d434fd409de96701e712
4
+ data.tar.gz: f1b93af65084271f9eb9edcd1dd4389c7e50cda4edf628f8d1e5dff985518e1f
5
5
  SHA512:
6
- metadata.gz: 1cd3425a08fa202d88d3c906d8f669a509b8c70d61a808ea86860d765e95d233148b1469196cd17f060d1aa4cbee8c7ae44d78f701be3d026c9d6ce073336748
7
- data.tar.gz: dc42dffd0a9221def0cd8730f308fa54a94915ad24feef4d2540a9e89cd7137f6337d7720214bc71e7b127489cf7ee0887e3e2dd6593dda569aea738afd3e516
6
+ metadata.gz: dfa5ce4e5b89987607c1f470c8cc916d7454932996ff3ed3d8df25effb24bfc2fe114263616b011ff1396d8b58353dd378279324f7c8ae5371bb2298388ff7a6
7
+ data.tar.gz: 7d9e1a26d0a04e2b152921801c3c2ffa1c7f72154deb03c5ddcf9c0a01e054986c72969a268fc63a024bf46189a8d25b5fa8af81d6bee88c28dc241b715e2283
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in zafiro.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "standard", "~> 1.3"
@@ -0,0 +1,11 @@
1
+ module Zafiro
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('templates', __dir__)
5
+
6
+ def create_stylesheet_file
7
+ copy_file 'zafiro.css', 'app/assets/stylesheets/zafiro.css'
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,4 @@
1
+ /* zafiro.css */
2
+ body {
3
+ background-color: #000000 !important;
4
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Zafiro
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
data/lib/zafiro.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "zafiro/version"
4
+ require_relative "zafiro/generators/install/install_generator"
4
5
 
5
6
  module Zafiro
6
7
  class Error < StandardError; end
data/zafiro.gemspec ADDED
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/zafiro/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "zafiro"
7
+ spec.version = Zafiro::VERSION
8
+ spec.authors = ["nicobertin"]
9
+ spec.email = ["bertin@live.cl"]
10
+
11
+ spec.summary = "A UI components library for Ruby applications."
12
+ spec.description = "Zafiro is a UI components library designed to help developers build beautiful and consistent user interfaces for Ruby applications."
13
+ spec.homepage = "https://github.com/nicobertin/zafiro"
14
+ spec.license = "MIT"
15
+ spec.required_ruby_version = ">= 3.0.0"
16
+
17
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
+
19
+ spec.metadata["homepage_uri"] = spec.homepage
20
+ spec.metadata["source_code_uri"] = "https://github.com/nicobertin/zafiro"
21
+ spec.metadata["changelog_uri"] = "https://github.com/nicobertin/zafiro/blob/main/CHANGELOG.md"
22
+
23
+ # Specify which files should be added to the gem when it is released.
24
+ spec.files = Dir.glob("**/*").select { |file| File.file?(file) } - Dir.glob("*.gem")
25
+
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ # Uncomment to register a new dependency of your gem
31
+ # spec.add_dependency "example-gem", "~> 1.0"
32
+
33
+ # For more information and examples about making a new gem, check out our
34
+ # guide at: https://bundler.io/guides/creating_gem.html
35
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zafiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - nicobertin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Zafiro is a UI components library designed to help developers build beautiful
14
14
  and consistent user interfaces for Ruby applications.
@@ -18,18 +18,20 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - ".gitignore"
22
- - ".standard.yml"
23
21
  - CHANGELOG.md
24
22
  - CODE_OF_CONDUCT.md
23
+ - Gemfile
25
24
  - LICENSE.txt
26
25
  - README.md
27
26
  - Rakefile
28
27
  - bin/console
29
28
  - bin/setup
30
29
  - lib/zafiro.rb
30
+ - lib/zafiro/generators/install/install_generator.rb
31
+ - lib/zafiro/generators/install/templates/zafiro.css
31
32
  - lib/zafiro/version.rb
32
33
  - sig/zafiro.rbs
34
+ - zafiro.gemspec
33
35
  homepage: https://github.com/nicobertin/zafiro
34
36
  licenses:
35
37
  - MIT
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
data/.standard.yml DELETED
@@ -1,3 +0,0 @@
1
- # For available configuration options, see:
2
- # https://github.com/standardrb/standard
3
- ruby_version: 3.0