twitter2vk_reposter 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ChangeLog +3 -0
  2. data/bin/twitter2vk_reposter +2 -1
  3. metadata +37 -22
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.4 (Борщ)
2
+ * Fix for statuses with <, > and &.
3
+
1
4
  == 0.3.3 (Перец)
2
5
  * Write last message ID only if it change.
3
6
 
@@ -48,7 +48,8 @@ def link(status)
48
48
  end
49
49
 
50
50
  def format_text(status, format)
51
- format.gsub('%status%', status['text']).
51
+ text = status['text'].gsub('&lt;', '<').gsub('&gt;', '>').gsub('&amp;', '&')
52
+ format.gsub('%status%', text).
52
53
  gsub('%url%', link(status)).
53
54
  gsub('%author%', '@' + status['user']['screen_name']).mb_chars
54
55
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter2vk_reposter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 3
8
+ - 4
9
+ version: 0.3.4
5
10
  platform: ruby
6
11
  authors:
7
12
  - Andrey "A.I." Sitnik
@@ -9,49 +14,57 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-26 00:00:00 +03:00
17
+ date: 2010-05-09 00:00:00 +04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: activesupport
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :runtime
31
+ version_requirements: *id001
25
32
  - !ruby/object:Gem::Dependency
26
33
  name: json
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ requirement: &id002 !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
39
+ segments:
40
+ - 0
33
41
  version: "0"
34
- version:
42
+ type: :runtime
43
+ version_requirements: *id002
35
44
  - !ruby/object:Gem::Dependency
36
45
  name: rvk
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
46
+ prerelease: false
47
+ requirement: &id003 !ruby/object:Gem::Requirement
40
48
  requirements:
41
49
  - - ">="
42
50
  - !ruby/object:Gem::Version
51
+ segments:
52
+ - 0
43
53
  version: "0"
44
- version:
54
+ type: :runtime
55
+ version_requirements: *id003
45
56
  - !ruby/object:Gem::Dependency
46
57
  name: twitter_oauth
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
58
+ prerelease: false
59
+ requirement: &id004 !ruby/object:Gem::Requirement
50
60
  requirements:
51
61
  - - ">="
52
62
  - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
53
65
  version: "0"
54
- version:
66
+ type: :runtime
67
+ version_requirements: *id004
55
68
  description: " Server script to repost Twitter statuses to VK (\xD0\x92 \xD0\x9A\xD0\xBE\xD0\xBD\xD1\x82\xD0\xB0\xD0\xBA\xD1\x82\xD0\xB5).\n Install twitter2vk to create config and cron task for it.\n"
56
69
  email: andrey@sitnik.ru
57
70
  executables:
@@ -73,23 +86,25 @@ post_install_message:
73
86
  rdoc_options: []
74
87
 
75
88
  require_paths:
76
- - lib
89
+ - ""
77
90
  required_ruby_version: !ruby/object:Gem::Requirement
78
91
  requirements:
79
92
  - - ">="
80
93
  - !ruby/object:Gem::Version
94
+ segments:
95
+ - 0
81
96
  version: "0"
82
- version:
83
97
  required_rubygems_version: !ruby/object:Gem::Requirement
84
98
  requirements:
85
99
  - - ">="
86
100
  - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
87
103
  version: "0"
88
- version:
89
104
  requirements: []
90
105
 
91
106
  rubyforge_project: twitter2vk
92
- rubygems_version: 1.3.5
107
+ rubygems_version: 1.3.6
93
108
  signing_key:
94
109
  specification_version: 3
95
110
  summary: "Atomatic repost Twitter statuses to VK (\xD0\x92 \xD0\x9A\xD0\xBE\xD0\xBD\xD1\x82\xD0\xB0\xD0\xBA\xD1\x82\xD0\xB5)."