yardview_gtk3 0.4.1 → 0.4.2

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: e46f8a9e6e44f0e41f51312229d7f7d3e2e4e7d1bbbc439e999af6c23dc3ee0a
4
- data.tar.gz: e99636f6d2f632202496c590b6e1d3b5270c0cd1eb2b83d70d752c1d7e450ac7
3
+ metadata.gz: ed084ad17189542a6b77d73b672610ca7df3d5e2d5a5038d77610e826ec7a672
4
+ data.tar.gz: 707e1122552ac8649af84e62a26a3848c8187c24e90a8cb62dc5988ef6cd6b39
5
5
  SHA512:
6
- metadata.gz: 7e99943364057d409584d20875fe1a4642311f51ad2f89c562943f80447544a219a4f3e147bb21a2f5ccec5d2592adcf20486418d9ac568e671c3bfe8c0a143c
7
- data.tar.gz: 59f3f41aa2f386cf9af30f6fe9a052d484928ea0196ceca94844e4a79884c0335380ee961a62cc0b3e0ba20b4ec900cc6bc131b1d18ffbeff883dcd7a5dd88e8
6
+ metadata.gz: a434ab14b03f5ee146ce800eca1b0df54527acd571529e49bf1567b1b0df1f3159d2d7295e4ae97bc0292a9a7788d6c9c311051d506bf1efb2ecbc92ebdf5fb2
7
+ data.tar.gz: c1fa15fc60aa451ccff2210832d345f7fecd883e49b2bdcad35ffd4ee036e5c3921985725d8d7c5ed048450358761916a72727c65ab45ca0a7f67a4edd07809b
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Yardview
1
+ # YardView
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/yardview_gtk3.svg)](https://badge.fury.io/rb/yardview_gtk3)
4
4
 
@@ -7,8 +7,8 @@ require 'fileutils'
7
7
  port_num ||= 8808
8
8
 
9
9
  opt = OptionParser.new
10
- opt.program_name = 'Yardview'
11
- opt.version = Yardview::VERSION
10
+ opt.program_name = 'YardView'
11
+ opt.version = YardView::VERSION
12
12
  opt.on('-p', '--port VAL', Integer) { |v| port_num = v }
13
13
  opt.parse!(ARGV)
14
14
 
@@ -24,13 +24,13 @@ at_exit do
24
24
  FileUtils.rm_f(resource_bin)
25
25
  end
26
26
 
27
- app = Yardview.application
27
+ app = YardView.application
28
28
 
29
29
  resource = Gio::Resource.load(resource_bin)
30
30
  Gio::Resources.register(resource)
31
31
 
32
32
  app.signal_connect :activate do |application|
33
- window = Yardview::ApplicationWindow.new application, port: port_num
33
+ window = YardView::ApplicationWindow.new application, port: port_num
34
34
  window.present
35
35
  end
36
36
 
@@ -5,5 +5,5 @@ require 'yardview/application'
5
5
  require 'yardview/application_window'
6
6
  require 'webkit2-gtk'
7
7
 
8
- module Yardview
8
+ module YardView
9
9
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'gtk3'
4
4
 
5
- module Yardview
5
+ module YardView
6
6
  class << self
7
7
  def application
8
8
  @@application ||= Gtk::Application.new('com.github.kojix2.yardview', :flags_none)
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'gtk3'
4
4
 
5
- module Yardview
5
+ module YardView
6
6
  class ApplicationWindow < Gtk::ApplicationWindow
7
7
  type_register
8
8
 
@@ -11,7 +11,7 @@ module Yardview
11
11
  bind_template_child 'box'
12
12
  set_connect_func do |handler_name|
13
13
  lambda do
14
- Yardview.application.active_window.__send__(handler_name)
14
+ YardView.application.active_window.__send__(handler_name)
15
15
  end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Yardview
4
- VERSION = '0.4.1'
3
+ module YardView
4
+ VERSION = '0.4.2'
5
5
  end
@@ -2,7 +2,7 @@
2
2
  <!-- Generated with glade 3.22.2 -->
3
3
  <interface>
4
4
  <requires lib="gtk+" version="3.20"/>
5
- <template class="YardviewApplicationWindow" parent="GtkApplicationWindow">
5
+ <template class="YardViewApplicationWindow" parent="GtkApplicationWindow">
6
6
  <property name="can_focus">False</property>
7
7
  <property name="opacity">0.90</property>
8
8
  <property name="type">popup</property>
@@ -6,7 +6,7 @@ require 'yardview/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'yardview_gtk3'
9
- spec.version = Yardview::VERSION
9
+ spec.version = YardView::VERSION
10
10
  spec.authors = ['kojix2']
11
11
  spec.email = ['2xijok@gmail.com']
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yardview_gtk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2