ppcommand 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/Rakefile +0 -9
- data/VERSION +1 -1
- data/lib/ppcommand.rb +1 -1
- metadata +45 -20
- data/.gitignore +0 -22
data/README.rdoc
CHANGED
@@ -65,7 +65,7 @@ Parse HTML and pp (required nokogiri).
|
|
65
65
|
name = "head",
|
66
66
|
:
|
67
67
|
|
68
|
-
Get URL contents as text, skip 3
|
68
|
+
Get URL contents as text, skip 3 lines, convert encoding to UTF-8, parse CSV and pp with labels. When using --csvtable(-C), the first line treated as label.
|
69
69
|
|
70
70
|
$ pp -t http://example.com/items.csv | head -n +3 | nkf -w | pp -C
|
71
71
|
[[[0, "name", "apple"],
|
data/Rakefile
CHANGED
@@ -36,12 +36,3 @@ task :spec => :check_dependencies
|
|
36
36
|
|
37
37
|
task :default => :spec
|
38
38
|
|
39
|
-
require 'rake/rdoctask'
|
40
|
-
Rake::RDocTask.new do |rdoc|
|
41
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
42
|
-
|
43
|
-
rdoc.rdoc_dir = 'rdoc'
|
44
|
-
rdoc.title = "ppcommand #{version}"
|
45
|
-
rdoc.rdoc_files.include('README*')
|
46
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
47
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/ppcommand.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ppcommand
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 17
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- KOSEKI Kengo
|
@@ -9,39 +15,53 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2014-12-21 00:00:00 +09:00
|
13
19
|
default_executable: pp
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: json
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: xml-simple
|
27
|
-
|
28
|
-
|
29
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
30
40
|
requirements:
|
31
41
|
- - ">="
|
32
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
33
46
|
version: "0"
|
34
|
-
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
35
49
|
- !ruby/object:Gem::Dependency
|
36
50
|
name: rspec
|
37
|
-
|
38
|
-
|
39
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
40
54
|
requirements:
|
41
55
|
- - ">="
|
42
56
|
- !ruby/object:Gem::Version
|
57
|
+
hash: 13
|
58
|
+
segments:
|
59
|
+
- 1
|
60
|
+
- 2
|
61
|
+
- 9
|
43
62
|
version: 1.2.9
|
44
|
-
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
45
65
|
description: Parse and pp YAML/JSON/XML/CSV/HTML
|
46
66
|
email: koseki@gmail.com
|
47
67
|
executables:
|
@@ -53,7 +73,6 @@ extra_rdoc_files:
|
|
53
73
|
- README.rdoc
|
54
74
|
files:
|
55
75
|
- .document
|
56
|
-
- .gitignore
|
57
76
|
- LICENSE
|
58
77
|
- README.rdoc
|
59
78
|
- Rakefile
|
@@ -69,26 +88,32 @@ homepage: http://github.com/koseki/ppcommand
|
|
69
88
|
licenses: []
|
70
89
|
|
71
90
|
post_install_message:
|
72
|
-
rdoc_options:
|
73
|
-
|
91
|
+
rdoc_options: []
|
92
|
+
|
74
93
|
require_paths:
|
75
94
|
- lib
|
76
95
|
required_ruby_version: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
77
97
|
requirements:
|
78
98
|
- - ">="
|
79
99
|
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
80
103
|
version: "0"
|
81
|
-
version:
|
82
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
83
106
|
requirements:
|
84
107
|
- - ">="
|
85
108
|
- !ruby/object:Gem::Version
|
109
|
+
hash: 3
|
110
|
+
segments:
|
111
|
+
- 0
|
86
112
|
version: "0"
|
87
|
-
version:
|
88
113
|
requirements: []
|
89
114
|
|
90
115
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
116
|
+
rubygems_version: 1.6.2
|
92
117
|
signing_key:
|
93
118
|
specification_version: 3
|
94
119
|
summary: Parse and pp YAML/JSON/XML/CSV/HTML
|