tmux-erb-parser 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: cb08a9b002cd0c3f77e667db7ab1b12aeb6a0ea349ee867ba7f5d32660051554
4
- data.tar.gz: 6f324d28c0eb120e03397246050e27371b55a0d1b2a48b8b097f2c147c03b07a
3
+ metadata.gz: dfb0e75db1dafde63630267ce708bbd43162673eaa36404c9d01ab04aa261d97
4
+ data.tar.gz: 9a4c16207774dde887524d40fe603baf375ffcd218be9048ec25775d68466834
5
5
  SHA512:
6
- metadata.gz: 277f10fc062a6f09380fc5f31f79c57c15cf0a361102607dffd5ff88b782cd7159a1656c251f2549294ce808ee29abdd189bc2ea5dfa1e9fb288d25e08ecd620
7
- data.tar.gz: 7c482194ef259817d6fd5895a7d4fe143b92a0ef49adbdcccc2e7ab82751fe216db43671a701877d0f45bc349e6933a111c067432d42f7511fc29fc2421d363a
6
+ metadata.gz: 79398b044ce99cf705241ac6ba0790bb8d81d9e72aa18376351f90d3d97db9209b2bb9a92438b5c6f881f98dcd141d38cbaca488ecbe63fc4f2c89f71965092e
7
+ data.tar.gz: 73fd791b56c59b811cfd7818647a60c654a65df6033e254a372d49a0fc259942b4af16aee5d79709698c67aecadc1256576886beaa40acb0fa07e09c1cdba9c9
data/README.md CHANGED
@@ -13,17 +13,19 @@ A Tmux plugin for loading tmux.conf written in Ruby (eRuby) notation.
13
13
  * You can use whatever you like as the default shell.
14
14
  * git
15
15
  * ruby:
16
- * 2.4 or higher is required.
16
+ * 2.5 or higher is required.
17
17
  * tmux
18
18
 
19
19
  ## How to use
20
20
  1. Create your `tmux.conf.erb` and place it.
21
21
  * By default, tmux-erb-parser loads all `*.erb` files in `~/.config/tmux/`
22
22
  * Or you can change the load path. (Please see below.)
23
+ * Sample configuration file: [sample.tmux.conf.erb](test/fixtures/sample.tmux.conf.erb)
23
24
  2. Install tmux-erb-parser and run tmux!
24
25
 
25
26
  ### Install with tpm (Tmux Plugin Manager)
26
- * Put this at the bottom of `~/.tmux.conf` (**Not your tmux.conf.erb!**):
27
+ * [Install tpm](https://github.com/tmux-plugins/tpm#installation)
28
+ * Put this at the bottom of `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf` works too, **but not your tmux.conf.erb!**):
27
29
  ```tmux
28
30
  setenv -g TMUX_CONF_EXT_PATH "path/to/tmux.conf.erb" # set your tmux.conf.erb's path
29
31
  # Note: You can specify multiple files using glob expressions. This is parsed by bash.
@@ -33,7 +35,7 @@ A Tmux plugin for loading tmux.conf written in Ruby (eRuby) notation.
33
35
  # and list other plugins you want to install
34
36
 
35
37
  # Initialize Tmux plugin manager (keep this line at the very bottom of tmux.conf)
36
- run '~/.tmux/plugins/tpm/tpm'
38
+ run -b '~/.tmux/plugins/tpm/tpm'
37
39
  ```
38
40
 
39
41
  * Run tmux and press `Prefix + I` to install plugins!
@@ -50,10 +52,10 @@ A Tmux plugin for loading tmux.conf written in Ruby (eRuby) notation.
50
52
  ```
51
53
 
52
54
  * Configure:
53
- * Put this in `~/.tmux.conf` (**Not your tmux.conf.erb!**):
54
- ```tmux
55
- run 'path/to/bin/tmux-erb-parser --inline path/to/tmux.conf.erb'
56
- ```
55
+ * Put this in `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf` works too, **but not your tmux.conf.erb!**):
56
+ ```tmux
57
+ run -b 'path/to/bin/tmux-erb-parser --inline path/to/tmux.conf.erb'
58
+ ```
57
59
 
58
60
  ## License
59
61
  [MIT](LICENSE)
@@ -17,7 +17,7 @@ module TmuxERBParser
17
17
  module Helpers
18
18
  using Classifyable
19
19
 
20
- Dir[File.expand_path('helpers/*.rb', __dir__)].each do |h|
20
+ Dir[File.expand_path('helpers/*.rb', __dir__)].sort.each do |h|
21
21
  require h
22
22
  klass = const_get(h.classify)
23
23
  self.class.class_eval do
@@ -33,7 +33,7 @@ module TmuxERBParser
33
33
 
34
34
  def generate_conf(_structured)
35
35
  # TODO
36
- parse_result = []
36
+ # parse_result = []
37
37
  end
38
38
 
39
39
  def parse_string(input, type)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TmuxERBParser
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmux-erb-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - epaew
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-30 00:00:00.000000000 Z
11
+ date: 2020-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "<"
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: '0.18'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "<"
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: '0.18'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov-console
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: 2.4.0
158
+ version: 2.5.0
159
159
  required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  requirements:
161
161
  - - ">="
@@ -164,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - bash
166
166
  - tmux
167
- rubyforge_project:
168
- rubygems_version: 2.7.6
167
+ rubygems_version: 3.1.2
169
168
  signing_key:
170
169
  specification_version: 4
171
170
  summary: A Tmux plugin for loading tmux.conf written in Ruby (eRuby) notation.