mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Add poltergeist to gem file, and limited version dependecies
This commit is contained in:
		
							parent
							
								
									2d09aba26a
								
							
						
					
					
						commit
						75832a3910
					
				
							
								
								
									
										17
									
								
								Gemfile
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								Gemfile
									
									
									
									
									
								
							| @ -14,7 +14,7 @@ gem 'decent_exposure', '~> 1.0.1' | |||||||
| gem 'devise', '~> 2.0.4' | gem 'devise', '~> 2.0.4' | ||||||
| gem 'haml-rails', '~> 0.3.4' | gem 'haml-rails', '~> 0.3.4' | ||||||
| gem 'jquery-rails', '~> 2.0' | gem 'jquery-rails', '~> 2.0' | ||||||
| gem 'pg' | gem 'pg', '~> 0.17.1' | ||||||
| gem 'will_paginate', '~> 3.0.3' | gem 'will_paginate', '~> 3.0.3' | ||||||
| 
 | 
 | ||||||
| # Gems used only for assets and not required | # Gems used only for assets and not required | ||||||
| @ -33,17 +33,18 @@ group :development, :test do | |||||||
|   gem 'rspec-rails', '~> 2.14.0' |   gem 'rspec-rails', '~> 2.14.0' | ||||||
|   gem 'factory_girl_rails', '~> 1.2' |   gem 'factory_girl_rails', '~> 1.2' | ||||||
|   gem 'pry', '~> 0.9.8' |   gem 'pry', '~> 0.9.8' | ||||||
|   gem 'faker' |   gem 'faker', '~> 1.2.0' | ||||||
| end | end | ||||||
| 
 | 
 | ||||||
| group :test do | group :test do | ||||||
|   gem 'shoulda-matchers', '~> 1.0.0' |   gem 'shoulda-matchers', '~> 1.0.0' | ||||||
|   gem 'capybara', '~> 1.1.2' |   gem 'capybara', '~> 2.2.1' | ||||||
|   gem 'database_cleaner' |   gem 'poltergeist', '~> 1.5.0' | ||||||
|   gem 'launchy' |   gem 'database_cleaner', '~> 1.2.0' | ||||||
|   gem 'spork' |   gem 'launchy', '~> 2.4.2' | ||||||
|  |   gem 'spork', '~> 0.9.2' | ||||||
|   #guard dependency for Mac OS 10 |   #guard dependency for Mac OS 10 | ||||||
|   gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i |   gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i | ||||||
|   gem 'guard-spork' |   gem 'guard-spork', '~> 1.5.1' | ||||||
|   gem 'guard-rspec' |   gem 'guard-rspec', '~> 4.2.6' | ||||||
| end | end | ||||||
|  | |||||||
							
								
								
									
										63
									
								
								Gemfile.lock
									
									
									
									
									
								
							
							
						
						
									
										63
									
								
								Gemfile.lock
									
									
									
									
									
								
							| @ -43,17 +43,17 @@ GEM | |||||||
