zlib 0.0.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/zlib.gemspec CHANGED
@@ -1,21 +1,33 @@
1
1
  # coding: utf-8
2
+ # frozen_string_literal: true
3
+
4
+ source_version = ["", "ext/zlib/"].find do |dir|
5
+ begin
6
+ break File.open(File.join(__dir__, "#{dir}zlib.c")) {|f|
7
+ f.gets("\n#define RUBY_ZLIB_VERSION ")
8
+ f.gets[/\s*"(.+)"/, 1]
9
+ }
10
+ rescue Errno::ENOENT
11
+ end
12
+ end
13
+
2
14
  Gem::Specification.new do |spec|
3
15
  spec.name = "zlib"
4
- spec.version = "0.0.1"
16
+ spec.version = source_version
5
17
  spec.authors = ["Yukihiro Matsumoto", "UENO Katsuhiro"]
6
18
  spec.email = ["matz@ruby-lang.org", nil]
7
19
 
8
20
  spec.summary = %q{Ruby interface for the zlib compression/decompression library}
9
21
  spec.description = %q{Ruby interface for the zlib compression/decompression library}
10
22
  spec.homepage = "https://github.com/ruby/zlib"
11
- spec.license = "BSD-2-Clause"
23
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
12
24
 
13
- spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ext/zlib/extconf.rb", "ext/zlib/zlib.c", "zlib.gemspec"]
25
+ spec.files = [".gitignore", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "ext/zlib/extconf.rb", "ext/zlib/zlib.c", "zlib.gemspec"]
14
26
  spec.bindir = "exe"
15
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
16
28
  spec.require_paths = ["lib"]
17
29
  spec.extensions = "ext/zlib/extconf.rb"
18
- spec.required_ruby_version = ">= 2.5.0dev"
30
+ spec.required_ruby_version = ">= 2.3.0"
19
31
 
20
32
  spec.add_development_dependency "bundler"
21
33
  spec.add_development_dependency "rake"
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yukihiro Matsumoto
8
8
  - UENO Katsuhiro
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-05-11 00:00:00.000000000 Z
12
+ date: 2021-10-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -56,14 +56,13 @@ dependencies:
56
56
  description: Ruby interface for the zlib compression/decompression library
57
57
  email:
58
58
  - matz@ruby-lang.org
59
- -
59
+ -
60
60
  executables: []
61
61
  extensions:
62
62
  - ext/zlib/extconf.rb
63
63
  extra_rdoc_files: []
64
64
  files:
65
65
  - ".gitignore"
66
- - ".travis.yml"
67
66
  - Gemfile
68
67
  - LICENSE.txt
69
68
  - README.md
@@ -75,9 +74,10 @@ files:
75
74
  - zlib.gemspec
76
75
  homepage: https://github.com/ruby/zlib
77
76
  licenses:
77
+ - Ruby
78
78
  - BSD-2-Clause
79
79
  metadata: {}
80
- post_install_message:
80
+ post_install_message:
81
81
  rdoc_options: []
82
82
  require_paths:
83
83
  - lib
@@ -85,16 +85,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: 2.5.0dev
88
+ version: 2.3.0
89
89
  required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  requirements:
91
91
  - - ">="
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubyforge_project:
96
- rubygems_version: 2.6.12
97
- signing_key:
95
+ rubygems_version: 3.3.0.dev
96
+ signing_key:
98
97
  specification_version: 4
99
98
  summary: Ruby interface for the zlib compression/decompression library
100
99
  test_files: []
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - ruby-head
5
- before_install: gem install bundler