hatenagraphup 1.2.2 → 1.2.3
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.
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/README.txt +34 -0
- data/Rakefile +1 -0
- data/bin/hatena-graph-update +2 -2
- data/hatenagraphup.gemspec +22 -0
- data/lib/hatena/graph-update.rb +7 -0
- data/lib/hatena/graph-update/version.rb +5 -0
- metadata +50 -52
- data/ChangeLog +0 -28
- data/Manifest.txt +0 -5
- data/lib/hatenagraphup.rb +0 -3
data/Gemfile
ADDED
data/README.txt
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
= blah
|
2
|
+
|
3
|
+
* Hatena Graph Update <http://rubyforge.org/projects/hatenagraphup/>
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
updating data to Hatena Graph.
|
8
|
+
|
9
|
+
== FEATURES/PROBLEMS:
|
10
|
+
|
11
|
+
* updating data to Hatena Graph service.
|
12
|
+
* supported append mode.
|
13
|
+
* supported pit or net/netrc.
|
14
|
+
|
15
|
+
== SYNOPSIS:
|
16
|
+
|
17
|
+
hatena-graph-update [-u id] [-p pass] [-d date] [-a] graph [data...]
|
18
|
+
|
19
|
+
== REQUIREMENTS:
|
20
|
+
|
21
|
+
* ruby 1.8.7 or later.
|
22
|
+
* hatena/api/graph
|
23
|
+
* pit or net/netrc (optional)
|
24
|
+
|
25
|
+
== INSTALL:
|
26
|
+
|
27
|
+
* sudo gem install hatenagraphup
|
28
|
+
|
29
|
+
== LICENSE:
|
30
|
+
|
31
|
+
Distributed under GPL.
|
32
|
+
|
33
|
+
Copyright (c) 2009 TADA Tadashi <t@tdtds.jp>
|
34
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/hatena-graph-update
CHANGED
@@ -11,7 +11,6 @@ begin
|
|
11
11
|
require 'rubygems'
|
12
12
|
rescue LoadError
|
13
13
|
end
|
14
|
-
require 'hatenagraphup'
|
15
14
|
require 'optparse'
|
16
15
|
require 'ostruct'
|
17
16
|
require 'time'
|
@@ -44,9 +43,10 @@ ARGV.options do |opt|
|
|
44
43
|
opt.on( '-d DATE', '--date' ) {|v| Opt.date = Date::parse( v ) }
|
45
44
|
opt.on( '-a', '--append' ) {|v| Opt.append = true }
|
46
45
|
opt.on( '-h', '--help' ) do |v|
|
46
|
+
require 'hatena/graph-update'
|
47
47
|
puts <<-USAGE.gsub( /^\t\t/, '' )
|
48
48
|
hatena-graph-update: sending data to hatena graph service.
|
49
|
-
version #{
|
49
|
+
version #{Hatena::GraphUpdate::VERSION}
|
50
50
|
usage:
|
51
51
|
#{File.basename( $0 )} [-u id] [-p pass] [-d date] [-a] graph [data...]
|
52
52
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "hatena/graph-update"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "hatenagraphup"
|
7
|
+
s.version = Hatena::GraphUpdate::VERSION
|
8
|
+
s.authors = ["TADA Tadashi"]
|
9
|
+
s.email = ["t@tdtds.jp"]
|
10
|
+
s.homepage = "https://github.com/tdtds/hatena-graph-update"
|
11
|
+
s.summary = %q{Hatena Graph updater}
|
12
|
+
s.description = %q{Updating Hatena Graph via HTTP.}
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
|
19
|
+
# specify any dependencies here; for example:
|
20
|
+
# s.add_development_dependency "rspec"
|
21
|
+
s.add_runtime_dependency "hatenaapigraph"
|
22
|
+
end
|
metadata
CHANGED
@@ -1,68 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: hatenagraphup
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
|
-
authors:
|
7
|
+
authors:
|
7
8
|
- TADA Tadashi
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
email:
|
12
|
+
date: 2012-03-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: hatenaapigraph
|
16
|
+
requirement: &79847670 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *79847670
|
25
|
+
description: Updating Hatena Graph via HTTP.
|
26
|
+
email:
|
27
27
|
- t@tdtds.jp
|
28
|
-
executables:
|
28
|
+
executables:
|
29
29
|
- hatena-graph-update
|
30
30
|
extensions: []
|
31
|
-
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- Manifest.txt
|
36
|
-
- ChangeLog
|
31
|
+
extra_rdoc_files: []
|
32
|
+
files:
|
33
|
+
- .gitignore
|
34
|
+
- Gemfile
|
37
35
|
- README.ja
|
36
|
+
- README.txt
|
37
|
+
- Rakefile
|
38
38
|
- bin/hatena-graph-update
|
39
|
-
-
|
40
|
-
|
41
|
-
|
39
|
+
- hatenagraphup.gemspec
|
40
|
+
- lib/hatena/graph-update.rb
|
41
|
+
- lib/hatena/graph-update/version.rb
|
42
|
+
homepage: https://github.com/tdtds/hatena-graph-update
|
43
|
+
licenses: []
|
42
44
|
post_install_message:
|
43
|
-
rdoc_options:
|
44
|
-
|
45
|
-
- README.txt
|
46
|
-
require_paths:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
47
|
- lib
|
48
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
60
|
requirements: []
|
61
|
-
|
62
|
-
|
63
|
-
rubygems_version: 1.2.0
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 1.8.11
|
64
63
|
signing_key:
|
65
|
-
specification_version:
|
66
|
-
summary:
|
64
|
+
specification_version: 3
|
65
|
+
summary: Hatena Graph updater
|
67
66
|
test_files: []
|
68
|
-
|
data/ChangeLog
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
2009-02-09 TADA Tadashi <t@tdtds.jp>
|
2
|
-
* changed command name.
|
3
|
-
* release 1.2.2.
|
4
|
-
|
5
|
-
2009-02-09 TADA Tadashi <t@tdtds.jp>
|
6
|
-
* release 1.2.1, supported gem.
|
7
|
-
|
8
|
-
2009-02-09 TADA Tadashi <t@tdtds.jp>
|
9
|
-
* supported pit library.
|
10
|
-
* release 1.2.0
|
11
|
-
|
12
|
-
2009-02-09 TADA Tadashi <t@tdtds.jp>
|
13
|
-
* deleted -c option because API has get_data operation.
|
14
|
-
* release 1.1.0.
|
15
|
-
|
16
|
-
2007-02-21 TADA Tadashi <t@tdtds.jp>
|
17
|
-
* release 1.0.0.
|
18
|
-
|
19
|
-
2007-02-10 TADA Tadashi <t@tdtds.jp>
|
20
|
-
* fix problem 1st update in a day in append mode.
|
21
|
-
|
22
|
-
2007-02-09 TADA Tadashi <t@tdtds.jp>
|
23
|
-
* support append mode (-a and -c).
|
24
|
-
|
25
|
-
2007-02-06 TADA Tadashi <t@tdtds.jp>
|
26
|
-
* check-in 1st revision.
|
27
|
-
* add usage and error messages.
|
28
|
-
|
data/Manifest.txt
DELETED
data/lib/hatenagraphup.rb
DELETED