|       will_paginate |       will_paginate | ||||||
|     builder (3.0.4) |     builder (3.0.4) | ||||||
|     cancan (1.6.10) |     cancan (1.6.10) | ||||||
|     capybara (1.1.4) |     capybara (2.2.1) | ||||||
|       mime-types (>= 1.16) |       mime-types (>= 1.16) | ||||||
|       nokogiri (>= 1.3.3) |       nokogiri (>= 1.3.3) | ||||||
|       rack (>= 1.0.0) |       rack (>= 1.0.0) | ||||||
|       rack-test (>= 0.5.4) |       rack-test (>= 0.5.4) | ||||||
|       selenium-webdriver (~> 2.0) |       xpath (~> 2.0) | ||||||
|       xpath (~> 0.1.4) |  | ||||||
|     celluloid (0.15.2) |     celluloid (0.15.2) | ||||||
|       timers (~> 1.1.0) |       timers (~> 1.1.0) | ||||||
|     childprocess (0.3.9) |     childprocess (0.4.0) | ||||||
|       ffi (~> 1.0, >= 1.0.11) |       ffi (~> 1.0, >= 1.0.11) | ||||||
|  |     cliver (0.3.2) | ||||||
|     coderay (1.1.0) |     coderay (1.1.0) | ||||||
|     coffee-rails (3.2.2) |     coffee-rails (3.2.2) | ||||||
|       coffee-script (>= 2.2.0) |       coffee-script (>= 2.2.0) | ||||||
| @ -61,7 +61,7 @@ GEM | |||||||
|     coffee-script (2.2.0) |     coffee-script (2.2.0) | ||||||
|       coffee-script-source |       coffee-script-source | ||||||
|       execjs |       execjs | ||||||
|     coffee-script-source (1.6.3) |     coffee-script-source (1.7.0) | ||||||
|     commonjs (0.2.7) |     commonjs (0.2.7) | ||||||
|     database_cleaner (1.2.0) |     database_cleaner (1.2.0) | ||||||
|     decent_exposure (1.0.2) |     decent_exposure (1.0.2) | ||||||
| @ -70,7 +70,7 @@ GEM | |||||||
|       orm_adapter (~> 0.0.3) |       orm_adapter (~> 0.0.3) | ||||||
|       railties (~> 3.1) |       railties (~> 3.1) | ||||||
|       warden (~> 1.1.1) |       warden (~> 1.1.1) | ||||||
|     diff-lcs (1.1.3) |     diff-lcs (1.2.5) | ||||||
|     erubis (2.7.0) |     erubis (2.7.0) | ||||||
|     execjs (2.0.2) |     execjs (2.0.2) | ||||||
|     factory_girl (2.6.4) |     factory_girl (2.6.4) | ||||||
| @ -82,14 +82,15 @@ GEM | |||||||
|       i18n (~> 0.5) |       i18n (~> 0.5) | ||||||
|     ffi (1.9.3) |     ffi (1.9.3) | ||||||
|     formatador (0.2.4) |     formatador (0.2.4) | ||||||
|     guard (2.2.5) |     guard (2.4.0) | ||||||
|       formatador (>= 0.2.4) |       formatador (>= 0.2.4) | ||||||
|       listen (~> 2.1) |       listen (~> 2.1) | ||||||
|       lumberjack (~> 1.0) |       lumberjack (~> 1.0) | ||||||
|       pry (>= 0.9.12) |       pry (>= 0.9.12) | ||||||
|       thor (>= 0.18.1) |       thor (>= 0.18.1) | ||||||
|     guard-rspec (1.2.1) |     guard-rspec (4.2.6) | ||||||
|       guard (>= 1.1) |       guard (~> 2.1) | ||||||
|  |       rspec (>= 2.14, < 4.0) | ||||||
|     guard-spork (1.5.1) |     guard-spork (1.5.1) | ||||||
|       childprocess (>= 0.2.3) |       childprocess (>= 0.2.3) | ||||||
|       guard (>= 1.1) |       guard (>= 1.1) | ||||||
| @ -115,7 +116,7 @@ GEM | |||||||
|       actionpack (>= 3.1) |       actionpack (>= 3.1) | ||||||
|       less (~> 2.2.0) |       less (~> 2.2.0) | ||||||
|     libv8 (3.3.10.4) |     libv8 (3.3.10.4) | ||||||
|     listen (2.4.0) |     listen (2.4.1) | ||||||
|       celluloid (>= 0.15.2) |       celluloid (>= 0.15.2) | ||||||
|       rb-fsevent (>= 0.9.3) |       rb-fsevent (>= 0.9.3) | ||||||
|       rb-inotify (>= 0.9) |       rb-inotify (>= 0.9) | ||||||
| @ -139,8 +140,13 @@ GEM | |||||||
|       mini_portile (~> 0.5.0) |       mini_portile (~> 0.5.0) | ||||||
|     orm_adapter (0.0.7) |     orm_adapter (0.0.7) | ||||||
|     pg (0.17.1) |     pg (0.17.1) | ||||||
|  |     poltergeist (1.5.0) | ||||||
|  |       capybara (~> 2.1) | ||||||
|  |       cliver (~> 0.3.1) | ||||||
|  |       multi_json (~> 1.0) | ||||||
|  |       websocket-driver (>= 0.2.0) | ||||||
|     polyglot (0.3.3) |     polyglot (0.3.3) | ||||||
|     pry (0.9.12.4) |     pry (0.9.12.6) | ||||||
|       coderay (~> 1.0) |       coderay (~> 1.0) | ||||||
|       method_source (~> 0.8) |       method_source (~> 0.8) | ||||||
|       slop (~> 3.4) |       slop (~> 3.4) | ||||||
| @ -172,10 +178,14 @@ GEM | |||||||
|       ffi (>= 0.5.0) |       ffi (>= 0.5.0) | ||||||
|     rdoc (3.12.2) |     rdoc (3.12.2) | ||||||
|       json (~> 1.4) |       json (~> 1.4) | ||||||
|  |     rspec (2.14.1) | ||||||
|  |       rspec-core (~> 2.14.0) | ||||||
|  |       rspec-expectations (~> 2.14.0) | ||||||
|  |       rspec-mocks (~> 2.14.0) | ||||||
|     rspec-core (2.14.7) |     rspec-core (2.14.7) | ||||||
|     rspec-expectations (2.14.4) |     rspec-expectations (2.14.5) | ||||||
|       diff-lcs (>= 1.1.3, < 2.0) |       diff-lcs (>= 1.1.3, < 2.0) | ||||||
|     rspec-mocks (2.14.4) |     rspec-mocks (2.14.5) | ||||||
|     rspec-rails (2.14.1) |     rspec-rails (2.14.1) | ||||||
|       actionpack (>= 3.0) |       actionpack (>= 3.0) | ||||||
|       activemodel (>= 3.0) |       activemodel (>= 3.0) | ||||||
| @ -184,12 +194,6 @@ GEM | |||||||
|       rspec-core (~> 2.14.0) |       rspec-core (~> 2.14.0) | ||||||
|       rspec-expectations (~> 2.14.0) |       rspec-expectations (~> 2.14.0) | ||||||
|       rspec-mocks (~> 2.14.0) |       rspec-mocks (~> 2.14.0) | ||||||
|     rubyzip (1.1.0) |  | ||||||
|     selenium-webdriver (2.39.0) |  | ||||||
|       childprocess (>= 0.2.5) |  | ||||||
|       multi_json (~> 1.0) |  | ||||||
|       rubyzip (~> 1.0) |  | ||||||
|       websocket (~> 1.0.4) |  | ||||||
|     shoulda-matchers (1.0.0) |     shoulda-matchers (1.0.0) | ||||||
|     slop (3.4.7) |     slop (3.4.7) | ||||||
|     spork (0.9.2) |     spork (0.9.2) | ||||||
| @ -217,9 +221,9 @@ GEM | |||||||
|       json (>= 1.8.0) |       json (>= 1.8.0) | ||||||
|     warden (1.1.1) |     warden (1.1.1) | ||||||
|       rack (>= 1.0) |       rack (>= 1.0) | ||||||
|     websocket (1.0.7) |     websocket-driver (0.3.2) | ||||||
|     will_paginate (3.0.5) |     will_paginate (3.0.5) | ||||||
|     xpath (0.1.4) |     xpath (2.0.0) | ||||||
|       nokogiri (~> 1.3) |       nokogiri (~> 1.3) | ||||||
| 
 | 
 | ||||||
