rspreadsheet 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEVEL_BLOG.md +2 -3
- data/README.md +1 -1
- data/lib/rspreadsheet/version.rb +1 -1
- data/rspreadsheet.gemspec +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba8d928bfac03acfa731a5d4d44f380cdf6a5b49
|
4
|
+
data.tar.gz: f25cf83032b4d748337fe2601cf2060b69371214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73e568971ecdbfd2f3c19a5a8e3c171e2f2dba112fb2a3283f687568241b01e0cb292ee3677ca1ad2e223f9e159ce0ed5e9f8f823993d8b761b3590a1f13dd97
|
7
|
+
data.tar.gz: 22f35a0dd81b4e980d5d1ce2e50b6dbe2e13ca715061d3659378398bd7fe44871da7c50c23563a98108274f87502a292b1970f922477e242951be4e4ad7c7f71
|
data/DEVEL_BLOG.md
CHANGED
@@ -4,9 +4,8 @@ See [GUIDE.md](GUIDE.md#conventions) for syntax conventions.
|
|
4
4
|
|
5
5
|
After you have cloned the source run `bundle` command in gem directory to install needed tools. If there are any errors try to
|
6
6
|
|
7
|
-
1. Make sure that necessary tools are installed. In debian based distros you may try this `apt-get install make gcc`. In other distros, use their native way to install
|
8
|
-
2.
|
9
|
-
3. Comment out `guard` and `guard-rspec` lines from gemfile if you use ruby version less than 2.2.1.
|
7
|
+
1. Make sure that necessary tools are installed. In debian based distros you may try this `apt-get install make gcc`. In other distros, use their native way to install tool.
|
8
|
+
2. Comment out `guard` and `guard-rspec` lines from gemfile if you use ruby version less than 2.2.1.
|
10
9
|
|
11
10
|
## Ideas/wishlist
|
12
11
|
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Build Status](https://api.travis-ci.org/gorn/rspreadsheet.svg?branch=master)](https://travis-ci.org/gorn/rspreadsheet) [![Coverage Status](https://coveralls.io/repos/gorn/rspreadsheet/badge.svg?branch=master&service=github)](https://coveralls.io/r/gorn/rspreadsheet) [![User opinion wanted](https://
|
1
|
+
[![Build Status](https://api.travis-ci.org/gorn/rspreadsheet.svg?branch=master)](https://travis-ci.org/gorn/rspreadsheet) [![Coverage Status](https://coveralls.io/repos/gorn/rspreadsheet/badge.svg?branch=master&service=github)](https://coveralls.io/r/gorn/rspreadsheet) [![User opinion wanted](https://img.shields.io/badge/user%20opinion%20wanted-yes-blue.svg)](https://github.com/gorn/rspreadsheet/projects/1)
|
2
2
|
|
3
3
|
# rspreadsheet
|
4
4
|
|
data/lib/rspreadsheet/version.rb
CHANGED
data/rspreadsheet.gemspec
CHANGED
@@ -18,12 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
def self.
|
22
|
-
system
|
21
|
+
def self.package_natively_installed?(pkgname)
|
22
|
+
# if the shell fails, the system command returns nil. In that case we assume that the package is NOT installed. It might be overkill, because I am supresing the stderr as well
|
23
|
+
(system("dpkg-query -l #{pkgname} 2>/dev/null | grep -q '^i'")==true) or # debian based
|
24
|
+
(system("rpm -qa 2>/dev/null | grep -q '#{pkgname}' ")==true) or # rpm based
|
25
|
+
(system("pkg_info -q -e #{pkgname} >/dev/null 2>&1")==true) # openbsd and alike
|
23
26
|
end
|
24
27
|
|
25
28
|
# runtime dependencies
|
26
|
-
unless
|
29
|
+
unless package_natively_installed?('ruby-libxml')
|
27
30
|
spec.add_runtime_dependency 'libxml-ruby', '~>2.7' # parsing XML files
|
28
31
|
end
|
29
32
|
spec.add_runtime_dependency 'rubyzip', '~>1.1' # opening zip files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub A.Těšínský
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|