savio 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a837ea050d5cd7e54c5b9f8cea93183f254790aba04518affabc2112e69d55d
4
- data.tar.gz: ff533e972e728cc937d0f237c097b4d9fb427d1b0d68241a5544be721d2e25d0
3
+ metadata.gz: 94f357a3819daf51a638f59c3467b55e80f0076c51e69bc106aac402a752650f
4
+ data.tar.gz: b00b804986834a8ac252ba9c90814b550c0c5361f2f4cee1aeb7936ebbe3ef94
5
5
  SHA512:
6
- metadata.gz: c6f30fe529ceb5f0827cfe1e603cc277ecd4a13b7f40c1105286dfe7313a44d39615ad330e53c3c04e885ad74a004cdb4c768a7e73bd1a1d3265479b75f323ad
7
- data.tar.gz: ec3e89e754d3cccd0a7c4b735c4e1ebb636f25f78ff34d5a4bd1bac8b5193dc3be1e445cd9200a7c2cdad0320dd4583074dffbf531c6e07429052bb82b4964a8
6
+ metadata.gz: 327c6bdce586b41a05bfdf539a5baf2d9cb9b76d7911f9cb7f8116546917f3866343446440775c28939ff0c02c35acbad04082b0ebaebf7af0f113770232b054
7
+ data.tar.gz: a638f761b674dd600aa510abfba0beac19ab6f6a56efd3f3d586cf817a9e4bc5dc0bcefe6e8aa8730b707413a11fee7a70fa306c64fd8016946d94db3ad376fb
data/.DS_Store CHANGED
Binary file
data/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  # | *Sav***IO**
2
- ![Screenshot](https://github.com/TheRealSavi/savio/blob/master/preview.png)
3
2
  ## What is it?
4
3
 
5
4
  SavIO is an input/output library created to be used with **Ruby2D**. It adds multiple ways for the user to interact with your application, including :
@@ -9,6 +8,15 @@ SavIO is an input/output library created to be used with **Ruby2D**. It adds mul
9
8
  - Text Input
10
9
  - Color Picker (Work In Progress)
11
10
 
11
+ ## How to install?
12
+
13
+ Easy! do:
14
+
15
+ gem install savio
16
+
17
+ then in your program do:
18
+
19
+ require "savio"
12
20
 
13
21
  ## How do they work?
14
22
 
@@ -1,3 +1,3 @@
1
1
  module Savio
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -6,10 +6,11 @@ Gem::Specification.new do |spec|
6
6
  spec.authors = ["TheRealSavi"]
7
7
  spec.email = ["JohnGibbons167@gmail.com"]
8
8
 
9
- spec.summary = %q{Adds IO Elements to ruby2D}
10
- spec.description = %q{Alows you to easily ask for user input through sliders, buttons, text boxs, etc}
9
+ spec.summary = %q{Adds IO Elements to Ruby2D}
10
+ spec.description = %q{Allows you to easily ask for user input through sliders, buttons, text boxs, etc}
11
11
  spec.homepage = "http://www.gibbonsiv.com"
12
12
  spec.license = "MIT"
13
+ spec.metadata = { "source_code_uri" => "https://github.com/TheRealSavi/savio" }
13
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
15
 
15
16
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: savio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TheRealSavi
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.9.2
27
- description: Alows you to easily ask for user input through sliders, buttons, text
27
+ description: Allows you to easily ask for user input through sliders, buttons, text
28
28
  boxs, etc
29
29
  email:
30
30
  - JohnGibbons167@gmail.com
@@ -54,11 +54,11 @@ files:
54
54
  - lib/savio/io.rb
55
55
  - lib/savio/version.rb
56
56
  - savio.gemspec
57
- - testing.rb
58
57
  homepage: http://www.gibbonsiv.com
59
58
  licenses:
60
59
  - MIT
61
- metadata: {}
60
+ metadata:
61
+ source_code_uri: https://github.com/TheRealSavi/savio
62
62
  post_install_message:
63
63
  rdoc_options: []
64
64
  require_paths:
@@ -77,5 +77,5 @@ requirements: []
77
77
  rubygems_version: 3.0.3
78
78
  signing_key:
79
79
  specification_version: 4
80
- summary: Adds IO Elements to ruby2D
80
+ summary: Adds IO Elements to Ruby2D
81
81
  test_files: []
data/testing.rb DELETED
@@ -1,27 +0,0 @@
1
- require 'ruby2d'
2
- require_relative 'lib/savio.rb'
3
- puts 'hello world'
4
- sldr = Slider.new(x:100,y:20, draggingEnabled: true, dragType: 'duplicate')
5
- inpt = InputBox.new()
6
- butn = Button.new(x: 500, y:50)
7
- but2 = Button.new(x: 500, y:100)
8
- btmn = ButtonManager.new(type: 'radio')
9
- clsl = ColorSlider.new(x: 200,y:200)
10
-
11
- but2.buttonManager = btmn
12
- butn.buttonManager = btmn
13
-
14
- butn.onClick do
15
- Savio.hide
16
- end
17
- but2.onClick do
18
- Savio.unhide
19
- end
20
-
21
- puts Savio.makeBool(0)
22
-
23
- update do
24
-
25
- inpt.value = inpt.y.to_s
26
- end
27
- show()