win32ole 1.8.9 → 1.9.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/.document +4 -0
- data/{LICENSE.txt → BSDL} +3 -3
- data/COPYING +56 -0
- data/ext/win32ole/.document +1 -0
- data/ext/win32ole/win32ole.c +70 -134
- data/ext/win32ole/win32ole_error.c +13 -4
- data/ext/win32ole/win32ole_event.c +26 -25
- data/ext/win32ole/win32ole_method.c +64 -63
- data/ext/win32ole/win32ole_param.c +57 -56
- data/ext/win32ole/win32ole_record.c +26 -25
- data/ext/win32ole/win32ole_type.c +73 -69
- data/ext/win32ole/win32ole_typelib.c +38 -37
- data/ext/win32ole/win32ole_variable.c +19 -18
- data/ext/win32ole/win32ole_variant.c +34 -33
- data/ext/win32ole/win32ole_variant_m.c +7 -5
- data/lib/win32ole/property.rb +15 -3
- data/lib/win32ole.rb +1 -2
- data/{ext/win32ole/sample → sample/win32ole}/olegen.rb +2 -2
- metadata +22 -31
- data/.git-blame-ignore-revs +0 -7
- data/.github/dependabot.yml +0 -6
- data/.github/workflows/windows.yml +0 -24
- data/.gitignore +0 -8
- data/Gemfile +0 -7
- data/Rakefile +0 -19
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/rakelib/changelogs.rake +0 -34
- data/rakelib/epoch.rake +0 -5
- data/rakelib/sync_tool.rake +0 -6
- data/rakelib/version.rake +0 -45
- data/win32ole.gemspec +0 -22
- /data/{ext/win32ole/sample → sample/win32ole}/excel1.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/excel2.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/excel3.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/ie.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/ieconst.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/ienavi.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/ienavi2.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/oledirs.rb +0 -0
- /data/{ext/win32ole/sample → sample/win32ole}/xml.rb +0 -0
data/rakelib/version.rake
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
class << (helper = Bundler::GemHelper.instance)
|
2
|
-
SOURCE_PATH = "ext/stringio/stringio.c"
|
3
|
-
def update_source_version
|
4
|
-
path = SOURCE_PATH
|
5
|
-
File.open(path, "r+b") do |f|
|
6
|
-
d = f.read
|
7
|
-
if d.sub!(/^#define\s+STRINGIO_VERSION\s+\K".*"/) {version.to_s.dump}
|
8
|
-
f.rewind
|
9
|
-
f.truncate(0)
|
10
|
-
f.print(d)
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
def commit_bump
|
16
|
-
sh(%W[git commit -m bump\ up\ to\ #{gemspec.version}
|
17
|
-
#{SOURCE_PATH}])
|
18
|
-
end
|
19
|
-
|
20
|
-
def version=(v)
|
21
|
-
gemspec.version = v
|
22
|
-
update_source_version
|
23
|
-
commit_bump
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
major, minor, teeny = helper.gemspec.version.segments
|
28
|
-
|
29
|
-
task "bump:teeny" do
|
30
|
-
helper.version = Gem::Version.new("#{major}.#{minor}.#{teeny+1}")
|
31
|
-
end
|
32
|
-
|
33
|
-
task "bump:minor" do
|
34
|
-
helper.version = Gem::Version.new("#{major}.#{minor+1}.0")
|
35
|
-
end
|
36
|
-
|
37
|
-
task "bump:major" do
|
38
|
-
helper.version = Gem::Version.new("#{major+1}.0.0")
|
39
|
-
end
|
40
|
-
|
41
|
-
task "bump" => "bump:teeny"
|
42
|
-
|
43
|
-
task "tag" do
|
44
|
-
helper.__send__(:tag_version)
|
45
|
-
end
|
data/win32ole.gemspec
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |spec|
|
2
|
-
spec.name = "win32ole"
|
3
|
-
spec.version = "1.8.9"
|
4
|
-
spec.authors = ["Masaki Suketa"]
|
5
|
-
spec.email = ["suke@ruby-lang.org"]
|
6
|
-
|
7
|
-
spec.summary = %q{Provides an interface for OLE Automation in Ruby}
|
8
|
-
spec.description = spec.summary
|
9
|
-
spec.homepage = "https://github.com/ruby/win32ole"
|
10
|
-
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
11
|
-
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
12
|
-
|
13
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
14
|
-
spec.metadata["source_code_uri"] = spec.homepage
|
15
|
-
|
16
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
17
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
-
end
|
19
|
-
spec.bindir = "exe"
|
20
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
-
spec.require_paths = ["lib"]
|
22
|
-
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|