nyle 0.6.1 → 0.7.0
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 +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +8 -3
- data/lib/nyle/version.rb +1 -1
- data/lib/nyle.rb +15 -7
- data/nyle.gemspec +3 -3
- data/samples/application/sugar.rb +2 -2
- data/samples/basic/color_chart.rb +0 -6
- data/samples/basic/color_pixel.rb +2 -2
- data/samples/basic/draw_text.rb +46 -38
- data/samples/basic/image_rotate.rb +1 -1
- data/samples/basic/keyboard.rb +3 -3
- data/samples/launcher.rb +6 -3
- metadata +2 -52
- data/.gitignore +0 -9
- data/Gemfile.lock +0 -61
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: a33dd14f3c5ebe3aca4a68321822a9f9e43cae7cc241762d1565c5958deb70a2
         | 
| 4 | 
            +
              data.tar.gz: 07f1ef3ff7c4ecb06a458434085946bd891615fcc636e07fa5fddb75b07e98ef
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 80f2cb71e85a567a9b6d36ac41ec21f9fb6b55fbe1863a645ccd83e150af46ebc14a70c24ba7216954f720913a8dc14475c6858e49451c6c7afacf4c91a3d1ac
         | 
| 7 | 
            +
              data.tar.gz: ef83253f3dfe474d064940cf51ba2f20d1e299c3b51633509777995acffda7f6d80f10d34713b3f1754ea8177942de057f7b11b0911873881de129cb230f6849
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,3 +1,16 @@ | |
| 1 | 
            +
            ### 0.7.0 (2019/02/09)
         | 
| 2 | 
            +
            #### New features
         | 
| 3 | 
            +
            * enhance `draw_text` to be able to specify font attributes(font-name, italic, bold)
         | 
| 4 | 
            +
            * change implementation of `draw_text` to use `show_pango_layout` instead of `show_text`
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            #### Bug fixes, etc.
         | 
| 7 | 
            +
            * adjust `nyle.gemspec`
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            #### Samples
         | 
| 10 | 
            +
            * revise `draw_text.rb`
         | 
| 11 | 
            +
            * ...and adjust other samples a little
         | 
| 12 | 
            +
             | 
| 13 | 
            +
             | 
| 1 14 | 
             
            ### 0.6.1 (2019/01/27)
         | 
| 2 15 | 
             
            #### New features
         | 
| 3 16 | 
             
            * add `Nyle.cursor_x` method
         | 
    
        data/README.md
    CHANGED
    
    | @@ -4,7 +4,7 @@ | |
| 4 4 |  | 
| 5 5 | 
             
            ## Requirements
         | 
| 6 6 |  | 
| 7 | 
            -
             | 
| 7 | 
            +
            Ruby/GTK3 >= 3.3.0
         | 
| 8 8 |  | 
| 9 9 | 
             
            ## Installation
         | 
| 10 10 |  | 
| @@ -12,6 +12,10 @@ Install it yourself as: | |
| 12 12 |  | 
| 13 13 | 
             
                $ gem install nyle
         | 
| 14 14 |  | 
| 15 | 
            +
            If using `gtk3-3.3.0` on Windows, you need the following further.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                $ gem install rsvg2 -v 3.3.0
         | 
| 18 | 
            +
             | 
| 15 19 | 
             
            ## Usage
         | 
