houston-core 0.8.0 → 0.8.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 136fe47feb3a17073f374d80810c1e7a1bd0b2d5
4
- data.tar.gz: 64aab343cacf47e7ae861b3270762f491c7d80b7
3
+ metadata.gz: baaf1dd02fe0e6a89799650205ddcb173a4e91b3
4
+ data.tar.gz: 5aabee4c509624eefc8bf87358631814a38b04b6
5
5
  SHA512:
6
- metadata.gz: 773e6c3c82396549d2a2cf9021a4fbc1bbc4b860cb89efdcb6e373d0218cf7e8ceab2bc5ea5a31f1f822b0060b39b1e28c808ea14ab65d3510f992299e59e4e7
7
- data.tar.gz: a558b53a66526fd6f3919b973ee6d037ab7b27b81c96d0ddeb5c27b2f8b7ba8712b25aeaee8f8c92596cacc16a8d74ddf20f3d07ad080166bf44fca8aa7d5bc7
6
+ metadata.gz: 95d5b8cca3bdc4acc0db433c33ffa4e4fef717fccabc70fe97c3ce8c9603c432c1a98766c7a0522fac6e207d27121c93025e0c12a3024ca6a610fca4c832de21
7
+ data.tar.gz: 62a96ab002967a8152abe8727f127e80bfaf721bb021229376164539322a3b1c5317178b5201465e67f617c9765deb4bd7c916a60eddaa2efedda317c546f3a6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- houston-core (0.8.0)
4
+ houston-core (0.8.1)
5
5
  activerecord-import
6
6
  activerecord-pluck_in_batches (~> 0.2.0)
7
7
  addressable (~> 2.3.8)
@@ -73,7 +73,7 @@ GEM
73
73
  activemodel (= 5.0.0.1)
74
74
  activesupport (= 5.0.0.1)
75
75
  arel (~> 7.0)
76
- activerecord-import (0.16.2)
76
+ activerecord-import (0.17.0)
77
77
  activerecord (>= 3.2)
78
78
  activerecord-pluck_in_batches (0.2.0)
79
79
  activerecord (>= 4.2.7, < 5.1.0)
@@ -192,7 +192,7 @@ GEM
192
192
  nokogiri
193
193
  openxml-package (>= 0.2.0)
194
194
  orm_adapter (0.5.0)
195
- ox (2.4.8)
195
+ ox (2.4.9)
196
196
  pg (0.19.0)
197
197
  pg_search (1.0.6)
198
198
  activerecord (>= 3.1)
@@ -271,19 +271,19 @@ GEM
271
271
  activerecord
272
272
  thor (0.19.1)
273
273
  thread_safe (0.3.5)
274
- tilt (2.0.5)
274
+ tilt (2.0.6)
275
275
  timecop (0.8.1)
276
276
  tzinfo (1.2.2)
277
277
  thread_safe (~> 0.1)
278
278
  uglifier (3.0.4)
279
279
  execjs (>= 0.3.0, < 3)
280
- warden (1.2.6)
280
+ warden (1.2.7)
281
281
  rack (>= 1.0)
282
282
  webmock (2.1.0)
283
283
  addressable (>= 2.3.6)
284
284
  crack (>= 0.3.2)
285
285
  hashdiff
286
- websocket-driver (0.6.4)
286
+ websocket-driver (0.6.5)
287
287
  websocket-extensions (>= 0.1.0)
288
288
  websocket-extensions (0.1.2)
289
289
  xpath (2.0.0)
@@ -4,7 +4,7 @@
4
4
  <%= "mobile" if mobile? %>">
5
5
  <head>
6
6
  <meta charset="utf-8">
7
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
8
8
  <title><%= title %></title>
9
9
  <%= csrf_meta_tags %>
10
10
  <%= action_cable_meta_tag %>
@@ -9,7 +9,7 @@
9
9
 
10
10
  # Make sure your secret_key_base is kept private
11
11
  # if you're sharing your code publicly.
12
- if Rails.env.test?
12
+ unless Rails.env.production?
13
13
  Houston::Application.config.secret_key_base = "8cf48c792d860953a74ecaa7c779c6019ecddf39a03300a9aed505662f519cf933b4b0ecba3bea4f0eaaf3debd09b08c3e2bd87b9d30be8df0b1166ab4962752"
14
14
  else
15
15
  Houston::Application.config.secret_key_base = ENV["HOUSTON_SECRET_KEY_BASE"]
@@ -10,11 +10,9 @@ module Generators
10
10
  argument :app_path, type: :string
11
11
 
12
12
  def copy_files
13
- copy_file ".gitignore", "#{app_path}/.gitignore"
14
-
15
13
  path = source_paths[0]
16
14
  path_length = path.length + 1
17
- Dir.glob(path + "/**/*").each do |file|
15
+ Dir.glob(path + "/**/*", File::FNM_DOTMATCH).each do |file|
18
16
  next if File.directory?(file)
19
17
  path = file[path_length..-1]
20
18
  template path, "#{app_path}/#{path}"
@@ -27,7 +25,7 @@ module Generators
27
25
  end
28
26
 
29
27
  def name
30
- app_path
28
+ File.basename(app_path)
31
29
  end
32
30
 
33
31
  end
@@ -1,3 +1,3 @@
1
1
  module Houston
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -134,8 +134,8 @@ Houston.config do
134
134
  #
135
135
  # To create a new module for Houston, run:
136
136
  #
137
- # gem install houston-cli
138
- # houston_new_module <MODULE>
137
+ #
138
+ # houston new --module <MODULE>
139
139
  #
140
140
  # Then add the module to your Gemfile with:
141
141
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: houston-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-30 00:00:00.000000000 Z
11
+ date: 2017-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails