yardview_gtk3 0.4.0 → 0.4.1

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: 8352cc578a2d92e778412e2109d4e597d1d3a29ed7f15465c3fa22c55866ac3a
4
- data.tar.gz: d8b7f4d0f49de130fd7dead0c21a6b83b3630777f4d815eb9a1f19f74ed83379
3
+ metadata.gz: e46f8a9e6e44f0e41f51312229d7f7d3e2e4e7d1bbbc439e999af6c23dc3ee0a
4
+ data.tar.gz: e99636f6d2f632202496c590b6e1d3b5270c0cd1eb2b83d70d752c1d7e450ac7
5
5
  SHA512:
6
- metadata.gz: 00065cecaf47e58f041fbfd91f279c9dc41ac712b2f27e5eb8d23cc6b4be7fcb4d37b33ac9f42396f52d6d9175da47dd3518d6aa8e5719ce294aaa6371bb95ee
7
- data.tar.gz: adef1a3bcf5732468a7e17ecc91d801084f5d0b919f003b2e861affdce83e8bfa9ebb94aeb5c03e3fc9e9fa657e4174628840834cd17a2bb3c46d9ff0484b4ed
6
+ metadata.gz: 7e99943364057d409584d20875fe1a4642311f51ad2f89c562943f80447544a219a4f3e147bb21a2f5ccec5d2592adcf20486418d9ac568e671c3bfe8c0a143c
7
+ data.tar.gz: 59f3f41aa2f386cf9af30f6fe9a052d484928ea0196ceca94844e4a79884c0335380ee961a62cc0b3e0ba20b4ec900cc6bc131b1d18ffbeff883dcd7a5dd88e8
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /vendor/
10
+ *.lock
data/Gemfile CHANGED
@@ -2,7 +2,4 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
- # Specify your gem's dependencies in yardview.gemspec
8
5
  gemspec
@@ -1,33 +1,34 @@
1
1
  #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
2
 
4
3
  require 'optparse'
5
4
  require 'yardview'
6
5
  require 'fileutils'
7
6
 
8
- Version = Yardview::VERSION
9
- opt = OptionParser.new
10
7
  port_num ||= 8808
8
+
9
+ opt = OptionParser.new
10
+ opt.program_name = 'Yardview'
11
+ opt.version = Yardview::VERSION
11
12
  opt.on('-p', '--port VAL', Integer) { |v| port_num = v }
12
13
  opt.parse!(ARGV)
13
14
 
14
15
  resource_xml = File.expand_path('../resources/gresources.xml', __dir__)
15
16
  resource_bin = File.expand_path('../gresource.bin', __dir__)
16
17
 
17
- app = Yardview.application
18
-
19
18
  system('glib-compile-resources',
20
19
  '--target', resource_bin,
21
20
  '--sourcedir', File.dirname(resource_xml),
22
21
  resource_xml)
23
22
 
24
- resource = Gio::Resource.load(resource_bin)
25
- Gio::Resources.register(resource)
26
-
27
23
  at_exit do
28
24
  FileUtils.rm_f(resource_bin)
29
25
  end
30
26
 
27
+ app = Yardview.application
28
+
29
+ resource = Gio::Resource.load(resource_bin)
30
+ Gio::Resources.register(resource)
31
+
31
32
  app.signal_connect :activate do |application|
32
33
  window = Yardview::ApplicationWindow.new application, port: port_num
33
34
  window.present
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Yardview
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
@@ -15,8 +15,6 @@ Gem::Specification.new do |spec|
15
15
  spec.homepage = 'https://github.com/kojix2/yardview'
16
16
  spec.license = 'MIT'
17
17
 
18
- # Specify which files should be added to the gem when it is released.
19
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
18
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
19
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
20
  end
@@ -24,18 +22,9 @@ Gem::Specification.new do |spec|
24
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
23
  spec.require_paths = ['lib']
26
24
 
27
- spec.add_dependency 'atk'
28
- spec.add_dependency 'cairo'
29
- spec.add_dependency 'cairo-gobject'
30
- spec.add_dependency 'gdk3'
31
- spec.add_dependency 'gdk_pixbuf2'
32
- spec.add_dependency 'gio2'
33
- spec.add_dependency 'glib2'
34
- spec.add_dependency 'pango'
35
- spec.add_dependency 'yard'
36
-
37
25
  spec.add_dependency 'gtk3'
