compression-binaries 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: a26f60d74294e65855d11150d13db650fbe717e4
4
+ data.tar.gz: 47b2733b3b5a6b33bce9edca149a990090874139
5
+ SHA512:
6
+ metadata.gz: bbc8c27049961c0a1652d4bc83eec24bed6e74f9a67fde44d056a8d0b25a5a9735612b46415642c5876db5886a7d45b9b221066059f297349df9d9f218c6d32e
7
+ data.tar.gz: ea8ba52cdd3337b6ef82787a96f038da86b808d40f058fe96385c88535812ca3ab7dab7db13caeeb8c0a7702872e00d41cf278ba3af574ee5599e0a8e75b7f2d
data/exe/bro ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ arch = case RUBY_PLATFORM
4
+ when /64.*linux/
5
+ 'linux-amd64'
6
+ when /linux/
7
+ 'linux-x86'
8
+ when /darwin/
9
+ 'darwin-x86_64'
10
+ else
11
+ raise "Invalid platform. Must be running linux or intel-based Mac OS."
12
+ end
13
+
14
+ args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
15
+ cmd = File.expand_path "#{File.dirname(__FILE__)}/../libexec/bro-#{arch}"
16
+
17
+ exec "#{cmd} #{args.join(' ')}"
data/exe/zopfli ADDED
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ arch = case RUBY_PLATFORM
4
+ when /64.*linux/
5
+ 'linux-amd64'
6
+ when /linux/
7
+ 'linux-x86'
8
+ when /darwin/
9
+ 'darwin-x86_64'
10
+ else
11
+ raise "Invalid platform. Must be running linux or intel-based Mac OS."
12
+ end
13
+
14
+ args = $*.map { |x| x.include?(' ') ? "'" + x + "'" : x }
15
+ cmd = File.expand_path "#{File.dirname(__FILE__)}/../libexec/zopfli-#{arch}"
16
+
17
+ exec "#{cmd} #{args.join(' ')}"
File without changes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
metadata ADDED
@@ -0,0 +1,83 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: compression-binaries
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Stefan Wienert
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-01-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Provides binaries to zopfli and brotli
42
+ email:
43
+ - stefan.wienert@pludoni.de
44
+ executables:
45
+ - bro
46
+ - zopfli
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - exe/bro
51
+ - exe/zopfli
52
+ - lib/compression/binaries.rb
53
+ - libexec/bro-darwin-x86_64
54
+ - libexec/bro-linux-amd64
55
+ - libexec/bro-linux-x86
56
+ - libexec/zopfli-darwin-x86_64
57
+ - libexec/zopfli-linux-amd64
58
+ - libexec/zopfli-linux-x86
59
+ homepage: https://github.com/pludoni/compression-binaries-gem
60
+ licenses:
61
+ - MIT
62
+ metadata: {}
63
+ post_install_message:
64
+ rdoc_options: []
65
+ require_paths:
66
+ - lib
67
+ required_ruby_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ required_rubygems_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ requirements: []
78
+ rubyforge_project:
79
+ rubygems_version: 2.4.8
80
+ signing_key:
81
+ specification_version: 4
82
+ summary: Provides binaries to zopfli and brotli
83
+ test_files: []