tunnlr_connector 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. data/bin/tunnlr +10 -1
  2. data/lib/tunnlr/connector.rb +1 -1
  3. metadata +26 -8
data/bin/tunnlr CHANGED
@@ -1,5 +1,14 @@
1
1
  #!/usr/bin/env ruby -ws
2
2
  require 'rubygems'
3
3
  require 'tunnlr'
4
- RAILS_ROOT=Dir.pwd
4
+ class Rails
5
+ def self.root
6
+ @root
7
+ end
8
+
9
+ def self.root=(val)
10
+ @root=val
11
+ end
12
+ end
13
+ Rails.root = Dir.pwd
5
14
  Tunnlr::Connector.new.connect!
@@ -42,7 +42,7 @@ module Tunnlr
42
42
  end
43
43
 
44
44
  def read_configuration
45
- path = File.join(RAILS_ROOT, "config/tunnlr.yml")
45
+ path = File.join(Rails.root, "config/tunnlr.yml")
46
46
  YAML.load(File.read(path))
47
47
  end
48
48
 
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunnlr_connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ hash: 21
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 1
10
+ version: 1.0.1
5
11
  platform: ruby
6
12
  authors:
7
13
  - Mike Mangino
@@ -14,14 +20,20 @@ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: net-ssh
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 17
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 15
23
34
  version: 2.0.15
24
- version:
35
+ type: :runtime
36
+ version_requirements: *id001
25
37
  description: A simple plugin to make your local developnment environment available to the internet using the tunnlr.com service
26
38
  email:
27
39
  - mmangino@elevatedrails.com
@@ -51,21 +63,27 @@ rdoc_options: []
51
63
  require_paths:
52
64
  - lib
53
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
54
67
  requirements:
55
68
  - - ">="
56
69
  - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
57
73
  version: "0"
58
- version:
59
74
  required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
60
76
  requirements:
61
77
  - - ">="
62
78
  - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
63
82
  version: "0"
64
- version:
65
83
  requirements: []
66
84
 
67
85
  rubyforge_project: tunnlr_connector
68
- rubygems_version: 1.3.5
86
+ rubygems_version: 1.3.7
69
87
  signing_key:
70
88
  specification_version: 3
71
89
  summary: Provide access to the tunnlr.com service