hatenagraphup 1.2.2 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
5
+ vendor/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in hatena-graph-update.gemspec
4
+ gemspec
@@ -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
+
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -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 #{HatenaGraphUp::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
@@ -0,0 +1,7 @@
1
+ require "hatena/graph-update/version"
2
+
3
+ module Hatena
4
+ module GraphUpdate
5
+ # Your code goes here...
6
+ end
7
+ end
@@ -0,0 +1,5 @@
1
+ module Hatena
2
+ module GraphUpdate
3
+ VERSION = "1.2.3"
4
+ end
5
+ 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.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
- date: 2009-02-09 00:00:00 +09:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 1.8.3
24
- version:
25
- description: updating data to Hatena Graph.
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
- extra_rdoc_files:
33
- - Manifest.txt
34
- files:
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
- - lib/hatenagraphup.rb
40
- has_rdoc: true
41
- homepage: Hatena Graph Update <http://rubyforge.org/projects/hatenagraphup/>
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
- - --main
45
- - README.txt
46
- require_paths:
45
+ rdoc_options: []
46
+ require_paths:
47
47
  - lib
48
- required_ruby_version: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: "0"
53
- version:
54
- required_rubygems_version: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- version: "0"
59
- version:
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
- rubyforge_project: hatenagraphup
63
- rubygems_version: 1.2.0
61
+ rubyforge_project:
62
+ rubygems_version: 1.8.11
64
63
  signing_key:
65
- specification_version: 2
66
- summary: updating data to Hatena Graph.
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
-
@@ -1,5 +0,0 @@
1
- Manifest.txt
2
- ChangeLog
3
- README.ja
4
- bin/hatena-graph-update
5
- lib/hatenagraphup.rb
@@ -1,3 +0,0 @@
1
- module HatenaGraphUp
2
- VERSION = '1.2.2'
3
- end