| PLATFORMS | PLATFORMS | ||||||
| @ -229,28 +233,29 @@ DEPENDENCIES | |||||||
|   acts_as_loggable! |   acts_as_loggable! | ||||||
|   bootstrap-will_paginate (~> 0.0.6) |   bootstrap-will_paginate (~> 0.0.6) | ||||||
|   cancan |   cancan | ||||||
|   capybara (~> 1.1.2) |   capybara (~> 2.2.1) | ||||||
|   coffee-rails (~> 3.2.1) |   coffee-rails (~> 3.2.1) | ||||||
|   database_cleaner |   database_cleaner (~> 1.2.0) | ||||||
|   decent_exposure (~> 1.0.1) |   decent_exposure (~> 1.0.1) | ||||||
|   devise (~> 2.0.4) |   devise (~> 2.0.4) | ||||||
|   factory_girl_rails (~> 1.2) |   factory_girl_rails (~> 1.2) | ||||||
|   faker |   faker (~> 1.2.0) | ||||||
|   guard-rspec |   guard-rspec (~> 4.2.6) | ||||||
|   guard-spork |   guard-spork (~> 1.5.1) | ||||||
|   haml-rails (~> 0.3.4) |   haml-rails (~> 0.3.4) | ||||||
|   jquery-rails (~> 2.0) |   jquery-rails (~> 2.0) | ||||||
|   launchy |   launchy (~> 2.4.2) | ||||||
|   netzke-basepack (~> 0.8.0) |   netzke-basepack (~> 0.8.0) | ||||||
|   netzke-cancan |   netzke-cancan | ||||||
|   netzke-core (~> 0.8.0) |   netzke-core (~> 0.8.0) | ||||||
|   pg |   pg (~> 0.17.1) | ||||||
|  |   poltergeist (~> 1.5.0) | ||||||
|   pry (~> 0.9.8) |   pry (~> 0.9.8) | ||||||
|   rails (= 3.2.13) |   rails (= 3.2.13) | ||||||
|   rb-fsevent |   rb-fsevent | ||||||
|   rspec-rails (~> 2.14.0) |   rspec-rails (~> 2.14.0) | ||||||
|   shoulda-matchers (~> 1.0.0) |   shoulda-matchers (~> 1.0.0) | ||||||
|   spork |   spork (~> 0.9.2) | ||||||
|   twitter-bootstrap-rails (~> 2.0.3) |   twitter-bootstrap-rails (~> 2.0.3) | ||||||
|   uglifier (>= 1.0.3) |   uglifier (>= 1.0.3) | ||||||
|   will_paginate (~> 3.0.3) |   will_paginate (~> 3.0.3) | ||||||
|  | |||||||
| @ -44,6 +44,11 @@ At Velocipede, with a mobile friendly UI for users, I'm hoping we can get donati | |||||||
| 1. Create your PG user `createuser -d -P velocipede` | 1. Create your PG user `createuser -d -P velocipede` | ||||||
| 1. Create your database `createdb -U velocipede --owner=velocipede velocipede` | 1. Create your database `createdb -U velocipede --owner=velocipede velocipede` | ||||||
| 
 | 
 | ||||||
