wiskey 0.0.4 → 0.0.5
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/Gemfile +1 -9
- data/Gemfile.lock +8 -109
- data/README.rdoc +6 -4
- data/lib/wiskey/version.rb +1 -1
- data/wiskey.gemspec +7 -3
- metadata +7 -32
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/assets/stylesheets/application.css.scss +0 -1
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/config/application.rb +0 -46
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -22
- data/test/dummy/config/environments/test.rb +0 -29
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -58
- data/test/dummy/config.ru +0 -4
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/integration/navigation_test.rb +0 -7
- data/test/support/integration_case.rb +0 -5
- data/test/test_helper.rb +0 -22
- data/test/wiskey_test.rb +0 -7
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,117 +1,16 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
wiskey (0.0.4)
|
5
|
+
sass (>= 3.1)
|
6
|
+
|
1
7
|
GEM
|
2
8
|
remote: http://rubygems.org/
|
3
9
|
specs:
|
4
|
-
|
5
|
-
actionpack (= 3.1.0)
|
6
|
-
mail (~> 2.3.0)
|
7
|
-
actionpack (3.1.0)
|
8
|
-
activemodel (= 3.1.0)
|
9
|
-
activesupport (= 3.1.0)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
i18n (~> 0.6)
|
13
|
-
rack (~> 1.3.2)
|
14
|
-
rack-cache (~> 1.0.3)
|
15
|
-
rack-mount (~> 0.8.2)
|
16
|
-
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.0.0)
|
18
|
-
activemodel (3.1.0)
|
19
|
-
activesupport (= 3.1.0)
|
20
|
-
bcrypt-ruby (~> 3.0.0)
|
21
|
-
builder (~> 3.0.0)
|
22
|
-
i18n (~> 0.6)
|
23
|
-
activerecord (3.1.0)
|
24
|
-
activemodel (= 3.1.0)
|
25
|
-
activesupport (= 3.1.0)
|
26
|
-
arel (~> 2.2.1)
|
27
|
-
tzinfo (~> 0.3.29)
|
28
|
-
activeresource (3.1.0)
|
29
|
-
activemodel (= 3.1.0)
|
30
|
-
activesupport (= 3.1.0)
|
31
|
-
activesupport (3.1.0)
|
32
|
-
multi_json (~> 1.0)
|
33
|
-
arel (2.2.1)
|
34
|
-
bcrypt-ruby (3.0.0)
|
35
|
-
builder (3.0.0)
|
36
|
-
capybara (1.1.2)
|
37
|
-
mime-types (>= 1.16)
|
38
|
-
nokogiri (>= 1.3.3)
|
39
|
-
rack (>= 1.0.0)
|
40
|
-
rack-test (>= 0.5.4)
|
41
|
-
selenium-webdriver (~> 2.0)
|
42
|
-
xpath (~> 0.1.4)
|
43
|
-
childprocess (0.2.3)
|
44
|
-
ffi (~> 1.0.6)
|
45
|
-
erubis (2.7.0)
|
46
|
-
ffi (1.0.11)
|
47
|
-
hike (1.2.1)
|
48
|
-
i18n (0.6.0)
|
49
|
-
json_pure (1.6.3)
|
50
|
-
mail (2.3.0)
|
51
|
-
i18n (>= 0.4.0)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
mime-types (1.16)
|
55
|
-
multi_json (1.0.3)
|
56
|
-
nokogiri (1.5.0)
|
57
|
-
polyglot (0.3.2)
|
58
|
-
rack (1.3.2)
|
59
|
-
rack-cache (1.0.3)
|
60
|
-
rack (>= 0.4)
|
61
|
-
rack-mount (0.8.3)
|
62
|
-
rack (>= 1.0.0)
|
63
|
-
rack-ssl (1.3.2)
|
64
|
-
rack
|
65
|
-
rack-test (0.6.1)
|
66
|
-
rack (>= 1.0)
|
67
|
-
rails (3.1.0)
|
68
|
-
actionmailer (= 3.1.0)
|
69
|
-
actionpack (= 3.1.0)
|
70
|
-
activerecord (= 3.1.0)
|
71
|
-
activeresource (= 3.1.0)
|
72
|
-
activesupport (= 3.1.0)
|
73
|
-
bundler (~> 1.0)
|
74
|
-
railties (= 3.1.0)
|
75
|
-
railties (3.1.0)
|
76
|
-
actionpack (= 3.1.0)
|
77
|
-
activesupport (= 3.1.0)
|
78
|
-
rack-ssl (~> 1.3.2)
|
79
|
-
rake (>= 0.8.7)
|
80
|
-
rdoc (~> 3.4)
|
81
|
-
thor (~> 0.14.6)
|
82
|
-
rake (0.9.2)
|
83
|
-
rdoc (3.9.4)
|
84
|
-
rubyzip (0.9.5)
|
85
|
-
sass (3.1.7)
|
86
|
-
sass-rails (3.1.4)
|
87
|
-
actionpack (~> 3.1.0)
|
88
|
-
railties (~> 3.1.0)
|
89
|
-
sass (>= 3.1.4)
|
90
|
-
sprockets (~> 2.0.0)
|
91
|
-
tilt (~> 1.3.2)
|
92
|
-
selenium-webdriver (2.13.0)
|
93
|
-
childprocess (>= 0.2.1)
|
94
|
-
ffi (~> 1.0.9)
|
95
|
-
json_pure
|
96
|
-
rubyzip
|
97
|
-
sprockets (2.0.0)
|
98
|
-
hike (~> 1.2)
|
99
|
-
rack (~> 1.0)
|
100
|
-
tilt (~> 1.1, != 1.3.0)
|
101
|
-
thor (0.14.6)
|
102
|
-
tilt (1.3.3)
|
103
|
-
treetop (1.4.10)
|
104
|
-
polyglot
|
105
|
-
polyglot (>= 0.3.1)
|
106
|
-
tzinfo (0.3.29)
|
107
|
-
xpath (0.1.4)
|
108
|
-
nokogiri (~> 1.3)
|
10
|
+
sass (3.1.12)
|
109
11
|
|
110
12
|
PLATFORMS
|
111
13
|
ruby
|
112
14
|
|
113
15
|
DEPENDENCIES
|
114
|
-
|
115
|
-
rails (= 3.1.0)
|
116
|
-
sass
|
117
|
-
sass-rails
|
16
|
+
wiskey!
|
data/README.rdoc
CHANGED
@@ -9,6 +9,8 @@ Rails 3.1+ with sass and sass-rails gems
|
|
9
9
|
|
10
10
|
= Installing
|
11
11
|
|
12
|
+
gem 'wiskey'
|
13
|
+
|
12
14
|
For rails 3.1+ it's easy: just require gem in your ```Gemfile```
|
13
15
|
|
14
16
|
For another framework (or without any framework) you should copy app/assets/stylesheets folder to your sass folder.
|
@@ -21,11 +23,11 @@ Import wiskey at the beginning of application.css.scss
|
|
21
23
|
|
22
24
|
All requirements underneath wiskey will have the cool wiskey features.
|
23
25
|
|
24
|
-
Sprockets provides some directives that are placed inside of comments called require,
|
25
|
-
require_tree, and require_self. DO NOT USE THEM IN YOUR SASS/SCSS FILES. They are very
|
26
|
-
primitive and do not work well with Sass files. Instead, use Sass's native @import directive
|
26
|
+
Sprockets provides some directives that are placed inside of comments called require,
|
27
|
+
require_tree, and require_self. DO NOT USE THEM IN YOUR SASS/SCSS FILES. They are very
|
28
|
+
primitive and do not work well with Sass files. Instead, use Sass's native @import directive
|
27
29
|
which sass-rails has customized to integrate with the conventions of your rails projects.
|
28
30
|
|
29
31
|
= License
|
30
32
|
|
31
|
-
This project rocks and uses MIT-LICENSE.
|
33
|
+
This project rocks and uses MIT-LICENSE.
|
data/lib/wiskey/version.rb
CHANGED
data/wiskey.gemspec
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "wiskey/version"
|
1
3
|
# Provide a simple gemspec so you can easily use your enginex
|
2
4
|
# project in your rails apps through git.
|
3
5
|
Gem::Specification.new do |s|
|
@@ -8,9 +10,11 @@ Gem::Specification.new do |s|
|
|
8
10
|
s.email = [ "alexey@osipenko.in.ua" ]
|
9
11
|
s.homepage = "http://aratak.github.com/wiskey/"
|
10
12
|
s.description = "The rails 3 gem, which include SCSS mixins and default rails templates for true-cutupping."
|
11
|
-
s.
|
12
|
-
s.version = "0.0.4"
|
13
|
+
s.version = Wiskey::VERSION
|
13
14
|
|
14
|
-
s.
|
15
|
+
s.files = `git ls-files`.split("\n")
|
16
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
17
|
+
s.require_paths = ["lib"]
|
15
18
|
|
19
|
+
s.add_dependency 'sass', '>= 3.1'
|
16
20
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wiskey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-20 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: &
|
15
|
+
name: sass
|
16
|
+
requirement: &70239908798100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.1
|
21
|
+
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70239908798100
|
25
25
|
description: The rails 3 gem, which include SCSS mixins and default rails templates
|
26
26
|
for true-cutupping.
|
27
27
|
email:
|
@@ -61,31 +61,6 @@ files:
|
|
61
61
|
- lib/wiskey/sass_extensions/functions.rb
|
62
62
|
- lib/wiskey/sass_extensions/functions/compact.rb
|
63
63
|
- lib/wiskey/version.rb
|
64
|
-
- test/dummy/Rakefile
|
65
|
-
- test/dummy/app/assets/stylesheets/application.css.scss
|
66
|
-
- test/dummy/app/controllers/application_controller.rb
|
67
|
-
- test/dummy/config.ru
|
68
|
-
- test/dummy/config/application.rb
|
69
|
-
- test/dummy/config/boot.rb
|
70
|
-
- test/dummy/config/environment.rb
|
71
|
-
- test/dummy/config/environments/development.rb
|
72
|
-
- test/dummy/config/environments/test.rb
|
73
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
74
|
-
- test/dummy/config/initializers/inflections.rb
|
75
|
-
- test/dummy/config/initializers/mime_types.rb
|
76
|
-
- test/dummy/config/initializers/secret_token.rb
|
77
|
-
- test/dummy/config/initializers/session_store.rb
|
78
|
-
- test/dummy/config/locales/en.yml
|
79
|
-
- test/dummy/config/routes.rb
|
80
|
-
- test/dummy/public/404.html
|
81
|
-
- test/dummy/public/422.html
|
82
|
-
- test/dummy/public/500.html
|
83
|
-
- test/dummy/public/favicon.ico
|
84
|
-
- test/dummy/script/rails
|
85
|
-
- test/integration/navigation_test.rb
|
86
|
-
- test/support/integration_case.rb
|
87
|
-
- test/test_helper.rb
|
88
|
-
- test/wiskey_test.rb
|
89
64
|
- wiskey.gemspec
|
90
65
|
homepage: http://aratak.github.com/wiskey/
|
91
66
|
licenses: []
|
data/test/dummy/Rakefile
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
-
|
4
|
-
require File.expand_path('../config/application', __FILE__)
|
5
|
-
require 'rake'
|
6
|
-
|
7
|
-
Dummy::Application.load_tasks
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'wiskey'
|
@@ -1,46 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
# require 'rails/all'
|
4
|
-
require 'action_controller/railtie'
|
5
|
-
require 'active_resource/railtie'
|
6
|
-
require 'sprockets/railtie'
|
7
|
-
|
8
|
-
Bundler.require
|
9
|
-
require "wiskey"
|
10
|
-
|
11
|
-
module Dummy
|
12
|
-
class Application < Rails::Application
|
13
|
-
# Settings in config/environments/* take precedence over those specified here.
|
14
|
-
# Application configuration should go into files in config/initializers
|
15
|
-
# -- all .rb files in that directory are automatically loaded.
|
16
|
-
|
17
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
18
|
-
# config.autoload_paths += %W(#{config.root}/extras)
|
19
|
-
|
20
|
-
# Only load the plugins named here, in the order given (default is alphabetical).
|
21
|
-
# :all can be used as a placeholder for all plugins not explicitly named.
|
22
|
-
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
23
|
-
|
24
|
-
# Activate observers that should always be running.
|
25
|
-
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
26
|
-
|
27
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
28
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
29
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
30
|
-
|
31
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
32
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
33
|
-
# config.i18n.default_locale = :de
|
34
|
-
|
35
|
-
# JavaScript files you want as :defaults (application.js is always included).
|
36
|
-
# config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
|
37
|
-
|
38
|
-
# Configure the default encoding used in templates for Ruby 1.9.
|
39
|
-
config.encoding = "utf-8"
|
40
|
-
|
41
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
42
|
-
config.filter_parameters += [:password]
|
43
|
-
|
44
|
-
config.assets.enabled = true
|
45
|
-
end
|
46
|
-
end
|
data/test/dummy/config/boot.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Log error messages when you accidentally call methods on nil.
|
10
|
-
config.whiny_nils = true
|
11
|
-
|
12
|
-
# Show full error reports and disable caching
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Print deprecation notices to the Rails logger
|
17
|
-
config.active_support.deprecation = :log
|
18
|
-
|
19
|
-
# Only use best-standards-support built into browsers
|
20
|
-
config.action_dispatch.best_standards_support = :builtin
|
21
|
-
end
|
22
|
-
|
@@ -1,29 +0,0 @@
|
|
1
|
-
Dummy::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Configure static asset server for tests with Cache-Control for performance
|
11
|
-
config.serve_static_assets = true
|
12
|
-
config.static_cache_control = "public, max-age=3600"
|
13
|
-
|
14
|
-
# Log error messages when you accidentally call methods on nil
|
15
|
-
config.whiny_nils = true
|
16
|
-
|
17
|
-
# Show full error reports and disable caching
|
18
|
-
config.consider_all_requests_local = true
|
19
|
-
config.action_controller.perform_caching = false
|
20
|
-
|
21
|
-
# Raise exceptions instead of rendering exception templates
|
22
|
-
config.action_dispatch.show_exceptions = false
|
23
|
-
|
24
|
-
# Disable request forgery protection in test environment
|
25
|
-
config.action_controller.allow_forgery_protection = false
|
26
|
-
|
27
|
-
# Print deprecation notices to the stderr
|
28
|
-
config.active_support.deprecation = :stderr
|
29
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format
|
4
|
-
# (all these examples are active by default):
|
5
|
-
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
-
# inflect.singular /^(ox)en/i, '\1'
|
8
|
-
# inflect.irregular 'person', 'people'
|
9
|
-
# inflect.uncountable %w( fish sheep )
|
10
|
-
# end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
Dummy::Application.config.secret_token = '86f76456fc8d122a5548c4d1962410fbc48b416b8e00734ec80db44bc09ffdcbfbeb83a280595b5af312b6ca5fdf451e65dd2ecba15570040054c5e2653b33fc'
|
@@ -1,8 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
|
-
|
5
|
-
# Use the database for sessions instead of the cookie-based default,
|
6
|
-
# which shouldn't be used to store highly confidential information
|
7
|
-
# (create the session table with "rails generate session_migration")
|
8
|
-
# Dummy::Application.config.session_store :active_record_store
|
data/test/dummy/config/routes.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
Dummy::Application.routes.draw do
|
2
|
-
# The priority is based upon order of creation:
|
3
|
-
# first created -> highest priority.
|
4
|
-
|
5
|
-
# Sample of regular route:
|
6
|
-
# match 'products/:id' => 'catalog#view'
|
7
|
-
# Keep in mind you can assign values other than :controller and :action
|
8
|
-
|
9
|
-
# Sample of named route:
|
10
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
-
|
13
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
-
# resources :products
|
15
|
-
|
16
|
-
# Sample resource route with options:
|
17
|
-
# resources :products do
|
18
|
-
# member do
|
19
|
-
# get 'short'
|
20
|
-
# post 'toggle'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# collection do
|
24
|
-
# get 'sold'
|
25
|
-
# end
|
26
|
-
# end
|
27
|
-
|
28
|
-
# Sample resource route with sub-resources:
|
29
|
-
# resources :products do
|
30
|
-
# resources :comments, :sales
|
31
|
-
# resource :seller
|
32
|
-
# end
|
33
|
-
|
34
|
-
# Sample resource route with more complex sub-resources
|
35
|
-
# resources :products do
|
36
|
-
# resources :comments
|
37
|
-
# resources :sales do
|
38
|
-
# get 'recent', :on => :collection
|
39
|
-
# end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Sample resource route within a namespace:
|
43
|
-
# namespace :admin do
|
44
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
-
# # (app/controllers/admin/products_controller.rb)
|
46
|
-
# resources :products
|
47
|
-
# end
|
48
|
-
|
49
|
-
# You can have the root of your site routed with "root"
|
50
|
-
# just remember to delete public/index.html.
|
51
|
-
# root :to => "welcome#index"
|
52
|
-
|
53
|
-
# See how all your routes lay out with "rake routes"
|
54
|
-
|
55
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
-
# match ':controller(/:action(/:id(.:format)))'
|
58
|
-
end
|
data/test/dummy/config.ru
DELETED
data/test/dummy/public/404.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/404.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/test/dummy/public/422.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/422.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>The change you wanted was rejected.</h1>
|
23
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
data/test/dummy/public/500.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<style type="text/css">
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
-
div.dialog {
|
8
|
-
width: 25em;
|
9
|
-
padding: 0 4em;
|
10
|
-
margin: 4em auto 0 auto;
|
11
|
-
border: 1px solid #ccc;
|
12
|
-
border-right-color: #999;
|
13
|
-
border-bottom-color: #999;
|
14
|
-
}
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
|
19
|
-
<body>
|
20
|
-
<!-- This file lives in public/500.html -->
|
21
|
-
<div class="dialog">
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
23
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
File without changes
|
data/test/dummy/script/rails
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
-
|
4
|
-
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
-
require File.expand_path('../../config/boot', __FILE__)
|
6
|
-
require 'rails/commands'
|
data/test/test_helper.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
# Configure Rails Envinronment
|
2
|
-
ENV["RAILS_ENV"] = "test"
|
3
|
-
|
4
|
-
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
-
require "rails/test_help"
|
6
|
-
|
7
|
-
# ActionMailer::Base.delivery_method = :test
|
8
|
-
# ActionMailer::Base.perform_deliveries = true
|
9
|
-
# ActionMailer::Base.default_url_options[:host] = "test.com"
|
10
|
-
|
11
|
-
Rails.backtrace_cleaner.remove_silencers!
|
12
|
-
|
13
|
-
# Configure capybara for integration testing
|
14
|
-
require "capybara/rails"
|
15
|
-
Capybara.default_driver = :rack_test
|
16
|
-
Capybara.default_selector = :css
|
17
|
-
|
18
|
-
# Run any available migration
|
19
|
-
# ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
20
|
-
|
21
|
-
# Load support files
|
22
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|