jun 0.3.1 → 0.3.2

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: febb60185e9d61a52eb783ec6052f39a35b7a41afca6bf27cf8db4bea718536f
4
- data.tar.gz: 8c4068f3c9093bc6b9184d1e9eeda93e06ff4ba11bf826c4dec93feb218efc73
3
+ metadata.gz: 6b6cc6a15d5af338fd4de1afc935b39f43dd28967b636fc5bb652d014232d139
4
+ data.tar.gz: 0755de2dc72eb2c0879fcb42af4230073c5b0e15c31e393bf7f4db3238f1dc1e
5
5
  SHA512:
6
- metadata.gz: '0957dea84721aec8cbb82eeef95d7516c5862960683086686ee6b1ee2e0fae69ff4dbf72d145530d174f9220cd8e384206160a1264a9eba5eeaf334d51bd8674'
7
- data.tar.gz: 5e90b858218ba802b04d5d7752f227947493b0c65243437faf8757147c726815794dd6f921521ce438b03ffc66883152379988b4b05058ad70276879c6d26e0d
6
+ metadata.gz: 79d60c6c07d2f0680c454c620b6c4d32938cc14de180fedef634fb47b3ff56b53a490eeefbabc67371af9e1116ffa19362d554828373da19775ff9b3a8660777
7
+ data.tar.gz: 034d8cebfd5e1e371564c33017dfdcaed4cefdd71a920d8e0a38a06a15d0fbe22ec924a5dfe44ecc3bc0923e169df0f8a488b732cb85ce07f71a20b8a8cd842a
@@ -6,9 +6,14 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
 
8
8
  <style>
9
+ :root {
10
+ --background-color: #fff3f3;
11
+ --primary-color: #fc7e70;
12
+ }
13
+
9
14
  body {
10
15
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
11
- background-color: #fff3f3;
16
+ background-color: var(--background-color);
12
17
  color: #7d3737;
13
18
  }
14
19
 
@@ -22,12 +27,17 @@
22
27
  }
23
28
 
24
29
  .button {
25
- background-color: #fc7e70;
30
+ background-color: var(--primary-color);
26
31
  color: #fff;
27
32
  margin: 0 0.2rem;
28
33
  padding: 0.5rem 0.75rem;
29
34
  border-radius: 3px;
30
35
  text-decoration: none;
36
+ user-select: none;
37
+ }
38
+
39
+ .button:hover {
40
+ background-color: #ef7769;
31
41
  }
32
42
 
33
43
  .docs-links {
@@ -38,8 +48,20 @@
38
48
  width: 100px;
39
49
  height: 100px;
40
50
  border-radius: 50%;
41
- background-color: #fc7e70;
51
+ background-color: var(--primary-color);
42
52
  margin: 2rem auto;
53
+ position: relative;
54
+ }
55
+
56
+ .sunspot::before {
57
+ content: "";
58
+ width: 50px;
59
+ height: 50px;
60
+ position: absolute;
61
+ background-color: var(--background-color);
62
+ border-radius: 50%;
63
+ top: 25px;
64
+ left: 25px;
43
65
  }
44
66
  </style>
45
67
  </head>
data/lib/jun/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jun
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-05 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -110,21 +110,14 @@ dependencies:
110
110
  version: '0.14'
111
111
  description: A simple web framework inspired by Rails. Not meant for production use.
112
112
  email:
113
- - zspesic@gmail.com
114
113
  executables:
115
114
  - jun
116
115
  extensions: []
117
116
  extra_rdoc_files: []
118
117
  files:
119
- - ".rubocop.yml"
120
- - Gemfile
121
118
  - LICENSE.txt
122
119
  - README.md
123
- - Rakefile
124
- - bin/console
125
- - bin/setup
126
120
  - exe/jun
127
- - jun.gemspec
128
121
  - lib/jun.rb
129
122
  - lib/jun/action_controller/base.rb
130
123
  - lib/jun/action_controller/callbacks.rb
@@ -197,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
190
  - !ruby/object:Gem::Version
198
191
  version: '0'
199
192
  requirements: []
200
- rubygems_version: 3.2.32
193
+ rubygems_version: 3.4.3
201
194
  signing_key:
202
195
  specification_version: 4
203
196
  summary: A simple Ruby web framework.
data/.rubocop.yml DELETED
@@ -1,13 +0,0 @@
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/Gemfile DELETED
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- gemspec
data/Rakefile DELETED
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rake/testtask"
5
-
6
- Rake::TestTask.new(:test) do |t|
7
- t.libs << "test"
8
- t.libs << "lib"
9
- t.test_files = FileList["test/**/*_test.rb"]
10
- end
11
-
12
- require "rubocop/rake_task"
13
-
14
- RuboCop::RakeTask.new
15
-
16
- task default: %i[test rubocop]
data/bin/console DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "pry"
6
- require "jun"
7
-
8
- Pry.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
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
data/jun.gemspec DELETED
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/jun/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "jun"
7
- spec.version = Jun::VERSION
8
- spec.authors = ["Zoran"]
9
- spec.email = ["zspesic@gmail.com"]
10
-
11
- spec.summary = "A simple Ruby web framework."
12
- spec.description = "A simple web framework inspired by Rails. Not meant for production use."
13
- spec.homepage = "https://github.com/zokioki/jun"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.6.0"
16
-
17
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
18
- `git ls-files -z`.split("\x0").reject do |f|
19
- (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
20
- end
21
- end
22
-
23
- spec.bindir = "exe"
24
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
25
- spec.require_paths = ["lib"]
26
-
27
- spec.add_runtime_dependency "rack", "~> 2.2"
28
- spec.add_runtime_dependency "tilt", "~> 2.0"
29
- spec.add_runtime_dependency "sqlite3", "~> 1.4"
30
-
31
- spec.add_development_dependency "rake", "~> 13.0"
32
- spec.add_development_dependency "minitest", "~> 5.0"
33
- spec.add_development_dependency "rubocop", "~> 1.21"
34
- spec.add_development_dependency "pry", "~> 0.14"
35
- end