watir_framework 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +4 -0
  3. data/bin/watir_framework +8 -2
  4. data/{generators/new_project → lib/generators}/generator.rb +0 -0
  5. data/{generators/new_project → lib/generators}/templates/gemfile.rb.erb +0 -0
  6. data/{generators/new_project → lib/generators}/templates/gemspec.rb.erb +1 -1
  7. data/{generators/new_project → lib/generators}/templates/gitignore.rb.erb +0 -0
  8. data/{generators/new_project → lib/generators}/templates/lib/models/search.rb.erb +0 -0
  9. data/{generators/new_project → lib/generators}/templates/lib/name.rb.erb +0 -0
  10. data/{generators/new_project → lib/generators}/templates/lib/pages/home.rb.erb +0 -0
  11. data/{generators/new_project → lib/generators}/templates/lib/pages/results.rb.erb +0 -0
  12. data/{generators/new_project → lib/generators}/templates/license.rb.erb +0 -0
  13. data/{generators/new_project → lib/generators}/templates/rakefile.rb.erb +0 -0
  14. data/{generators/new_project → lib/generators}/templates/readme.rb.erb +0 -0
  15. data/{generators/new_project → lib/generators}/templates/rspec.rb.erb +0 -0
  16. data/{generators/new_project → lib/generators}/templates/ruby-version.rb.erb +0 -0
  17. data/{generators/new_project → lib/generators}/templates/spec/name_spec.rb.erb +0 -0
  18. data/{generators/new_project → lib/generators}/templates/spec/spec_helper.rb.erb +0 -0
  19. data/{generators/new_project → lib/generators}/templates/travis.rb.erb +0 -0
  20. data/lib/watir_framework.rb +1 -0
  21. data/watir_framework.gemspec +2 -2
  22. metadata +18 -17
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dbcd292a346cac5303db5f16cc4c6bb362e4fcc
4
- data.tar.gz: 09460a66cfd7a5b5964683de1c4f45e18ab57ffd
3
+ metadata.gz: ff6b9f56adbbbfea246045288a6a8dc8ae953ffb
4
+ data.tar.gz: 581ff0a9e87f9fb7d53a6f226ded7c44b592f2bc
5
5
  SHA512:
6
- metadata.gz: 38263f5fc3090f087765baa36b67623efba441ffb9a8130b595d88a9c4a4a11aa5c7a2f20a90ea89a4fff2bf2731cbd30349ce1adbadf26807c6840162dbc331
7
- data.tar.gz: f8fccf33402e13f3b5eca538a1dbdf355eafab08e8d5843f8d89964975e8f43f243e9fba6d42e534190588731883a14ac1bd5707db4dbc1c24a82f6a75584022
6
+ metadata.gz: 79499b5c7023a46b0857a457de5ef3834b1c84c8a26d88bb96de017041564456eb6483abed2541a2bd86f5e20dcc2a8de8dda4213b923a50f26eab6f9e5a823c
7
+ data.tar.gz: 09ddd48c5a6e2456994a48c4733f0bf31d08e1e62efe2e133fcfac93b6d5dfbb2e6f1e2779799a711ae2dd80747d14ed1943751d371ccdb0de869e3f1b166c55
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.1.6 (2016-11-26)
2
+
3
+ * Fix gemspec bug
4
+
1
5
  ### 0.1.5 (2016-11-25)
2
6
 
3
7
  * Support webdrivers gem
data/bin/watir_framework CHANGED
@@ -1,4 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.expand_path('../../generators/new_project/generator', __FILE__)
4
- NewProject.start
3
+ require "watir_framework"
4
+
5
+ case ARGV.shift
6
+ when 'generate', 'new', 'create', 'project'
7
+ NewProject.start ARGV
8
+ else
9
+ raise StandardError, "command not supported"
10
+ end
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rspec", "~> 3.0"
26
26
 
27
27
  spec.add_development_dependency "watir", "~> 6.0"
