newline_hw 1.1.3 → 1.1.4

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: 29dc56a6b2d19876a92889fd5939630f7035e44a
4
- data.tar.gz: 183966cc343b9bd6117a2082f473f0f15fa005da
3
+ metadata.gz: a03150cd244199e4843e871871abb7aae51ead2b
4
+ data.tar.gz: 6042edbd40938c98273d56462fa59993da082b9a
5
5
  SHA512:
6
- metadata.gz: b1d2ad90d2eab8c4062573e03170da4d345d8b5715e70f0d18c7f3ccad84f1bbe6bc3c39d4c2a5e8948626814a68d2ccf992bed8f13493f08e4049355b405c6e
7
- data.tar.gz: f4c5e85fda77b231c35ba7b95e34219001a0808f4f3a487db6534e11d1826ff40e22c7dffd01a9d1830629c7fe92b6921aacb66a8eb2f239a02eec882e7a71d6
6
+ metadata.gz: b608d9d79057ff6b8934c2ee3821b11dff481d1a397c1c3ec20d489548be3fe476a13b2283328d265cf88dc56fc1d15bdc0a7f93becfe9997ee6f3a325ba8462
7
+ data.tar.gz: 86c2eed7559872cc9037991acd2b3d76c97c91b22448bfa9770828ae7440d0a3af28261ee5bb9f1a6f5c64153faccfd96c7dde87302b8bd9e4af72a44bd46fdc
@@ -16,16 +16,21 @@ module NewlineHw
16
16
  def install
17
17
  NewlineHw::Config.install_default
18
18
  say "Installed a config file to `#{NewlineHw::Config::CONFIG_PATH}`"
19
- install_chrome
19
+ install_chrome_hook
20
20
  say ""
21
21
  say ("*" * 30) + " YOU MUST!! Add this line to your shell profile " + ("*" * 30), :red
22
22
  say '$ eval "$(newline_hw init)"'
23
23
  say ("*" * 30), :red
24
24
  end
25
25
 
26
+ desc "update related code", "it runs gem install and updates the chrome hook"
27
+ def update
28
+ `gem install newline_hw && newline_hw install_chrome_hook`
29
+ end
30
+
26
31
  desc "install chrome adapter",
27
32
  "will setup a logging file and a chrome manifest to allow this app to be communicated to by the newline-assistant chrome extension."
28
- def install_chrome
33
+ def install_chrome_hook
29
34
  NewlineHw.make_log_directory
30
35
  ChromeManifest.write
31
36
  say "Chrome Native Messaging Hook installed for Newline Assistant", :green
@@ -34,11 +34,12 @@ module NewlineHw
34
34
  status: :ok,
35
35
  message_at: message_at,
36
36
  data: {
37
- version: NewlineHw::VERSION,
37
+ newline_hw_version: NewlineHw::VERSION,
38
38
  newline_cli_version: NewlineCli::VERSION,
39
39
  ruby_version: RUBY_VERSION,
40
- config_path: Config::CONFIG_PATH,
41
- path: NewlineHw.root_path
40
+ newline_hw_config_path: Config::CONFIG_PATH,
41
+ newline_hw_path: NewlineHw.root_path,
42
+ newline_hw_config: Config.new.config
42
43
  }
43
44
  }
44
45
  end
@@ -1,3 +1,3 @@
1
1
  module NewlineHw
2
- VERSION = "1.1.3".freeze
2
+ VERSION = "1.1.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newline_hw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Russell Osborne
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.6.8
185
+ rubygems_version: 2.5.2
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Quickly Clone and setup basic ruby and JS projects.