textfile 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.travis.yml +1 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +16 -2
- data/README.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/textfile.rb +1 -1
- data/test/helper.rb +6 -0
- data/test/test_textfile.rb +2 -1
- data/textfile.gemspec +67 -0
- metadata +18 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWRjOWM5NzA2ZDRlMWUxNmIzYzRmMjUyYjZmMGE2YWE4MGZkYmMzMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTU1NjhiZTljNjEzNGI3ODY1YTAyOTliZGRiZjlmNTM1MGRiNGFhOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yzk2ZWU3MjBjYjBiMDVjZDg5ZWY0Y2Y3MzNiYjI0YjUyNjBiZjY5ZjRkMmIx
|
10
|
+
YjE2ZmE2YWNkYzFlOGI5Zjc2YzFlM2FmODI3Zjg2YjBhZmJhNDNkNzY0OTU5
|
11
|
+
NDE3MTM5N2UzNzI5ZmRmNzJlNzdiMWQ2MTdjNjcwOGNlMDk3OTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTQyY2ZjMWI3MTY3Mzc0MmQ1ODlhMWJhNmVmYTc4MTMzYWIyYTRjZjMwNTFi
|
14
|
+
MGZiN2FlMzg4MDg1NzI1MDlmMjY0NTdhNjU2YTdkOWM0ZGVmOTg4MjU2OWU1
|
15
|
+
ZDM1NzM0ZGE3YmVjZTBlODdjNTY2NDg1YzJlZmYwOWZhN2JhNjA=
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -9,6 +9,12 @@ GEM
|
|
9
9
|
tzinfo (~> 1.1)
|
10
10
|
addressable (2.3.6)
|
11
11
|
builder (3.2.2)
|
12
|
+
coveralls (0.7.2)
|
13
|
+
multi_json (~> 1.3)
|
14
|
+
rest-client (= 1.6.7)
|
15
|
+
simplecov (>= 0.7)
|
16
|
+
term-ansicolor (= 1.2.2)
|
17
|
+
thor (= 0.18.1)
|
12
18
|
descendants_tracker (0.0.4)
|
13
19
|
thread_safe (~> 0.3, >= 0.3.1)
|
14
20
|
docile (1.1.5)
|
@@ -37,6 +43,7 @@ GEM
|
|
37
43
|
rdoc
|
38
44
|
json (1.8.1)
|
39
45
|
jwt (1.0.0)
|
46
|
+
mime-types (2.4.3)
|
40
47
|
mini_portile (0.6.0)
|
41
48
|
minitest (5.3.5)
|
42
49
|
multi_json (1.10.1)
|
@@ -54,18 +61,24 @@ GEM
|
|
54
61
|
rake (10.3.2)
|
55
62
|
rdoc (3.12.2)
|
56
63
|
json (~> 1.4)
|
64
|
+
rest-client (1.6.7)
|
65
|
+
mime-types (>= 1.16)
|
57
66
|
shoulda (3.5.0)
|
58
67
|
shoulda-context (~> 1.0, >= 1.0.1)
|
59
68
|
shoulda-matchers (>= 1.4.1, < 3.0)
|
60
69
|
shoulda-context (1.2.1)
|
61
70
|
shoulda-matchers (2.6.1)
|
62
71
|
activesupport (>= 3.0.0)
|
63
|
-
simplecov (0.
|
72
|
+
simplecov (0.9.1)
|
64
73
|
docile (~> 1.1.0)
|
65
|
-
multi_json
|
74
|
+
multi_json (~> 1.0)
|
66
75
|
simplecov-html (~> 0.8.0)
|
67
76
|
simplecov-html (0.8.0)
|
77
|
+
term-ansicolor (1.2.2)
|
78
|
+
tins (~> 0.8)
|
79
|
+
thor (0.18.1)
|
68
80
|
thread_safe (0.3.4)
|
81
|
+
tins (0.13.2)
|
69
82
|
tzinfo (1.2.1)
|
70
83
|
thread_safe (~> 0.1)
|
71
84
|
|
@@ -74,6 +87,7 @@ PLATFORMS
|
|
74
87
|
|
75
88
|
DEPENDENCIES
|
76
89
|
bundler (~> 1.0)
|
90
|
+
coveralls
|
77
91
|
jeweler (~> 2.0.1)
|
78
92
|
rdoc (~> 3.12)
|
79
93
|
shoulda
|
data/README.rdoc
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
= textfile
|
2
2
|
|
3
3
|
{<img src="https://badge.fury.io/rb/textfile.svg" alt="Gem Version" />}[http://badge.fury.io/rb/textfile]
|
4
|
+
{<img src="https://travis-ci.org/varyonic/textfile.svg" />}[https://travis-ci.org/varyonic/textfile]
|
5
|
+
{<img src="https://coveralls.io/repos/varyonic/textfile/badge.png" />}[https://coveralls.io/r/varyonic/textfile]
|
6
|
+
{<img src="https://gemnasium.com/varyonic/textfile.svg" alt="Dependency Status" />}[https://gemnasium.com/varyonic/textfile]
|
7
|
+
{<img src="https://codeclimate.com/github/varyonic/textfile/badges/gpa.svg" />}[https://codeclimate.com/github/varyonic/textfile]
|
4
8
|
|
5
9
|
Provides a Set-like wrapper around GNU comm and related textfile utilities.
|
6
10
|
Method names are inspired by Set, though this is not an Enumerable class.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/lib/textfile.rb
CHANGED
data/test/helper.rb
CHANGED
data/test/test_textfile.rb
CHANGED
@@ -62,6 +62,7 @@ class TestTextfile < Minitest::Test
|
|
62
62
|
textfile.send :sort
|
63
63
|
|
64
64
|
file = File.open(textfile.path, external_encoding: 'UTF-8')
|
65
|
-
|
65
|
+
# OSX collation broken? Works on Linux.
|
66
|
+
assert_equal(file.read.split("\n"), ["Muffler", "Müller", "MX Systems", "MySQL"])
|
66
67
|
end
|
67
68
|
end
|
data/textfile.gemspec
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: textfile 1.0.1 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "textfile"
|
9
|
+
s.version = "1.0.1"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
13
|
+
s.authors = ["Piers Chambers"]
|
14
|
+
s.date = "2014-11-22"
|
15
|
+
s.description = "A common use case is to identify differences between exported datasets where the datasets may exceed 100K rows and each row may exceed 4K characters."
|
16
|
+
s.email = "piers@varyonic.com"
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".travis.yml",
|
24
|
+
"Gemfile",
|
25
|
+
"Gemfile.lock",
|
26
|
+
"LICENSE.txt",
|
27
|
+
"README.rdoc",
|
28
|
+
"Rakefile",
|
29
|
+
"VERSION",
|
30
|
+
"lib/textfile.rb",
|
31
|
+
"test/helper.rb",
|
32
|
+
"test/test_textfile.rb",
|
33
|
+
"textfile.gemspec"
|
34
|
+
]
|
35
|
+
s.homepage = "http://github.com/varyonic/textfile"
|
36
|
+
s.licenses = ["MIT"]
|
37
|
+
s.rubygems_version = "2.2.2"
|
38
|
+
s.summary = "Set-like wrapper around GNU comm and related textfile utilities."
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
s.specification_version = 4
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
45
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
46
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
47
|
+
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
|
48
|
+
s.add_development_dependency(%q<coveralls>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
52
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
53
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
54
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
55
|
+
s.add_dependency(%q<coveralls>, [">= 0"])
|
56
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
57
|
+
end
|
58
|
+
else
|
59
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
60
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
61
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
62
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
|
63
|
+
s.add_dependency(%q<coveralls>, [">= 0"])
|
64
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: textfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piers Chambers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.0.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: coveralls
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,6 +114,7 @@ files:
|
|
100
114
|
- lib/textfile.rb
|
101
115
|
- test/helper.rb
|
102
116
|
- test/test_textfile.rb
|
117
|
+
- textfile.gemspec
|
103
118
|
homepage: http://github.com/varyonic/textfile
|
104
119
|
licenses:
|
105
120
|
- MIT
|
@@ -120,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
135
|
version: '0'
|
121
136
|
requirements: []
|
122
137
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
138
|
+
rubygems_version: 2.2.2
|
124
139
|
signing_key:
|
125
140
|
specification_version: 4
|
126
141
|
summary: Set-like wrapper around GNU comm and related textfile utilities.
|