28
- spec.add_development_dependency "selenium", "~> 3.0.2"
28
+ spec.add_development_dependency "selenium-webdriver", "~> 3.0.2"
29
29
  spec.add_development_dependency "watir_drops", "~> 0.5.0"
30
30
  spec.add_development_dependency 'watir_model', "~> 0.2"
31
31
  spec.add_development_dependency "watir_session", "~> 0.2"
@@ -3,6 +3,7 @@ require "watir_model"
3
3
  require 'watir_framework/pages/home'
4
4
  require 'watir_framework/pages/results'
5
5
  require 'watir_framework/models/search'
6
+ require 'generators/generator'
6
7
 
7
8
  module WatirFramework
8
9
  # Your code goes here...
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "watir_framework"
7
- spec.version = "0.1.5"
7
+ spec.version = "0.1.6"
8
8
  spec.authors = ["Titus Fortner"]
9
9
  spec.email = ["titusfortner@gmail.com"]
10
10
 
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  f.match(%r{^(test|spec|features)/})
27
27
  end
28
28
  spec.bindir = "bin"
29
- spec.executables = 'watir_framework'
29
+ spec.executables = ['watir_framework', 'watir']
30
30
  spec.require_paths = ["lib"]
31
31
 
32
32
  spec.add_development_dependency "bundler", "~> 1.13"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Titus Fortner
@@ -156,6 +156,7 @@ email:
156
156
  - titusfortner@gmail.com
157
157
  executables:
158
158
  - watir_framework
159
+ - watir
159
160
  extensions: []
160
161
  extra_rdoc_files: []
161
162
  files:
@@ -170,22 +171,22 @@ files:
170
171
  - Rakefile
171
172
  - bin/watir
172
173
  - bin/watir_framework
173
- - generators/new_project/generator.rb
174
- - generators/new_project/templates/gemfile.rb.erb
175
- - generators/new_project/templates/gemspec.rb.erb
176
- - generators/new_project/templates/gitignore.rb.erb
177
- - generators/new_project/templates/lib/models/search.rb.erb
178
- - generators/new_project/templates/lib/name.rb.erb
179
- - generators/new_project/templates/lib/pages/home.rb.erb
180
- - generators/new_project/templates/lib/pages/results.rb.erb
181
- - generators/new_project/templates/license.rb.erb
182
- - generators/new_project/templates/rakefile.rb.erb
183
- - generators/new_project/templates/readme.rb.erb
184
- - generators/new_project/templates/rspec.rb.erb
185
- - generators/new_project/templates/ruby-version.rb.erb
186
- - generators/new_project/templates/spec/name_spec.rb.erb
187
- - generators/new_project/templates/spec/spec_helper.rb.erb
188
- - generators/new_project/templates/travis.rb.erb
174
+ - lib/generators/generator.rb
175
+ - lib/generators/templates/gemfile.rb.erb
176
+ - lib/generators/templates/gemspec.rb.erb
177
+ - lib/generators/templates/gitignore.rb.erb
178
+ - lib/generators/templates/lib/models/search.rb.erb
179
+ - lib/generators/templates/lib/name.rb.erb
180
+ - lib/generators/templates/lib/pages/home.rb.erb
181
+ - lib/generators/templates/lib/pages/results.rb.erb
182
+ - lib/generators/templates/license.rb.erb
183
+ - lib/generators/templates/rakefile.rb.erb
184
+ - lib/generators/templates/readme.rb.erb
185
+ - lib/generators/templates/rspec.rb.erb
186
+ - lib/generators/templates/ruby-version.rb.erb
187
+ - lib/generators/templates/spec/name_spec.rb.erb
188
+ - lib/generators/templates/spec/spec_helper.rb.erb
189
+ - lib/generators/templates/travis.rb.erb
189
190
  - lib/watir_framework.rb
190
191
  - lib/watir_framework/models/search.rb
191
192
  - lib/watir_framework/pages/home.rb