goffice 3.4.7 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/goffice/loader.rb +12 -2
  3. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13f7f2363dcc63b779baef1900d354cb3aee5452f706200ed2ecfcd3eda4e31f
4
- data.tar.gz: ffa030d17bb46bd3fc4ade8a050f6a905fdd47380808b4079f7c4fec8965720b
3
+ metadata.gz: 1d3f0e0276c3b4a7a1777fb2864688b116140f1ddee71409c01ba7e561e8b77e
4
+ data.tar.gz: a0354531c00d762ebdd2e14f89d1d50096a71b46e4960e26d98a1545548322af
5
5
  SHA512:
6
- metadata.gz: 7590d61bd001120b36a9d346dcf62443de06af918cf5201b6a0f52fd01dff3290434ed013abc84e07446c9851b900d5cccc429ceffdee2a2a552d86c1f6806f9
7
- data.tar.gz: 69888fa7e508e8d7ce87d313bb2edfe8731b05551431095ff4fe3612f91ed800c754d29a6aa1d02d77453c46c40ce5ff96339679024e29f84c22fed6e963e5b1
6
+ metadata.gz: b9b8645aa03c2ec27cf7411f659df1b7629397ddbc7ab29e66ff5809b17686a96d5a0470c1d730fe1b06bf47d3448418a61cb1edf605d71a406ec14687f2bdba
7
+ data.tar.gz: ad1f945f29dedb4b8eb42c380d983acc060635884212c40fa7bcf5bb22fbd258bc3adf7eb223fabe4fae47e05938c25f442998599c7f5c30dda6e12bcbe58667
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2016-2021 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -63,8 +63,18 @@ module GOffice
63
63
  end
64
64
  end
65
65
 
66
+ def rubyish_method_name(function_info, options={})
67
+ name = super
68
+ case name
69
+ when /\A\d/
70
+ "_#{$POSTMATCH}"
71
+ else
72
+ name
73
+ end
74
+ end
75
+
66
76
  def rubyish_class_name(info)
67
- name = info.name.gsub(/Class\z/, "")
77
+ name = super
68
78
  case name
69
79
  when /\A3DRotationSel\z/
70
80
  "Rotation3DSel"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goffice
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.7
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-30 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gsf
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.7
19
+ version: 3.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.7
26
+ version: 3.5.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gtk3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.4.7
33
+ version: 3.5.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.4.7
40
+ version: 3.5.1
41
41
  description: Ruby/GOFFICE is a Ruby binding of GOFFICE.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.0.dev
78
+ rubygems_version: 3.4.0.dev
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Ruby/GOFFICE is a Ruby binding of GOFFICE.