|  | # Testing | ||||||
|  | 
 | ||||||
|  | 1. Install phantomjs `brew install phantomjs` | ||||||
|  | 1. Run tests with `rspec` | ||||||
|  | 
 | ||||||
| # Optional | # Optional | ||||||
|  Add icons |  Add icons | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -1,6 +1,7 @@ | |||||||
| require 'rubygems' | require 'rubygems' | ||||||
| require 'spork' | require 'spork' | ||||||
| require 'rails' | require 'rails' | ||||||
|  | require 'capybara/poltergeist' | ||||||
| #uncomment the following line to use spork with the debugger | #uncomment the following line to use spork with the debugger | ||||||
| #require 'spork/ext/ruby-debug' | #require 'spork/ext/ruby-debug' | ||||||
| 
 | 
 | ||||||
| @ -24,6 +25,8 @@ Spork.prefork do | |||||||
|   # in spec/support/ and its subdirectories. |   # in spec/support/ and its subdirectories. | ||||||
|   Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} |   Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} | ||||||
| 
 | 
 | ||||||
|  |   Capybara.javascript_driver = :poltergeist | ||||||
|  | 
 | ||||||
|   RSpec.configure do |config| |   RSpec.configure do |config| | ||||||
|     # ## Mock Framework |     # ## Mock Framework | ||||||
|     # |     # | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user