sevgi 0.0.0 → 0.0.1

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.
@@ -14,7 +14,7 @@ module Sevgi
14
14
 
15
15
  def variant(message)
16
16
  Class.new(self) do
17
- define_method(:message) { [@context, message, @args.map { "'#{_1}'" }.join(", ")].join(": ") }
17
+ define_method(:message) { [ @context, message, @args.map { "'#{_1}'" }.join(", ") ].join(": ") }
18
18
  end
19
19
  end
20
20
  end
@@ -12,7 +12,7 @@ module Sevgi
12
12
 
13
13
  Tsquare.new(
14
14
  hruler: Utensils::Ruler.new(brut: canvas.width, unit:, multiple:, minspace: canvas.left),
15
- vruler: Utensils::Ruler.new(brut: canvas.height, unit:, multiple:, minspace: canvas.top),
15
+ vruler: Utensils::Ruler.new(brut: canvas.height, unit:, multiple:, minspace: canvas.top)
16
16
  )
17
17
  end
18
18
  end
@@ -35,9 +35,9 @@ module Sevgi
35
35
 
36
36
  def parts(lps, mps, nps)
37
37
  [
38
- Parts.new(halves: lps, majors: mps, minors: nps), # points
39
- Parts.new(halves: [lps.first, lps.last], majors: [mps.first, mps.last], minors: [nps.first, nps.last]), # contours
40
- Parts.new(halves: segments(lps), majors: segments(mps), minors: segments(nps)), # segments
38
+ Parts.new(halves: lps, majors: mps, minors: nps), # points
39
+ Parts.new(halves: [ lps.first, lps.last ], majors: [ mps.first, mps.last ], minors: [ nps.first, nps.last ]), # contours
40
+ Parts.new(halves: segments(lps), majors: segments(mps), minors: segments(nps)) # segments
41
41
  ]
42
42
  end
43
43
 
data/lib/sevgi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sevgi
4
- VERSION = "0.0.0"
4
+ VERSION = "0.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevgi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recai Oktaş
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-23 00:00:00.000000000 Z
11
+ date: 2024-01-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Toolkit for Creating SVG Content Programmatically with Ruby
14
14
  email: roktas@gmail.com
@@ -97,7 +97,7 @@ files:
97
97
  - lib/sevgi/utensils/ruler.rb
98
98
  - lib/sevgi/utensils/tsquare.rb
99
99
  - lib/sevgi/version.rb
100
- homepage: https://roktas.dev/sevgi
100
+ homepage: https://sevgi.roktas.dev
101
101
  licenses:
102
102
  - GPL-3.0-or-later
103
103
  metadata:
@@ -105,7 +105,7 @@ metadata:
105
105
  source_code_uri: https://github.com/roktas/sevgi
106
106
  bug_tracker_uri: https://github.com/roktas/sevgi/issues
107
107
  rubygems_mfa_required: 'true'
108
- post_install_message:
108
+ post_install_message:
109
109
  rdoc_options: []
110
110
  require_paths:
111
111
  - lib
@@ -120,8 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  requirements: []
123
- rubygems_version: 3.4.19
124
- signing_key:
123
+ rubygems_version: 3.5.5
124
+ signing_key:
125
125
  specification_version: 4
126
126
  summary: Toolkit for Creating SVG Content Programmatically with Ruby
127
127
  test_files: []