anadea-spark 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eaa68b70ea2f0b7f7fcbf00533a9f788a3a09156
4
- data.tar.gz: 190f2b9483a8c5179db9d8ebbbaf46145e8da515
3
+ metadata.gz: e06fa47a8fbf602016baf19ad8aade073c3f2f76
4
+ data.tar.gz: 53b8a6f97b8192e174804ca757692e27ca23c865
5
5
  SHA512:
6
- metadata.gz: ba7a09c18efcee42c7aef71b8057595a7dd9b5daa960a884f16f3c43b58420cf3144d786047a34f8aeb0c9e4e29cca770ae4dc0e64fc2bbb13957eaa5c43e970
7
- data.tar.gz: eb76cc38415ecb4899f08e97dc05ad8b47601bff22221bfa6bd7a173a34edf783bd799e047dec7d1c8c9e81a927b573552447e5dba0e8244c428e2ca89a170e0
6
+ metadata.gz: 19d0a78110f9e823fa19e5eca58f0f9dbef10f5c92f2b591e102b31deb6322c944ddc8292ceaed4e56193daf5ad7d89749261761601c6da82a6f360181a16926
7
+ data.tar.gz: fc03d6d780a3dc1f9ddf817675d548ebdb480a2d341478aa3ced7ceb1df12c3152a1ef2fe70b7ed8dd6333601c93d7c4d64e6c7772e3fd77b4a9b279a7c2dd34
@@ -110,6 +110,8 @@ module Spark
110
110
  def create_partials
111
111
  empty_directory 'app/views/application'
112
112
 
113
+ copy_file 'views/application/_stylesheet.html.erb',
114
+ 'app/views/application/_stylesheet.html.erb'
113
115
  copy_file 'views/application/_flashes.html.erb',
114
116
  'app/views/application/_flashes.html.erb'
115
117
  copy_file 'views/application/_javascript.html.erb',
@@ -207,7 +209,7 @@ module Spark
207
209
 
208
210
  def configure_action_mailer
209
211
  action_mailer_host "development", %{"localhost:3000"}
210
- action_mailer_host "test", %{"www.example.com"}
212
+ action_mailer_host "test", %{"localhost:9887"}
211
213
  action_mailer_host "production", %{ENV.fetch("HOST")}
212
214
  end
213
215
 
@@ -251,6 +253,8 @@ module Spark
251
253
  remove_file 'app/assets/stylesheets/application.css'
252
254
  copy_file 'assets/application.scss',
253
255
  'app/assets/stylesheets/application.scss'
256
+ copy_file 'assets/disable_animation.scss',
257
+ 'vendor/assets/stylesheets/disable_animation.scss'
254
258
  end
255
259
 
256
260
  def setup_javascripts
@@ -1,5 +1,5 @@
1
1
  module Spark
2
- RAILS_VERSION = "4.2.1"
2
+ RAILS_VERSION = "4.2.2"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = "0.4.2"
4
+ VERSION = "0.4.3"
5
5
  end
@@ -0,0 +1,19 @@
1
+ * {
2
+ transition-property: none !important;
3
+ -o-transition-property: none !important;
4
+ -moz-transition-property: none !important;
5
+ -ms-transition-property: none !important;
6
+ -webkit-transition-property: none !important;
7
+
8
+ transform: none !important;
9
+ -o-transform: none !important;
10
+ -moz-transform: none !important;
11
+ -ms-transform: none !important;
12
+ -webkit-transform: none !important;
13
+
14
+ animation: none !important;
15
+ -o-animation: none !important;
16
+ -moz-animation: none !important;
17
+ -ms-animation: none !important;
18
+ -webkit-animation: none !important;
19
+ }
@@ -3,6 +3,7 @@ ENV["RAILS_ENV"] = "test"
3
3
  require File.expand_path("../../config/environment", __FILE__)
4
4
 
5
5
  require "rspec/rails"
6
+ require 'capybara/poltergeist'
6
7
 
7
8
  Dir[Rails.root.join("spec/support/**/*.rb")].each { |file| require file }
8
9
 
@@ -12,6 +13,10 @@ module Features
12
13
  end
13
14
 
14
15
  RSpec.configure do |config|
16
+ Capybara.default_host = 'localhost'
17
+ Capybara.server_port = 9887
18
+ Capybara.app_host = "http://#{Capybara.default_host}:#{Capybara.server_port}"
19
+
15
20
  config.include Features, type: :feature
16
21
  config.infer_base_class_for_anonymous_controllers = false
17
22
  config.infer_spec_type_from_file_location!
@@ -0,0 +1,2 @@
1
+ <%= stylesheet_link_tag :application, media: "all" %>
2
+ <%= stylesheet_link_tag :disable_animation, media: "all" if Rails.env.test? %>
@@ -6,7 +6,7 @@
6
6
  <meta content="NOODP" name="ROBOTS"/>
7
7
  <meta content="initial-scale=1" name="viewport"/>
8
8
  <title><%= app_name.humanize %></title>
9
- <%%= stylesheet_link_tag :application, media: "all" %>
9
+ <%%= render 'stylesheet' %>
10
10
  <%%= csrf_meta_tags %>
11
11
  </head>
12
12
  <body>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anadea-spark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - anadea
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.1
33
+ version: 4.2.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.1
40
+ version: 4.2.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -115,6 +115,7 @@ files:
115
115
  - templates/README.md.erb
116
116
  - templates/assets/application.js
117
117
  - templates/assets/application.scss
118
+ - templates/assets/disable_animation.scss
118
119
  - templates/bin/setup.erb
119
120
  - templates/config/application.yml.sample
120
121
  - templates/config/initializers/disable_xml_params.rb
@@ -140,6 +141,7 @@ files:
140
141
  - templates/views/application/_javascript.html.erb
141
142
  - templates/views/application/_navigation.html.erb
142
143
  - templates/views/application/_navigation_links.html.erb
144
+ - templates/views/application/_stylesheet.html.erb
143
145
  - templates/views/layouts/application.html.erb.erb
144
146
  - templates/views/pages/home.html.erb
145
147
  homepage: http://github.com/Anadea/spark