grid_tools 0.0.5 → 0.0.6

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.
data/bin/grid_tools CHANGED
@@ -134,8 +134,22 @@ command :install do |c|
134
134
  FileUtils.cp(ie_driver, system32)
135
135
  FileUtils.cp(chrome_driver, system32)
136
136
  puts "Assuming no error above, we successfully installed IE and Chrome drivers!"
137
+ elsif GridTools.mac?
138
+ puts "You will need to run this as root using something like: sudo"
139
+ puts "If you're using RVM you will want to use: rvmsudo"
140
+ chrome_driver = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries/mac/chromedriver')
141
+ usr_bin = "/usr/bin"
142
+ FileUtils.cp(chrome_driver, usr_bin)
143
+ puts "Assuming no error above, we successfully installed Chrome driver!"
144
+ elsif GridTools.linux?
145
+ puts "You will need to run this as root using something like: sudo"
146
+ puts "If you're using RVM you will want to use: rvmsudo"
147
+ chrome_driver = File.expand_path(File.dirname(File.expand_path(__FILE__)) + '/../binaries/linux_64/chromedriver')
148
+ usr_bin = "/usr/bin"
149
+ FileUtils.cp(chrome_driver, usr_bin)
150
+ puts "Assuming no error above, we successfully installed Chrome driver!"
137
151
  else
138
- raise "Sorry we haven't developed this yet!"
152
+ raise "Apparently your OS isn't supported by our gem yet :("
139
153
  end
140
154
 
141
155
  end
@@ -1,3 +1,3 @@
1
1
  module GridTools
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grid_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -27,22 +27,6 @@ dependencies:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: rdoc
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :development
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
30
  - !ruby/object:Gem::Dependency
47
31
  name: aruba
48
32
  requirement: !ruby/object:Gem::Requirement
@@ -80,9 +64,7 @@ email: flyinprogramer@gmail.com
80
64
  executables:
81
65
  - grid_tools
82
66
  extensions: []
83
- extra_rdoc_files:
84
- - README.rdoc
85
- - grid_tools.rdoc
67
+ extra_rdoc_files: []
86
68
  files:
87
69
  - bin/grid_tools
88
70
  - binaries/selenium-server-standalone-2.29.0.jar
@@ -92,17 +74,10 @@ files:
92
74
  - binaries/windows/chromedriver.exe
93
75
  - lib/grid_tools/version.rb
94
76
  - lib/grid_tools.rb
95
- - README.rdoc
96
- - grid_tools.rdoc
97
77
  homepage: http://www.google.com
98
78
  licenses: []
99
79
  post_install_message:
100
- rdoc_options:
101
- - --title
102
- - grid_tools
103
- - --main
104
- - README.rdoc
105
- - -ri
80
+ rdoc_options: []
106
81
  require_paths:
107
82
  - lib
108
83
  - lib
data/README.rdoc DELETED
@@ -1,6 +0,0 @@
1
- = grid_tools
2
-
3
- Describe your project here
4
-
5
- :include:grid_tools.rdoc
6
-
data/grid_tools.rdoc DELETED
@@ -1,5 +0,0 @@
1
- = grid_tools
2
-
3
- Generate this with
4
- grid_tools rdoc
5
- After you have described your command line interface