guard-ctags-bundler 1.3.1 → 1.4.0
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/guard/ctags-bundler/ctags_generator.rb +3 -1
- data/lib/guard/ctags-bundler/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9769b00a58bbb1979a21cde913eed4de61c4b3a
|
4
|
+
data.tar.gz: 0a7f2862b023fd0493ec261fde655b59da634733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e659f43d292d4347f15ab81734bca0c867d1b141adff5eee0db8b13d7932b8696e3a3daa6bb62845fcce4eaa967e5e3acc644b2e12e1005e44d26eaefec0063b
|
7
|
+
data.tar.gz: d57fd4fded3737e1c5d28b4767d0a6e1f327cfd2cfe8a7e77bc812a0504f0c5355dfea0abbef5903541ea646f562544664aea0082ec5c83274ed725644ff4d2a
|
data/README.md
CHANGED
@@ -43,6 +43,7 @@ Please, read [Guard usage doc](https://github.com/guard/guard#readme)
|
|
43
43
|
:stdlib_file => "stdlib.tags" # name of tags file for stdlib references (default stdlib.tags)
|
44
44
|
:bundler_tags_file => "gems.tags" # name of tags file for bundler gems references (default gems.tags)
|
45
45
|
:project_file => "tags" # name of tags file for project references (default tags)
|
46
|
+
:gemfile => "Gemfil" # name of tags file for project references (default 'Gemfile')
|
46
47
|
```
|
47
48
|
|
48
49
|
For a typical Rails application, `Guardfile` can look like this (default):
|
@@ -20,12 +20,14 @@ module Guard
|
|
20
20
|
#runtime = ::Bundler::Runtime.new(Dir.pwd, definition)
|
21
21
|
#paths = runtime.requested_specs.map(&:full_gem_path)
|
22
22
|
|
23
|
+
gemfile = @opts.fetch(:gemfile, 'Gemfile')
|
24
|
+
lockfile = "#{gemfile}.lock"
|
23
25
|
# this is ugly, but should work with every bundler version
|
24
26
|
cmd = <<-CMD
|
25
27
|
require('bundler')
|
26
28
|
require('bundler/runtime')
|
27
29
|
::Bundler.configure
|
28
|
-
definition = ::Bundler::Definition.build('
|
30
|
+
definition = ::Bundler::Definition.build('#{gemfile}', '#{lockfile}', nil)
|
29
31
|
runtime = ::Bundler::Runtime.new(Dir.pwd, definition)
|
30
32
|
paths = runtime.requested_specs.map(&:full_gem_path)
|
31
33
|
puts(paths.join(' '))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-ctags-bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Tkalin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: guard
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project: guard-ctags-bundler
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.4.5
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Guard gem for generating ctags for project files and gems from project's
|