user-stream-receiver 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -3,6 +3,7 @@
3
3
  # Created by hitode909 on 2011-1-18.
4
4
  # Copyright (c) 2011. All rights reserved.
5
5
 
6
+ require 'time'
6
7
  require 'rubygems'
7
8
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
8
9
 
@@ -22,6 +23,11 @@ UserStreamReceiver.new.run{|chunk|
22
23
  : data['event'] ? 'event'
23
24
  : data['delete'] ? 'delete'
24
25
  : 'status'
26
+
27
+ [data, data['source'], data['target'], data['target_object']].each do |h|
28
+ h['created_at'] = Time.parse(h['created_at']) if h && h['created_at']
29
+ end
30
+
25
31
  db.collection(coll_key).insert(data)
26
32
 
27
33
  p data
@@ -5,14 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{user-stream-receiver}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{hitode909}]
12
- s.date = %q{2011-10-03}
11
+ s.authors = ["hitode909"]
12
+ s.date = %q{2011-10-05}
13
13
  s.description = %q{User Stream Receiver.}
14
14
  s.email = %q{hitode909@gmail.com}
15
- s.executables = [%q{user-stream-receiver-insert-mongo}, %q{user-stream-receiver}]
15
+ s.executables = ["user-stream-receiver-insert-mongo", "user-stream-receiver"]
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE.txt",
18
18
  "README.rdoc"
@@ -21,7 +21,6 @@ Gem::Specification.new do |s|
21
21
  ".document",
22
22
  ".rspec",
23
23
  "Gemfile",
24
- "Gemfile.lock",
25
24
  "LICENSE.txt",
26
25
  "README.rdoc",
27
26
  "Rakefile",
@@ -34,9 +33,9 @@ Gem::Specification.new do |s|
34
33
  "user-stream-receiver.gemspec"
35
34
  ]
