zafiro 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of zafiro might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63e13d03d9fb2f3baeb0597c721bc750fcdf1a4df57c1997ed9ed0fce08c8ae0
4
- data.tar.gz: 98e0d1ae55e84781271b528490871a418efb6917b1c458204bd3fc2420c9f4dc
3
+ metadata.gz: 0a9688cb9fbe58081e836f584a466bb52c03eaefacf9d434fd409de96701e712
4
+ data.tar.gz: f1b93af65084271f9eb9edcd1dd4389c7e50cda4edf628f8d1e5dff985518e1f
5
5
  SHA512:
6
- metadata.gz: 4126916f74d208969fd23ba405ba89066b5f8927dc980476832d6cf090dee182248303e81962e95fb5dc83cfc9347c44c78a78a16f76e7a39789f656006df4e4
7
- data.tar.gz: 9b4534c9747ab383fabf8921d60258f24c1801fc1d65cda674c4689ca1d665e2e7eb4fd00aa5fcfa3bbe78823fb842fa4551f071a2373cc0920e8403fcc0fa8d
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"
data/bin/console ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "zafiro"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ require "irb"
11
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -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.0"
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.0
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,15 +18,20 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - ".standard.yml"
22
21
  - CHANGELOG.md
23
22
  - CODE_OF_CONDUCT.md
23
+ - Gemfile
24
24
  - LICENSE.txt
25
25
  - README.md
26
26
  - Rakefile
27
+ - bin/console
28
+ - bin/setup
27
29
  - lib/zafiro.rb
30
+ - lib/zafiro/generators/install/install_generator.rb
31
+ - lib/zafiro/generators/install/templates/zafiro.css
28
32
  - lib/zafiro/version.rb
29
33
  - sig/zafiro.rbs
34
+ - zafiro.gemspec
30
35
  homepage: https://github.com/nicobertin/zafiro
31
36
  licenses:
32
37
  - MIT
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