ayadn 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +3 -0
- data/README.md +16 -10
- data/{config.yml → lib/ayadn/config.yml} +0 -0
- data/lib/ayadn/help.rb +1 -0
- data/lib/ayadn/tools.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjEzMjMxMWZhMzUzOTc5OTFhZmFjYzBjNzQyYzk4NTI1YzUzNTBlYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjE3MmRhZWU4MGE5MTZjMTMxNzM0MjkwYzY1NzZmMTQ1NWNiZjdmNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTdjMzgyMTFiNDlhYTM0MTA3M2FhYTViYjc1NTEzNjE5YTMyNzMxZTM1ZTZj
|
10
|
+
ZGZmMmMzMTAwMDM5NDk1YmJhNTM0ZTE4OTgwY2U0NzA5Mzc4OGU4ZGU1ZTA0
|
11
|
+
N2U4NzRlZmIwNDY1NDk4Njg2N2RkNTcxN2ZmZDc1OTkwNGE0MWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDI4NThiMDA0OTAyMjhlODBiYjA5YjVkZjI0ZGQwNGVhNzcwYmFkMGQ4NTA1
|
14
|
+
M2Y4MWVlMWE0YmE3ODRiYjMxNDZjNTY4NTNlZjBkZTRmYTBhYTNlYmY0ZjFm
|
15
|
+
NTY5ZWNjNWQ4Mzk4MzhkY2NhM2RjZDNiMzI3Nzk4MjJmNzM5Mzg=
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -117,9 +117,9 @@ ayadn write 'Posting to App.net with Ruby!'
|
|
117
117
|
|
118
118
|
Ayadn is currently in a transition process from beta to v1.
|
119
119
|
|
120
|
-
This beta version is now a Gem
|
120
|
+
This beta version is now a Gem. It's identical to the previous Ayadn, except it lacks multi accounting.
|
121
121
|
|
122
|
-
The current [na](https://github.com/ericdke/na) repository will become Ayadn v1 when ready and complete (multi account, configuration with ayadn commands, fresh clean code, OSS rules compliant, etc).
|
122
|
+
The current [na](https://github.com/ericdke/na) repository will become Ayadn v1 when ready and complete (multi account, configuration with ayadn commands, fresh clean code, OSS rules compliant, new layout, new features, new options, etc).
|
123
123
|
|
124
124
|
## INSTALL
|
125
125
|
|
@@ -127,7 +127,7 @@ The current [na](https://github.com/ericdke/na) repository will become Ayadn v1
|
|
127
127
|
|
128
128
|
Ayadn is also compatible with Windows (install Ruby with Rubygems at [http://rubyinstaller.org](http://rubyinstaller.org)).
|
129
129
|
|
130
|
-
|
130
|
+
Run gem install:
|
131
131
|
|
132
132
|
```
|
133
133
|
gem install ayadn
|
@@ -147,17 +147,23 @@ If you provide the `write` command without text, you will enter the compose mess
|
|
147
147
|
|
148
148
|
By default, Ayadn displays only the new posts in the stream since your last visit.
|
149
149
|
|
150
|
+
**I strongly recommend you run this command after install:**
|
151
|
+
|
152
|
+
`ayadn install config`
|
153
|
+
|
154
|
+
**so that you can customize the `config.yml` file that will be created in this location.**
|
155
|
+
|
150
156
|
## LIST OF COMMANDS
|
151
157
|
|
152
|
-
*Only the first lines include the `[PRESS ENTER KEY]`
|
158
|
+
*Only the first lines include the `[PRESS ENTER KEY]` reminder for obvious readability reasons.*
|
153
159
|
|
154
160
|
```
|
155
|
-
ayadn [PRESS ENTER KEY]
|
156
|
-
ayadn scroll [PRESS ENTER KEY]
|
157
|
-
ayadn write [PRESS ENTER KEY]
|
158
|
-
ayadn write '@ericd Good morning Eric!' [PRESS ENTER KEY]
|
159
|
-
ayadn reply 18527205 [PRESS ENTER KEY]
|
160
|
-
ayadn pm @ericd [PRESS ENTER KEY]
|
161
|
+
ayadn [PRESS ENTER KEY]
|
162
|
+
ayadn scroll [PRESS ENTER KEY]
|
163
|
+
ayadn write [PRESS ENTER KEY]
|
164
|
+
ayadn write '@ericd Good morning Eric!' [PRESS ENTER KEY]
|
165
|
+
ayadn reply 18527205 [PRESS ENTER KEY]
|
166
|
+
ayadn pm @ericd [PRESS ENTER KEY]
|
161
167
|
ayadn global
|
162
168
|
ayadn scroll global
|
163
169
|
ayadn checkins
|
File without changes
|
data/lib/ayadn/help.rb
CHANGED
data/lib/ayadn/tools.rb
CHANGED
@@ -29,8 +29,8 @@ class AyaDN
|
|
29
29
|
def loadConfig
|
30
30
|
if File.exists?(@installed_config_path)
|
31
31
|
YAML::load_file(@installed_config_path)
|
32
|
-
elsif File.exists?('
|
33
|
-
YAML::load_file('
|
32
|
+
elsif File.exists?(File.expand_path(File.dirname(__FILE__)) + '/config.yml')
|
33
|
+
YAML::load_file(File.expand_path(File.dirname(__FILE__)) + '/config.yml')
|
34
34
|
else
|
35
35
|
{
|
36
36
|
"counts" => {
|
@@ -75,9 +75,9 @@ class AyaDN
|
|
75
75
|
if File.exists?(@installed_config_path)
|
76
76
|
File.open(@installed_config_path, 'w') {|f| f.write config.to_yaml }
|
77
77
|
puts "\nDone!\n\n".green
|
78
|
-
else
|
79
|
-
|
80
|
-
|
78
|
+
# else
|
79
|
+
# File.open(File.expand_path(File.dirname(__FILE__)) + '/config.yml', 'w') {|f| f.write config.to_yaml }
|
80
|
+
# puts "\nDone!\n\n".green
|
81
81
|
end
|
82
82
|
end
|
83
83
|
def installConfig
|
@@ -93,7 +93,7 @@ class AyaDN
|
|
93
93
|
end
|
94
94
|
end
|
95
95
|
def copyConfigFromMaster
|
96
|
-
FileUtils.cp('
|
96
|
+
FileUtils.cp(File.expand_path(File.dirname(__FILE__)) + '/config.yml', @installed_config_path)
|
97
97
|
puts "\nDone.\n\n".green
|
98
98
|
end
|
99
99
|
def config
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ayadn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Dejonckheere
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -56,13 +56,13 @@ files:
|
|
56
56
|
- LICENSE.md
|
57
57
|
- README.md
|
58
58
|
- bin/ayadn
|
59
|
-
- config.yml
|
60
59
|
- lib/ayadn.rb
|
61
60
|
- lib/ayadn/adn_files.rb
|
62
61
|
- lib/ayadn/api.rb
|
63
62
|
- lib/ayadn/authorize.rb
|
64
63
|
- lib/ayadn/client-http.rb
|
65
64
|
- lib/ayadn/colors.rb
|
65
|
+
- lib/ayadn/config.yml
|
66
66
|
- lib/ayadn/debug.rb
|
67
67
|
- lib/ayadn/endpoints.rb
|
68
68
|
- lib/ayadn/extend.rb
|