36
35
  s.homepage = %q{http://github.com/hitode909/user-stream-receiver}
37
- s.licenses = [%q{MIT}]
38
- s.require_paths = [%q{lib}]
39
- s.rubygems_version = %q{1.8.6}
36
+ s.licenses = ["MIT"]
37
+ s.require_paths = ["lib"]
38
+ s.rubygems_version = %q{1.3.7}
40
39
  s.summary = %q{User Stream Receiver}
41
40
  s.test_files = [
42
41
  "spec/spec_helper.rb",
@@ -44,6 +43,7 @@ Gem::Specification.new do |s|
44
43
  ]
45
44
 
46
45
  if s.respond_to? :specification_version then
46
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
47
47
  s.specification_version = 3
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user-stream-receiver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
5
- prerelease:
4
+ hash: 15
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - hitode909
@@ -15,11 +15,14 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-03 00:00:00 Z
18
+ date: 2011-10-05 00:00:00 +09:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  type: :runtime
22
- requirement: &id001 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ name: oauth-cli-twitter
25
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
26
  none: false
24
27
  requirements:
25
28
  - - ">="
@@ -28,12 +31,12 @@ dependencies:
28
31
  segments:
29
32
  - 0
30
33
  version: "0"
31
- version_requirements: *id001
32
- name: oauth-cli-twitter
33
- prerelease: false
34
+ requirement: *id001
34
35
  - !ruby/object:Gem::Dependency
35
36
  type: :development
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ prerelease: false
38
+ name: rspec
39
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
40
  none: false
38
41
  requirements:
39
42
  - - ~>
@@ -44,12 +47,12 @@ dependencies:
44
47
  - 3
45
48
  - 0
46
49
  version: 2.3.0
47
- version_requirements: *id002
48
- name: rspec
49
- prerelease: false
50
+ requirement: *id002
50
51
  - !ruby/object:Gem::Dependency
51
52
  type: :development
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
+ prerelease: false
54
+ name: bundler
55
+ version_requirements: &id003 !ruby/object:Gem::Requirement
53
56
  none: false
54
57
  requirements:
55
58
  - - ~>
@@ -60,12 +63,12 @@ dependencies:
60
63
  - 0
61
64
  - 0
62
65
  version: 1.0.0
63
- version_requirements: *id003
64
- name: bundler
65
- prerelease: false
66
+ requirement: *id003
66
67
  - !ruby/object:Gem::Dependency
67
68
  type: :development
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
+ prerelease: false
70
+ name: jeweler
71
+ version_requirements: &id004 !ruby/object:Gem::Requirement
69
72
  none: false
70
73
  requirements:
71
74
  - - ~>
@@ -76,12 +79,12 @@ dependencies:
76
79
  - 5
77
80
  - 2
78
81
  version: 1.5.2
79
- version_requirements: *id004
80
- name: jeweler
81
- prerelease: false
82
+ requirement: *id004
82
83
  - !ruby/object:Gem::Dependency
83
84
  type: :development
84
- requirement: &id005 !ruby/object:Gem::Requirement
85
+ prerelease: false
86
+ name: rcov
87
+ version_requirements: &id005 !ruby/object:Gem::Requirement
85
88
  none: false
86
89
  requirements:
87
90
  - - ">="
@@ -90,12 +93,12 @@ dependencies:
90
93
  segments:
91
94
  - 0
92
95
  version: "0"
93
- version_requirements: *id005
94
- name: rcov
95
- prerelease: false
96
+ requirement: *id005
96
97
  - !ruby/object:Gem::Dependency
97
98
  type: :development
98
- requirement: &id006 !ruby/object:Gem::Requirement
99
+ prerelease: false
100
+ name: rspec
101
+ version_requirements: &id006 !ruby/object:Gem::Requirement
99
102
  none: false
100
103
  requirements:
101
104
  - - ">"
@@ -106,9 +109,7 @@ dependencies:
106
109
  - 2
107
110
  - 3
108
111
  version: 1.2.3
109
- version_requirements: *id006
110
- name: rspec
111
- prerelease: false
112
+ requirement: *id006
112
113
  description: User Stream Receiver.
113
114
  email: hitode909@gmail.com
114
115
  executables:
@@ -123,7 +124,6 @@ files:
123
124
  - .document
124
125
  - .rspec
125
126
  - Gemfile
126
- - Gemfile.lock
127
127
  - LICENSE.txt
128
128
  - README.rdoc
129
129
  - Rakefile
@@ -134,6 +134,7 @@ files:
134
134
  - spec/spec_helper.rb
135
135
  - spec/user-stream-receiver_spec.rb
136
136
  - user-stream-receiver.gemspec
137
+ has_rdoc: true
137
138
  homepage: http://github.com/hitode909/user-stream-receiver
138
139
  licenses:
139
140
  - MIT
@@ -163,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
164
  requirements: []
164
165
 
165
166
  rubyforge_project:
166
- rubygems_version: 1.8.6
167
+ rubygems_version: 1.3.7
167
168
  signing_key:
168
169
  specification_version: 3
169
170
  summary: User Stream Receiver
data/Gemfile.lock DELETED
@@ -1,49 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- diff-lcs (1.1.2)
5
- git (1.2.5)
6
- highline (1.6.1)
7
- jeweler (1.5.2)
8
- bundler (~> 1.0.0)
9
- git (>= 1.2.5)
10
- rake
11
- json (1.4.6)
12
- notify (0.3.0)
13
- oauth (0.4.4)
14
- oauth-cli-twitter (0.0.2)
15
- oauth
16
- pit
17
- termtter
18
- pit (0.0.6)
19
- rake (0.8.7)
20
- rcov (0.9.9)
21
- rspec (2.3.0)
22
- rspec-core (~> 2.3.0)
23
- rspec-expectations (~> 2.3.0)
24
- rspec-mocks (~> 2.3.0)
25
- rspec-core (2.3.1)
26
- rspec-expectations (2.3.0)
27
- diff-lcs (~> 1.1.2)
28
- rspec-mocks (2.3.0)
29
- rubytter (1.4.1)
30
- json (>= 1.1.3)
31
- oauth (>= 0.3.6)
32
- termcolor (1.2.1)
33
- highline (>= 1.5.0)
34
- termtter (1.9.0)
35
- highline (>= 1.5.0)
36
- json (>= 1.1.3)
37
- notify (>= 0.2.1)
38
- rubytter (>= 1.4.0)
39
- termcolor (>= 1.0.0)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- bundler (~> 1.0.0)
46
- jeweler (~> 1.5.2)
47
- oauth-cli-twitter
48
- rcov
49
- rspec (~> 2.3.0)