| 16 20 |  | 
| 17 21 | 
             
            ```ruby
         | 
| @@ -20,11 +24,12 @@ require 'nyle' | |
| 20 24 |  | 
| 21 25 | 
             
            ## Documents
         | 
| 22 26 |  | 
| 23 | 
            -
             | 
| 27 | 
            +
            https://github.com/spoolkitamura/nyle/wiki  
         | 
| 24 28 |  | 
| 25 29 | 
             
            ## Samples
         | 
| 26 30 |  | 
| 27 | 
            -
             | 
| 31 | 
            +
            https://github.com/spoolkitamura/nyle/tree/master/samples  
         | 
| 32 | 
            +
            https://github.com/spoolkitamura/nyle/wiki/Samples  
         | 
| 28 33 |  | 
| 29 34 | 
             
            ## License
         | 
| 30 35 |  | 
    
        data/lib/nyle/version.rb
    CHANGED
    
    
    
        data/lib/nyle.rb
    CHANGED
    
    | @@ -246,16 +246,24 @@ module Nyle | |
| 246 246 | 
             
                end
         | 
| 247 247 | 
             
              end
         | 
| 248 248 |  | 
| 249 | 
            -
              module_function def draw_text(x, y, str, size: 32, color: :BLACK, a: 1.0)
         | 
| 249 | 
            +
              module_function def draw_text(x, y, str, size: 32, color: :BLACK, a: 1.0, font: "sans-serif", italic: false, bold: false)
         | 
| 250 250 | 
             
                cr = Nyle.module_eval{ @__cr }
         | 
| 251 251 | 
             
                cr.save do
         | 
| 252 | 
            -
                  cr. | 
| 253 | 
            -
                   | 
| 254 | 
            -
                   | 
| 255 | 
            -
             | 
| 252 | 
            +
                  pango_layout = cr.create_pango_layout
         | 
| 253 | 
            +
                  pango_layout.text = str
         | 
| 254 | 
            +
                  font_description        = Pango::FontDescription.new
         | 
| 255 | 
            +
                  font_description.family = font
         | 
| 256 | 
            +
                  font_description.style  = :italic if italic
         | 
| 257 | 
            +
                  font_description.weight = 700 if bold
         | 
| 258 | 
            +
                  font_description.size   = size * (72.0 / 96.0) * Pango::SCALE
         | 
| 259 | 
            +
                  pango_layout.font_description = font_description
         | 
| 260 | 
            +
                  cr.update_pango_layout(pango_layout)
         | 
| 261 | 
            +
                  cr.set_source_rgba(Cairo::Color.parse(color).r,
         | 
| 262 | 
            +
                                     Cairo::Color.parse(color).g,
         | 
| 256 263 | 
             
                                     Cairo::Color.parse(color).b, a)
         | 
| 257 | 
            -
                   | 
| 258 | 
            -
                  cr. | 
| 264 | 
            +
                  delta = (Nyle.module_eval{ @__os } == :mac ? size * (72.0 / 96.0) : size)
         | 
| 265 | 
            +
                  cr.move_to(x, y - delta)   # Why :mac?
         | 
| 266 | 
            +
                  cr.show_pango_layout(pango_layout)
         | 
| 259 267 | 
             
                end
         | 
| 260 268 | 
             
              end
         | 
| 261 269 |  | 
    
        data/nyle.gemspec
    CHANGED
    
    | @@ -36,9 +36,9 @@ Gem::Specification.new do |spec| | |
| 36 36 | 
             
              spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
         | 
| 37 37 | 
             
              spec.require_paths = ["lib"]
         | 
| 38 38 |  | 
| 39 | 
            -
              spec.add_development_dependency "bundler", "~> 1.17"
         | 
| 40 | 
            -
              spec.add_development_dependency "rake", "~> 10.0"
         | 
| 39 | 
            +
              #spec.add_development_dependency "bundler", "~> 1.17"
         | 
| 40 | 
            +
              #spec.add_development_dependency "rake", "~> 10.0"
         | 
| 41 41 |  | 
| 42 42 | 
             
              spec.add_runtime_dependency "gtk3", "~> 3.3.0", ">= 3.3.0"
         | 
| 43 | 
            -
              spec.add_runtime_dependency "rsvg2", "~> 3.3.0", ">= 3.3.0"
         | 
| 43 | 
            +
              #spec.add_runtime_dependency "rsvg2", "~> 3.3.0", ">= 3.3.0"
         | 
| 44 44 | 
             
            end
         | 
| @@ -41,7 +41,7 @@ class Screen < Nyle::Screen | |
| 41 41 | 
             
              BGCOLOR = :BLACK
         | 
| 42 42 |  | 
| 43 43 | 
             
              def initialize
         | 
| 44 | 
            -
                super( | 
| 44 | 
            +
                super(240, 240, {bgcolor: BGCOLOR, trace: true})
         | 
| 45 45 | 
             
                @dots = []
         | 
| 46 46 | 
             
              end
         | 
| 47 47 |  | 
| @@ -49,7 +49,7 @@ class Screen < Nyle::Screen | |
| 49 49 | 
             
                x, y = Nyle.mouse_x, Nyle.mouse_y
         | 
| 50 50 | 
             
                Nyle.draw_circle(x, y, 5, {color: FGCOLOR, fill: true}) if Nyle.mouse_down?(MOUSE_L)
         | 
| 51 51 | 
             
                Nyle.draw_circle(x, y, 5, {color: BGCOLOR, fill: true}) if Nyle.mouse_down?(MOUSE_R)
         | 
| 52 | 
            -
                @dots << Dot.new(rand(20) +  | 
| 52 | 
            +
                @dots << Dot.new(rand(20) + 110, 0) if @dots.size <= 300   # create dots (limit = 300)
         | 
| 53 53 | 
             
                @dots.delete_if do |dot|
         | 
| 54 54 | 
             
                  dot.move                                                # move dots
         | 
| 55 55 | 
             
                end
         | 
| @@ -33,12 +33,6 @@ class Screen < Nyle::Screen | |
| 33 33 | 
             
                  @start_index = 0 if @start_index >= @colors.length
         | 
| 34 34 | 
             
                end
         | 
| 35 35 |  | 
| 36 | 
            -
                if Nyle.key_press?(KEY_space)
         | 
| 37 | 
            -
                  @colors.each do |c|
         | 
| 38 | 
            -
                    puts "#{Cairo::Color.parse(c).to_s} (#{c.to_s})"
         | 
| 39 | 
            -
                  end
         | 
| 40 | 
            -
                end
         | 
| 41 | 
            -
             | 
| 42 36 | 
             
                Nyle.quit if Nyle.key_press?(KEY_Escape)
         | 
| 43 37 | 
             
              end
         | 
| 44 38 |  | 
| @@ -16,11 +16,11 @@ class Screen < Nyle::Screen | |
| 16 16 |  | 
| 17 17 | 
             
                x, y = Nyle.mouse_x, Nyle.mouse_y
         | 
| 18 18 | 
             
                if Nyle.pixel?(x, y, :WHITE)
         | 
| 19 | 
            -
                  Nyle.draw_text(10, 220, 'Move mouse  | 
| 19 | 
            +
                  Nyle.draw_text(10, 220, 'Move mouse pointer over any tile', {size: 14})
         | 
| 20 20 | 
             
                else
         | 
| 21 21 | 
             
                  color = Nyle.pixel(x, y)
         | 
| 22 22 | 
             
                  info = "(x=%3d, y=%3d)  %s" % [x, y, color]
         | 
| 23 | 
            -
                  Nyle.draw_text(10, 220, info, {size:  | 
| 23 | 
            +
                  Nyle.draw_text(10, 220, info, {size: 18, color: color})
         | 
| 24 24 | 
             
                end
         | 
| 25 25 |  | 
| 26 26 | 
             
                Nyle.quit if Nyle.key_press?(KEY_Escape)
         | 
    
        data/samples/basic/draw_text.rb
    CHANGED
    
    | @@ -6,44 +6,52 @@ class Screen < Nyle::Screen | |
| 6 6 | 
             
              end
         | 
| 7 7 |  | 
| 8 8 | 
             
              def draw
         | 
| 9 | 
            -
                Nyle. | 
| 10 | 
            -
                Nyle. | 
| 11 | 
            -
                Nyle.draw_text( | 
| 12 | 
            -
                Nyle.draw_text( | 
| 13 | 
            -
             | 
| 14 | 
            -
             | 
| 15 | 
            -
                Nyle.draw_text( 80, | 
| 16 | 
            -
                Nyle.draw_text(140, | 
| 17 | 
            -
                Nyle.draw_text(220, | 
| 18 | 
            -
                Nyle.draw_text(320, | 
| 19 | 
            -
                Nyle.draw_text(440, | 
| 20 | 
            -
             | 
| 21 | 
            -
                Nyle. | 
| 22 | 
            -
                Nyle.draw_text( | 
| 23 | 
            -
                Nyle.draw_text( | 
| 24 | 
            -
                Nyle.draw_text( | 
| 25 | 
            -
                Nyle.draw_text( | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
                Nyle. | 
| 29 | 
            -
                Nyle.draw_text( | 
| 30 | 
            -
                Nyle.draw_text( | 
| 31 | 
            -
                Nyle.draw_text( | 
| 32 | 
            -
             | 
| 33 | 
            -
                Nyle.draw_text( | 
| 34 | 
            -
             | 
| 35 | 
            -
                Nyle. | 
| 36 | 
            -
                Nyle.draw_text( | 
| 37 | 
            -
                Nyle.draw_text( | 
| 38 | 
            -
             | 
| 39 | 
            -
                Nyle.draw_text( | 
| 40 | 
            -
                Nyle.draw_text( | 
| 41 | 
            -
             | 
| 42 | 
            -
                Nyle. | 
| 43 | 
            -
                Nyle.draw_text( | 
| 44 | 
            -
             | 
| 45 | 
            -
                Nyle.draw_text( | 
| 46 | 
            -
                Nyle.draw_text( | 
| 9 | 
            +
                Nyle.draw_line( 20, 410, 620, 410, {color: :GRAY, a: 0.1})
         | 
| 10 | 
            +
                Nyle.draw_line( 20, 440, 620, 440, {color: :GRAY, a: 0.1})
         | 
| 11 | 
            +
                Nyle.draw_text( 80, 410, "minimal graphics framework", {size: 24})
         | 
| 12 | 
            +
                Nyle.draw_text(120, 440, "using Ruby/GTK3 and rcairo", {size: 24})
         | 
| 13 | 
            +
             | 
| 14 | 
            +
                Nyle.draw_line( 20,  50, 620,  50, {color: :GRAY, a: 0.1})
         | 
| 15 | 
            +
                Nyle.draw_text( 80,  50, "Nyle", {size: 18, font: "sans-serif"})
         | 
| 16 | 
            +
                Nyle.draw_text(140,  50, "Nyle", {size: 24, font: "sans-serif"})
         | 
| 17 | 
            +
                Nyle.draw_text(220,  50, "Nyle", {size: 32, font: "sans-serif", bold: true})
         | 
| 18 | 
            +
                Nyle.draw_text(320,  50, "Nyle", {size: 42, font: "sans-serif", italic: true})
         | 
| 19 | 
            +
                Nyle.draw_text(440,  50, "Nyle", {size: 48, font: "sans-serif", italic: true, bold: true})
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                Nyle.draw_line( 20, 110, 620, 110, {color: :GRAY, a: 0.1})
         | 
| 22 | 
            +
                Nyle.draw_text( 80, 110, "Nyle", {size: 18, a: 1.0, font: "sans-serif"})
         | 
| 23 | 
            +
                Nyle.draw_text(140, 110, "Nyle", {size: 24, a: 0.8, font: "sans-serif"})
         | 
| 24 | 
            +
                Nyle.draw_text(220, 110, "Nyle", {size: 32, a: 0.6, font: "sans-serif", bold: true})
         | 
| 25 | 
            +
                Nyle.draw_text(320, 110, "Nyle", {size: 42, a: 0.4, font: "sans-serif", italic: true})
         | 
| 26 | 
            +
                Nyle.draw_text(440, 110, "Nyle", {size: 48, a: 0.2, font: "sans-serif", italic: true, bold: true})
         | 
| 27 | 
            +
             | 
| 28 | 
            +
                Nyle.draw_line( 20, 170, 620, 170, {color: :GRAY, a: 0.1})
         | 
| 29 | 
            +
                Nyle.draw_text( 80, 170, "Nyle", {size: 18, color: :RED, font: "serif"})
         | 
| 30 | 
            +
                Nyle.draw_text(140, 170, "Nyle", {size: 24, color: :RED, font: "serif"})
         | 
| 31 | 
            +
                Nyle.draw_text(220, 170, "Nyle", {size: 32, color: :RED, font: "serif", bold: true})
         | 
| 32 | 
            +
                Nyle.draw_text(320, 170, "Nyle", {size: 42, color: :RED, font: "serif", italic: true})
         | 
| 33 | 
            +
                Nyle.draw_text(440, 170, "Nyle", {size: 48, color: :RED, font: "serif", italic: true, bold: true})
         | 
| 34 | 
            +
             | 
| 35 | 
            +
                Nyle.draw_line( 20, 230, 620, 230, {color: :GRAY, a: 0.1})
         | 
| 36 | 
            +
                Nyle.draw_text( 80, 230, "Nyle", {size: 18, color: :FOREST_GREEN, font: "serif"})
         | 
| 37 | 
            +
                Nyle.draw_text(140, 230, "Nyle", {size: 24, color: :FOREST_GREEN, font: "serif"})
         | 
| 38 | 
            +
                Nyle.draw_text(220, 230, "Nyle", {size: 32, color: :FOREST_GREEN, font: "serif", bold: true})
         | 
| 39 | 
            +
                Nyle.draw_text(320, 230, "Nyle", {size: 42, color: :FOREST_GREEN, font: "serif", italic: true})
         | 
| 40 | 
            +
                Nyle.draw_text(440, 230, "Nyle", {size: 48, color: :FOREST_GREEN, font: "serif", italic: true, bold: true})
         | 
| 41 | 
            +
             | 
| 42 | 
            +
                Nyle.draw_line( 20, 290, 620, 290, {color: :GRAY, a: 0.1})
         | 
| 43 | 
            +
                Nyle.draw_text( 80, 290, "Nyle", {size: 18, color: :COBALT, font: "monospace"})
         | 
| 44 | 
            +
                Nyle.draw_text(140, 290, "Nyle", {size: 24, color: :COBALT, font: "monospace"})
         | 
| 45 | 
            +
                Nyle.draw_text(220, 290, "Nyle", {size: 32, color: :COBALT, font: "monospace", bold: true})
         | 
| 46 | 
            +
                Nyle.draw_text(320, 290, "Nyle", {size: 42, color: :COBALT, font: "monospace", italic: true})
         | 
| 47 | 
            +
                Nyle.draw_text(440, 290, "Nyle", {size: 48, color: :COBALT, font: "monospace", italic: true, bold: true})
         | 
| 48 | 
            +
             | 
| 49 | 
            +
                Nyle.draw_line( 20, 350, 620, 350, {color: :GRAY, a: 0.1})
         | 
| 50 | 
            +
                Nyle.draw_text( 80, 350, "Nyle", {size: 18, color: :GOLD, font: "monospace"})
         | 
| 51 | 
            +
                Nyle.draw_text(140, 350, "Nyle", {size: 24, color: :GOLD, font: "monospace"})
         | 
| 52 | 
            +
                Nyle.draw_text(220, 350, "Nyle", {size: 32, color: :GOLD, font: "monospace", bold: true})
         | 
| 53 | 
            +
                Nyle.draw_text(320, 350, "Nyle", {size: 42, color: :GOLD, font: "monospace", italic: true})
         | 
| 54 | 
            +
                Nyle.draw_text(440, 350, "Nyle", {size: 48, color: :GOLD, font: "monospace", italic: true, bold: true})
         | 
| 47 55 |  | 
| 48 56 | 
             
                Nyle.quit if Nyle.key_press?(KEY_Escape)
         | 
| 49 57 | 
             
              end
         | 
    
        data/samples/basic/keyboard.rb
    CHANGED
    
    | @@ -2,7 +2,7 @@ require 'nyle' | |
| 2 2 |  | 
| 3 3 | 
             
            class Screen < Nyle::Screen
         | 
| 4 4 | 
             
              def initialize
         | 
| 5 | 
            -
                super(200, 200)
         | 
| 5 | 
            +
                super(200, 200, {bgcolor: :IVORY})
         | 
| 6 6 | 
             
              end
         | 
| 7 7 |  | 
| 8 8 | 
             
              def draw
         | 
| @@ -16,8 +16,8 @@ class Screen < Nyle::Screen | |
| 16 16 | 
             
                stat = "[escape]"    if Nyle.key_down?(KEY_Escape)
         | 
| 17 17 | 
             
                stat = "[left]"      if Nyle.key_down?(KEY_Left)
         | 
| 18 18 | 
             
                stat = "[up]"        if Nyle.key_down?(KEY_Up)
         | 
| 19 | 
            -
                stat = "[down]"      if Nyle.key_down?( | 
| 20 | 
            -
                stat = "[right]"     if Nyle.key_down?( | 
| 19 | 
            +
                stat = "[down]"      if Nyle.key_down?(KEY_Down)
         | 
| 20 | 
            +
                stat = "[right]"     if Nyle.key_down?(KEY_Right)
         | 
| 21 21 | 
             
                stat = "[insert]"    if Nyle.key_down?(KEY_Insert)
         | 
| 22 22 | 
             
                stat = "[delete]"    if Nyle.key_down?(KEY_Delete)
         | 
| 23 23 | 
             
                stat = "[home]"      if Nyle.key_down?(KEY_Home)
         | 
    
        data/samples/launcher.rb
    CHANGED
    
    | @@ -16,8 +16,9 @@ module Samples | |
| 16 16 | 
             
                  text_window.add(@text)
         | 
| 17 17 |  | 
| 18 18 | 
             
                  hpaned = Gtk::Paned.new(:horizontal)
         | 
| 19 | 
            -
                  hpaned.add(tree_window, resize:  | 
| 20 | 
            -
                  hpaned.add(text_window, resize: true, | 
| 19 | 
            +
                  hpaned.add(tree_window, resize: false, shrink: false)
         | 
| 20 | 
            +
                  hpaned.add(text_window, resize: true,  shrink: false)
         | 
| 21 | 
            +
                  hpaned.position = 240
         | 
| 21 22 |  | 
| 22 23 | 
             
                  self.add(hpaned)
         | 
| 23 24 | 
             
                  self.set_size_request(640, 640)
         | 
| @@ -55,7 +56,9 @@ module Samples | |
| 55 56 |  | 
| 56 57 | 
             
                def create_text
         | 
| 57 58 | 
             
                  text_view = Gtk::TextView.new
         | 
| 58 | 
            -
                   | 
| 59 | 
            +
                  font_description = Pango::FontDescription.new('Monospace')
         | 
| 60 | 
            +
                  font_description.size = (/darwin|mac os/ === RUBY_PLATFORM ? 13.3 : 10) * Pango::SCALE
         | 
| 61 | 
            +
                  text_view.override_font(font_description)
         | 
| 59 62 | 
             
                  text_view.set_wrap_mode(:none)
         | 
| 60 63 | 
             
                  text_view.set_editable(false)
         | 
| 61 64 | 
             
                  text_view.set_cursor_visible(false)
         | 
    
        metadata
    CHANGED
    
    | @@ -1,43 +1,15 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: nyle
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.7.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Koki Kitamura
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2019- | 
| 11 | 
            +
            date: 2019-02-09 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            -
              name: bundler
         | 
| 15 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            -
                requirements:
         | 
| 17 | 
            -
                - - "~>"
         | 
| 18 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '1.17'
         | 
| 20 | 
            -
              type: :development
         | 
| 21 | 
            -
              prerelease: false
         | 
| 22 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            -
                requirements:
         | 
| 24 | 
            -
                - - "~>"
         | 
| 25 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version: '1.17'
         | 
| 27 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 28 | 
            -
              name: rake
         | 
| 29 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 | 
            -
                requirements:
         | 
| 31 | 
            -
                - - "~>"
         | 
| 32 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            -
                    version: '10.0'
         | 
| 34 | 
            -
              type: :development
         | 
| 35 | 
            -
              prerelease: false
         | 
| 36 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 | 
            -
                requirements:
         | 
| 38 | 
            -
                - - "~>"
         | 
| 39 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            -
                    version: '10.0'
         | 
| 41 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 14 | 
             
              name: gtk3
         | 
| 43 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -58,26 +30,6 @@ dependencies: | |
| 58 30 | 
             
                - - "~>"
         | 
| 59 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 60 32 | 
             
                    version: 3.3.0
         | 
| 61 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 62 | 
            -
              name: rsvg2
         | 
| 63 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 64 | 
            -
                requirements:
         | 
| 65 | 
            -
                - - ">="
         | 
| 66 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 67 | 
            -
                    version: 3.3.0
         | 
| 68 | 
            -
                - - "~>"
         | 
| 69 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 70 | 
            -
                    version: 3.3.0
         | 
| 71 | 
            -
              type: :runtime
         | 
| 72 | 
            -
              prerelease: false
         | 
| 73 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 74 | 
            -
                requirements:
         | 
| 75 | 
            -
                - - ">="
         | 
| 76 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 77 | 
            -
                    version: 3.3.0
         | 
| 78 | 
            -
                - - "~>"
         | 
| 79 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 80 | 
            -
                    version: 3.3.0
         | 
| 81 33 | 
             
            description: "'Nyle' is a minimal graphics framework using Ruby/GTK3 and rcairo"
         | 
| 82 34 | 
             
            email:
         | 
| 83 35 | 
             
            - spool.kitamura@nifty.ne.jp
         | 
| @@ -85,10 +37,8 @@ executables: [] | |
| 85 37 | 
             
            extensions: []
         | 
| 86 38 | 
             
            extra_rdoc_files: []
         | 
| 87 39 | 
             
            files:
         | 
| 88 | 
            -
            - ".gitignore"
         | 
| 89 40 | 
             
            - CHANGELOG.md
         | 
| 90 41 | 
             
            - Gemfile
         | 
| 91 | 
            -
            - Gemfile.lock
         | 
| 92 42 | 
             
            - LICENSE.txt
         | 
| 93 43 | 
             
            - README.md
         | 
| 94 44 | 
             
            - Rakefile
         | 
    
        data/.gitignore
    DELETED
    
    
    
        data/Gemfile.lock
    DELETED
    
    | @@ -1,61 +0,0 @@ | |
| 1 | 
            -
            PATH
         | 
| 2 | 
            -
              remote: .
         | 
| 3 | 
            -
              specs:
         | 
| 4 | 
            -
                nyle (0.6.0)
         | 
| 5 | 
            -
                  gtk3 (~> 3.2.0, >= 3.2.0)
         | 
| 6 | 
            -
                  rsvg2 (~> 3.2.0, >= 3.2.0)
         | 
| 7 | 
            -
             | 
| 8 | 
            -
            GEM
         | 
| 9 | 
            -
              remote: https://rubygems.org/
         | 
| 10 | 
            -
              specs:
         | 
| 11 | 
            -
                atk (3.2.9-x86-mingw32)
         | 
| 12 | 
            -
                  glib2 (= 3.2.9)
         | 
| 13 | 
            -
                cairo (1.15.13-x86-mingw32)
         | 
| 14 | 
            -
                  native-package-installer (>= 1.0.3)
         | 
| 15 | 
            -
                  pkg-config (>= 1.2.2)
         | 
| 16 | 
            -
                cairo-gobject (3.2.9-x86-mingw32)
         | 
| 17 | 
            -
                  cairo
         | 
| 18 | 
            -
                  glib2 (= 3.2.9)
         | 
| 19 | 
            -
                gdk3 (3.2.9-x86-mingw32)
         | 
| 20 | 
            -
                  cairo-gobject (= 3.2.9)
         | 
| 21 | 
            -
                  gdk_pixbuf2 (= 3.2.9)
         | 
| 22 | 
            -
                  pango (= 3.2.9)
         | 
| 23 | 
            -
                gdk_pixbuf2 (3.2.9-x86-mingw32)
         | 
| 24 | 
            -
                  gio2 (= 3.2.9)
         | 
| 25 | 
            -
                gio2 (3.2.9-x86-mingw32)
         | 
| 26 | 
            -
                  glib2 (= 3.2.9)
         | 
| 27 | 
            -
                  gobject-introspection (= 3.2.9)
         | 
| 28 | 
            -
                glib2 (3.2.9-x86-mingw32)
         | 
| 29 | 
            -
                  cairo (>= 1.15.9)
         | 
| 30 | 
            -
                  native-package-installer (>= 1.0.3)
         | 
| 31 | 
            -
                  pkg-config (>= 1.2.2)
         | 
| 32 | 
            -
                gobject-introspection (3.2.9-x86-mingw32)
         | 
| 33 | 
            -
                  glib2 (= 3.2.9)
         | 
| 34 | 
            -
                gtk3 (3.2.9-x86-mingw32)
         | 
| 35 | 
            -
                  atk (= 3.2.9)
         | 
| 36 | 
            -
                  gdk3 (= 3.2.9)
         | 
| 37 | 
            -
                  gdk_pixbuf2 (= 3.2.9)
         | 
| 38 | 
            -
                  gio2 (= 3.2.9)
         | 
| 39 | 
            -
                  pango (= 3.2.9)
         | 
| 40 | 
            -
                  rsvg2 (= 3.2.9)
         | 
| 41 | 
            -
                native-package-installer (1.0.6)
         | 
| 42 | 
            -
                pango (3.2.9-x86-mingw32)
         | 
| 43 | 
            -
                  cairo-gobject (= 3.2.9)
         | 
| 44 | 
            -
                  gobject-introspection (= 3.2.9)
         | 
| 45 | 
            -
                pkg-config (1.3.2)
         | 
| 46 | 
            -
                rake (10.4.2)
         | 
| 47 | 
            -
                rsvg2 (3.2.9-x86-mingw32)
         | 
| 48 | 
            -
                  cairo-gobject (= 3.2.9)
         | 
| 49 | 
            -
                  gdk_pixbuf2 (= 3.2.9)
         | 
| 50 | 
            -
                  pango (>= 3.2.9)
         | 
| 51 | 
            -
             | 
| 52 | 
            -
            PLATFORMS
         | 
| 53 | 
            -
              x86-mingw32
         | 
| 54 | 
            -
             | 
| 55 | 
            -
            DEPENDENCIES
         | 
| 56 | 
            -
              bundler (~> 1.17)
         | 
| 57 | 
            -
              nyle!
         | 
| 58 | 
            -
              rake (~> 10.0)
         | 
| 59 | 
            -
             | 
| 60 | 
            -
            BUNDLED WITH
         | 
| 61 | 
            -
               1.17.1
         |