38
26
  spec.add_dependency 'webkit2-gtk'
27
+ spec.add_dependency 'yard'
39
28
  spec.add_development_dependency 'bundler'
40
29
  spec.add_development_dependency 'rake'
41
30
  end
metadata CHANGED
@@ -1,101 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yardview_gtk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-12 00:00:00.000000000 Z
11
+ date: 2020-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: atk
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: cairo
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: cairo-gobject
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: gdk3
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: gdk_pixbuf2
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: gio2
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: glib2
14
+ name: gtk3
99
15
  requirement: !ruby/object:Gem::Requirement
100
16
  requirements:
101
17
  - - ">="
@@ -109,7 +25,7 @@ dependencies:
109
25
  - !ruby/object:Gem::Version
110
26
  version: '0'
111
27
  - !ruby/object:Gem::Dependency
112
- name: pango
28
+ name: webkit2-gtk
113
29
  requirement: !ruby/object:Gem::Requirement
114
30
  requirements:
115
31
  - - ">="
@@ -136,34 +52,6 @@ dependencies:
136
52
  - - ">="
137
53
  - !ruby/object:Gem::Version
138
54
  version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: gtk3
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: webkit2-gtk
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :runtime
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
55
  - !ruby/object:Gem::Dependency
168
56
  name: bundler
169
57
  requirement: !ruby/object:Gem::Requirement
@@ -200,13 +88,11 @@ executables:
200
88
  extensions: []
201
89
  extra_rdoc_files: []
202
90
  files:
91
+ - ".gitignore"
203
92
  - Gemfile
204
- - Gemfile.lock
205
93
  - LICENSE.txt
206
94
  - README.md
207
95
  - Rakefile
208
- - bin/console
209
- - bin/setup
210
96
  - exe/yardview
211
97
  - lib/yardview.rb
212
98
  - lib/yardview/application.rb
@@ -1,66 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- yardview_gtk3 (0.4.0)
5
- atk
6
- cairo
7
- cairo-gobject
8
- gdk3
9
- gdk_pixbuf2
10
- gio2
11
- glib2
12
- gtk3
13
- pango
14
- webkit2-gtk
15
- yard
16
-
17
- GEM
18
- remote: https://rubygems.org/
19
- specs:
20
- atk (3.4.3)
21
- glib2 (= 3.4.3)
22
- cairo (1.16.6)
23
- native-package-installer (>= 1.0.3)
24
- pkg-config (>= 1.2.2)
25
- cairo-gobject (3.4.3)
26
- cairo (>= 1.16.2)
27
- glib2 (= 3.4.3)
28
- gdk3 (3.4.3)
29
- cairo-gobject (= 3.4.3)
30
- gdk_pixbuf2 (= 3.4.3)
31
- pango (= 3.4.3)
32
- gdk_pixbuf2 (3.4.3)
33
- gio2 (= 3.4.3)
34
- gio2 (3.4.3)
35
- gobject-introspection (= 3.4.3)
36
- glib2 (3.4.3)
37
- native-package-installer (>= 1.0.3)
38
- pkg-config (>= 1.3.5)
39
- gobject-introspection (3.4.3)
40
- glib2 (= 3.4.3)
41
- gtk3 (3.4.3)
42
- atk (= 3.4.3)
43
- gdk3 (= 3.4.3)
44
- gdk_pixbuf2 (= 3.4.3)
45
- gio2 (= 3.4.3)
46
- pango (= 3.4.3)
47
- native-package-installer (1.0.9)
48
- pango (3.4.3)
49
- cairo-gobject (= 3.4.3)
50
- gobject-introspection (= 3.4.3)
51
- pkg-config (1.4.2)
52
- rake (13.0.1)
53
- webkit2-gtk (3.4.3)
54
- gtk3 (= 3.4.3)
55
- yard (0.9.25)
56
-
57
- PLATFORMS
58
- ruby
59
-
60
- DEPENDENCIES
61
- bundler
62
- rake
63
- yardview_gtk3!
64
-
65
- BUNDLED WITH
66
- 2.1.4
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'yardview'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- IRB.start(__FILE__)
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