zlib 1.0.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/zlib.gemspec CHANGED
@@ -1,25 +1,31 @@
1
1
  # coding: utf-8
2
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
+
3
14
  Gem::Specification.new do |spec|
4
15
  spec.name = "zlib"
5
- spec.version = "1.0.0"
6
- spec.date = '2017-12-11'
16
+ spec.version = source_version
7
17
  spec.authors = ["Yukihiro Matsumoto", "UENO Katsuhiro"]
8
18
  spec.email = ["matz@ruby-lang.org", nil]
9
19
 
10
20
  spec.summary = %q{Ruby interface for the zlib compression/decompression library}
11
21
  spec.description = %q{Ruby interface for the zlib compression/decompression library}
12
22
  spec.homepage = "https://github.com/ruby/zlib"
13
- spec.license = "BSD-2-Clause"
23
+ spec.licenses = ["Ruby", "BSD-2-Clause"]
14
24
 
15
- 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 = ["LICENSE.txt", "README.md", "ext/zlib/extconf.rb", "ext/zlib/zlib.c", "zlib.gemspec"]
16
26
  spec.bindir = "exe"
17
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.executables = []
18
28
  spec.require_paths = ["lib"]
19
29
  spec.extensions = "ext/zlib/extconf.rb"
20
30
  spec.required_ruby_version = ">= 2.3.0"
21
-
22
- spec.add_development_dependency "bundler"
23
- spec.add_development_dependency "rake"
24
- spec.add_development_dependency "rake-compiler"
25
31
  end
metadata CHANGED
@@ -1,83 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.1.1
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-12-11 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bundler
16
- requirement: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ">="
19
- - !ruby/object:Gem::Version
20
- version: '0'
21
- type: :development
22
- prerelease: false
23
- version_requirements: !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- version: '0'
28
- - !ruby/object:Gem::Dependency
29
- name: rake
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '0'
35
- type: :development
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- version: '0'
42
- - !ruby/object:Gem::Dependency
43
- name: rake-compiler
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: '0'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: '0'
12
+ date: 2021-10-19 00:00:00.000000000 Z
13
+ dependencies: []
56
14
  description: Ruby interface for the zlib compression/decompression library
57
15
  email:
58
16
  - matz@ruby-lang.org
59
- -
17
+ -
60
18
  executables: []
61
19
  extensions:
62
20
  - ext/zlib/extconf.rb
63
21
  extra_rdoc_files: []
64
22
  files:
65
- - ".gitignore"
66
- - ".travis.yml"
67
- - Gemfile
68
23
  - LICENSE.txt
69
24
  - README.md
70
- - Rakefile
71
- - bin/console
72
- - bin/setup
73
25
  - ext/zlib/extconf.rb
74
26
  - ext/zlib/zlib.c
75
27
  - zlib.gemspec
76
28
  homepage: https://github.com/ruby/zlib
77
29
  licenses:
30
+ - Ruby
78
31
  - BSD-2-Clause
79
32
  metadata: {}
80
- post_install_message:
33
+ post_install_message:
81
34
  rdoc_options: []
82
35
  require_paths:
83
36
  - lib
@@ -92,9 +45,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
45
  - !ruby/object:Gem::Version
93
46
  version: '0'
94
47
  requirements: []
95
- rubyforge_project:
96
- rubygems_version: 2.5.2.1
97
- signing_key:
48
+ rubygems_version: 3.3.0.dev
49
+ signing_key:
98
50
  specification_version: 4
99
51
  summary: Ruby interface for the zlib compression/decompression library
100
52
  test_files: []
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- *.bundle
11
- *.so
12
- *.dll
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.3.5
5
- - 2.4.2
6
- - ruby-head
7
- before_install: gem install bundler
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in zlib.gemspec
4
- gemspec
data/Rakefile DELETED
@@ -1,13 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
3
-
4
- Rake::TestTask.new(:test) do |t|
5
- t.libs << "test" << "test/lib"
6
- t.libs << "lib"
7
- t.test_files = FileList['test/**/test_*.rb']
8
- end
9
-
10
- require 'rake/extensiontask'
11
- Rake::ExtensionTask.new("zlib")
12
-
13
- task :default => [:compile, :test]
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "zlib"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- 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