erb_lint_daemon 0.1.0 → 0.1.1
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/Gemfile.lock +1 -1
- data/bin/erb_lint_daemon +4 -2
- data/erb_lint_daemon.gemspec +15 -0
- data/lib/erb_lint_daemon/version.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 89aa269f4a448ff3b9d3e20b8df238d3a34843d86ebb7a089f223baf9f4d6058
|
|
4
|
+
data.tar.gz: 40a3ae9ea58ab49a155549fa33bfc6c6548c685ec222a2b3ccd20c4b51911cf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a9e21cbdafcfde0409e69ab95cc64ea7e29395dd4f894d65b6eb014425b307f9b29c5a7ec46e78422664dd68b04acb0244e22ed6b8c366cd4f3b72582c199b3
|
|
7
|
+
data.tar.gz: 963b695ce1be9cd69039840a6d0bfa3ac01db641198a71bac7c7774e1971d1d53c88b3b43d1857da1ff5c108193fef5168e330b434e1ad5a6d656e98e2eb5283
|
data/Gemfile.lock
CHANGED
data/bin/erb_lint_daemon
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
#!/bin/
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
2
|
# Wrapper to execute the compiled Go client
|
|
3
|
-
|
|
3
|
+
# We expect the binary to be in the same directory as this script
|
|
4
|
+
binary = File.join(File.dirname(__FILE__), 'erb_lint_client_bin')
|
|
5
|
+
exec(binary, *ARGV)
|
data/erb_lint_daemon.gemspec
CHANGED
|
@@ -27,4 +27,19 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
|
|
28
28
|
spec.add_dependency "erb_lint"
|
|
29
29
|
spec.add_development_dependency "rake"
|
|
30
|
+
|
|
31
|
+
spec.post_install_message = <<~MESSAGE
|
|
32
|
+
--------------------------------------------------------------------------------
|
|
33
|
+
ErbLintDaemon Installed!
|
|
34
|
+
|
|
35
|
+
NOTE: To achieve the maximum performance (~20ms startup), you should run the
|
|
36
|
+
compiled binary directly to bypass the RubyGems wrapper overhead (~100ms).
|
|
37
|
+
|
|
38
|
+
The binary is located at:
|
|
39
|
+
<GEM_HOME>/gems/erb_lint_daemon-#{ErbLintDaemon::VERSION}/bin/erb_lint_client_bin
|
|
40
|
+
|
|
41
|
+
You can symlink it to your path, e.g.:
|
|
42
|
+
ln -s $(gem which erb_lint_daemon | sed 's|lib/erb_lint_daemon.rb|bin/erb_lint_client_bin|') /usr/local/bin/erb_lint_client
|
|
43
|
+
--------------------------------------------------------------------------------
|
|
44
|
+
MESSAGE
|
|
30
45
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: erb_lint_daemon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Owais Khan
|
|
@@ -70,7 +70,19 @@ licenses:
|
|
|
70
70
|
metadata:
|
|
71
71
|
homepage_uri: https://github.com/example/erb_lint_daemon
|
|
72
72
|
source_code_uri: https://github.com/example/erb_lint_daemon
|
|
73
|
-
post_install_message:
|
|
73
|
+
post_install_message: |
|
|
74
|
+
--------------------------------------------------------------------------------
|
|
75
|
+
ErbLintDaemon Installed!
|
|
76
|
+
|
|
77
|
+
NOTE: To achieve the maximum performance (~20ms startup), you should run the
|
|
78
|
+
compiled binary directly to bypass the RubyGems wrapper overhead (~100ms).
|
|
79
|
+
|
|
80
|
+
The binary is located at:
|
|
81
|
+
<GEM_HOME>/gems/erb_lint_daemon-0.1.1/bin/erb_lint_client_bin
|
|
82
|
+
|
|
83
|
+
You can symlink it to your path, e.g.:
|
|
84
|
+
ln -s $(gem which erb_lint_daemon | sed 's|lib/erb_lint_daemon.rb|bin/erb_lint_client_bin|') /usr/local/bin/erb_lint_client
|
|
85
|
+
--------------------------------------------------------------------------------
|
|
74
86
|
rdoc_options: []
|
|
75
87
|
require_paths:
|
|
76
88
|
- lib
|