twitter2vk 0.3.7 → 0.3.8
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/ChangeLog +5 -0
- data/README.markdown +13 -8
- data/bin/twitter2vk +1 -1
- metadata +7 -7
data/ChangeLog
CHANGED
data/README.markdown
CHANGED
@@ -16,10 +16,11 @@
|
|
16
16
|
настройки на домашнем компьютере (не забудьте добавить задание cron). Или можете
|
17
17
|
удалить пакет twitter2vk, после настройки.
|
18
18
|
|
19
|
-
Вы можете последовать за автором
|
20
|
-
|
19
|
+
Вы можете последовать за автором
|
20
|
+
[@andrey_sitnik](http://twitter.com/andrey_sitnik), чтобы получать информацию о
|
21
|
+
последних обновлениях. По всем вопросам можно писать на <andrey@sitnik.ru>.
|
21
22
|
|
22
|
-
Подробная статья — http://habrahabr.ru/blogs/twitter/88386
|
23
|
+
Подробная статья — <http://habrahabr.ru/blogs/twitter/88386/>.
|
23
24
|
|
24
25
|
### Возможности
|
25
26
|
- Не хранит пароли в настройках.
|
@@ -29,7 +30,7 @@
|
|
29
30
|
### Установка
|
30
31
|
1. Установите Ruby и Rubygems. Например, для Ubuntu:
|
31
32
|
|
32
|
-
sudo apt-get install rubygems
|
33
|
+
sudo apt-get install rubygems build-essential
|
33
34
|
|
34
35
|
2. Установите gem twitter2vk:
|
35
36
|
|
@@ -47,7 +48,8 @@
|
|
47
48
|
OAuth.
|
48
49
|
* `exclude` — список слов или regexp’ов статусов, которые не нужно публиковать
|
49
50
|
во В Контакте. Код `:reply` исключит ваши ответы другим пользователя,
|
50
|
-
`:retweet` — ретвиты от
|
51
|
+
`:retweet` — ретвиты от вас, `:all` — все сообщения (имеет смысл, если
|
52
|
+
комбинировать с правилами из `include`).
|
51
53
|
* `include` — список слов или regexp’ов для отмены exclude.
|
52
54
|
* `format` — вид статуса во В Контакте. `%status%` будет заменён на текст
|
53
55
|
статуса, `%url%` — на ссылку на статус в Twitter’е.
|
@@ -74,7 +76,9 @@ You may install on server only twitter2vk_reposter package and create config
|
|
74
76
|
on home computer (don’t remember to add cron task). Or you can uninstall
|
75
77
|
twitter2vk after you create config.
|
76
78
|
|
77
|
-
You can follow author @andrey_sitnik
|
79
|
+
You can follow author [@andrey_sitnik](http://twitter.com/andrey_sitnik)
|
80
|
+
to receive last updates info. You can ask me any questions by e-mail:
|
81
|
+
<andrey@sitnik.ru>.
|
78
82
|
|
79
83
|
### Features
|
80
84
|
* Don’t store passwords in config.
|
@@ -84,7 +88,7 @@ You can follow author @andrey_sitnik to receive last updates info.
|
|
84
88
|
### Install
|
85
89
|
1. Install Ruby and Rubygems. For example, on Ubuntu:
|
86
90
|
|
87
|
-
sudo apt-get install rubygems
|
91
|
+
sudo apt-get install rubygems build-essential
|
88
92
|
|
89
93
|
2. Install twitter2vk gem:
|
90
94
|
|
@@ -101,7 +105,8 @@ Config is a YAML files with options:
|
|
101
105
|
* `twitter_token`, `twitter_secret` — data to access to Twitter by OAuth.
|
102
106
|
* `exclude` – list of text or regexp patterns to exclude statuses from your VK.
|
103
107
|
Code `:reply` will exclude your replies to another users, `:retweet` will
|
104
|
-
exclude retweets by you
|
108
|
+
exclude retweets by you, `:all` will exclude all message (make sense with
|
109
|
+
`include` rules).
|
105
110
|
* `include` – list of text or regexp patterns to repost excluded statuses.
|
106
111
|
* `format` – format reposted status. `%status%` will be replaced by status text,
|
107
112
|
`%url%` by status link on Twitter.
|
data/bin/twitter2vk
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter2vk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 8
|
10
|
+
version: 0.3.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrey "A.I." Sitnik
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-27 00:00:00 +03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - "="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 3
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 3
|
33
|
-
-
|
34
|
-
version: 0.3.
|
33
|
+
- 8
|
34
|
+
version: 0.3.8
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|