flumtter 5.0.1 → 5.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b639c3634cce614cbec5b5e8b4ec4b06cf056bc
4
- data.tar.gz: 526d3adf8606a231aaf1f25e0f15f361c7c695eb
3
+ metadata.gz: 33531e2cb1261fc28002dd6d94a112d8332dc0b9
4
+ data.tar.gz: 5cc07ba9ce4a3bd9172f00ab48771feb18633bb7
5
5
  SHA512:
6
- metadata.gz: a3447b8fd5f98b4ec4837e29764a5fb9bdb996f0741b62d27027653a73f62abf69a6673a1a97ed42b503f4dfafffb5e91b61f18ae844c8ebd85fc9d1cb49984c
7
- data.tar.gz: 706a37e36a35fe5ff2f9997261f1cd3a3ffd49db34c29e2a87add430b2d57a46d1ecba1518a30c0ed7e22fc43aeec95fa29763158dc5a92c5755e027aa365b62
6
+ metadata.gz: 33fd4b29293048d83e45c1d5c06a355699deebbc68fba42de00d7687083819f97c362ce2671cfa2c280e4210b9224d876a3aa6396b864c3dd0daf8681567c756
7
+ data.tar.gz: 039841cc82d9f633df0425aae11ef63b0fc5a2b3a941807c8d5d7d3cb2ea26c49de34ffc163942309a250a35e7ee8d779edb9a44ecdfe7fb710c5667fe87ec27
data/README.md CHANGED
@@ -1,41 +1,54 @@
1
1
  # Flumtter
2
+ Flumtter is CLI Twitter client.
3
+ This client is supported multiple account.
2
4
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/flumtter`. To experiment with that code, run `bin/console` for an interactive prompt.
5
+ ## Installation
6
+ $ gem install flumtter
4
7
 
5
- TODO: Delete this and the text above, and describe your gem
8
+ ## Usage
9
+ $ flumtter
10
+ and help
6
11
 
7
- ## Installation
12
+ $ flumtter -h
8
13
 
9
- Add this line to your application's Gemfile:
14
+ ## Customize
15
+ There is a configuration file on '~/.flumtter/setting/setting.rb'. This setting is overwritten by start option. This file needs to be described in ruby's hash format. This file will be created automatically and should ONLY be edited by someone who knows what they are doing.
10
16
 
11
17
  ```ruby
12
- gem 'flumtter'
18
+ Setting = {
19
+ color: {
20
+ error: :red,
21
+ timeline: {
22
+ normal: :cyan,
23
+ self: :light_green,
24
+ reply: :blue,
25
+ retweet: :green,
26
+ fav: :brown,
27
+ unfav: :yellow,
28
+ quote: :pink,
29
+ directmessage: :purple,
30
+ deletedtweet: [:cyan, :magenta]
31
+ }
32
+ },
33
+ timeline_load?: true,
34
+ timeline_load: 20,
35
+ toast?: true
36
+ }
13
37
  ```
14
38
 
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install flumtter
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
39
  ## Development
40
+ ### Plugin
41
+ You can develop plugins to convenient.
42
+ Put your plugin files to `~/.flumtter/plugins/`
43
+ Please see [flumtter/lib/flumtter/app/plugins/](https://github.com/flum1025/flumtter/tree/v5/lib/flumtter/app/plugins) for sample.
28
44
 
29
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
45
+ ### Reporting bugs
46
+ If you have found a bug in flumtter, please create a new issue.
47
+ Also, feel free to request any other features not present in the issue tracker.
48
+ Feedback on plugin will be greatly appreciated!
32
49
 
33
50
  ## Contributing
34
-
35
51
  Bug reports and pull requests are welcome on GitHub at https://github.com/flum1025/flumtter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
52
 
37
-
38
53
  ## License
39
-
40
54
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
File without changes
File without changes
@@ -0,0 +1,19 @@
1
+ Setting = {
2
+ color: {
3
+ error: :red,
4
+ timeline: {
5
+ normal: :cyan,
6
+ self: :light_green,
7
+ reply: :blue,
8
+ retweet: :green,
9
+ fav: :brown,
10
+ unfav: :yellow,
11
+ quote: :pink,
12
+ directmessage: :purple,
13
+ deletedtweet: [:cyan, :magenta]
14
+ }
15
+ },
16
+ timeline_load?: true,
17
+ timeline_load: 20,
18
+ toast?: true
19
+ }
@@ -8,7 +8,9 @@ module Flumtter
8
8
  File.join(self, *args)
9
9
  end
10
10
  end
11
- FileUtils.mkdir(UserPath) unless FileTest.exist?(UserPath)
11
+ unless FileTest.exist?(UserPath)
12
+ FileUtils.cp_r(SourcePath.join(".flumtter"), UserPath)
13
+ end
12
14
 
13
15
  data_path = UserPath.join("data", "data.bin")
14
16
  Config = Marshal.load(File.read(data_path)) rescue {}
@@ -1,3 +1,3 @@
1
1
  module Flumtter
2
- VERSION = "5.0.1"
2
+ VERSION = "5.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flumtter
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 5.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - flum1025
@@ -128,6 +128,9 @@ files:
128
128
  - exe/flumtter
129
129
  - flumtter.gemspec
130
130
  - lib/flumtter.rb
131
+ - lib/flumtter/app/.flumtter/data/.gitkeep
132
+ - lib/flumtter/app/.flumtter/plugins/.gitkeep
133
+ - lib/flumtter/app/.flumtter/setting/setting.rb
131
134
  - lib/flumtter/app/core/account_selector.rb
132
135
  - lib/flumtter/app/core/client.rb
133
136
  - lib/flumtter/app/core/command.rb