theme-juice 0.7.12 → 0.7.13

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: 47453dc6785ca46556845b56bd1a46f4cbd87fd2
4
- data.tar.gz: b5b347209b63b93778a684add12a618a0f7e0a12
3
+ metadata.gz: b9eb3ca4662552ce5f2cb74bd324ee62cb727f89
4
+ data.tar.gz: c60afebc30567f86d9b38de0e996b15d8a23d7d4
5
5
  SHA512:
6
- metadata.gz: f7af5978b857e8c59705bbacf31bd2d8d14f47660527d41af344fa86c6d624c2a0284ac0027cca9ca6d6ab96bcce08020b8412181cf6613209338e9f34b24f92
7
- data.tar.gz: 9dcbf6263ec2fc2fc1a622d4417e35e154e5e5836c6e9bf85603ec8f36f800af77ef499dd4147b6440018f9ec5b93c2f4fde4699b8ae50d5384dd19922c167cd
6
+ metadata.gz: 2722df7ef800dd9e6420af9e0ecc34bac0e187ac651c63d62291bf6adf20694fbf1eda8b625a3a4a6144b7441b4c15e4e07c09c6ad8c6c247125a8d97b9fd7a7
7
+ data.tar.gz: d06729bceb72aa5ed54286112f7fce7d46e2e43e04a36b460cc3351e4bf5358509e6f91a4624b3df77ee23a8a6bb4e655454ed35f87940380222c3ddcce600fe
data/README.md CHANGED
@@ -34,6 +34,7 @@ If you're into [Grunt](https://github.com/gruntjs/grunt), then use it. Prefer [G
34
34
  commands:
35
35
  install:
36
36
  - composer install
37
+ - grunt build
37
38
  watch:
38
39
  - grunt %args%
39
40
  vendor:
@@ -6,6 +6,7 @@ module ThemeJuice
6
6
 
7
7
  THEMES = {
8
8
  "theme-juice/trellis" => "https://github.com/ezekg/theme-juice-starter.git",
9
+ "roots/bedrock" => "https://github.com/roots/bedrock.git",
9
10
  "other" => nil,
10
11
  "none" => false
11
12
  }
@@ -14,10 +14,12 @@ module ThemeJuice
14
14
  config.fetch("commands", {})
15
15
  .fetch("#{method}") { @io.error "Command '#{method}' not found in config", NotImplementedError }
16
16
  .each { |cmd| run format_command(cmd, *args) }
17
- rescue ::NoMethodError => err
18
- @io.error "Config file is invalid", SyntaxError do
19
- puts err
20
- end
17
+ # rescue ::NoMethodError => err
18
+ # @io.error "Config file is invalid or missing", SyntaxError do
19
+ # puts err
20
+ # end
21
+ rescue
22
+ @io.notice "Skipping..."
21
23
  end
22
24
  end
23
25
 
@@ -43,11 +45,13 @@ module ThemeJuice
43
45
  def config
44
46
  begin
45
47
  YAML.load_file Dir["#{@project.location}/*"].select { |f| config_regex =~ File.basename(f) }.last ||
46
- @io.error("Config file not found in '#{@project.location}'")
48
+ @io.error("Config file not found in '#{@project.location}'", LoadError)
47
49
  rescue ::Psych::SyntaxError => err
48
50
  @io.error "Config file contains invalid YAML", SyntaxError do
49
51
  puts err
50
52
  end
53
+ rescue LoadError
54
+ nil
51
55
  end
52
56
  end
53
57
 
@@ -16,7 +16,7 @@ module ThemeJuice
16
16
 
17
17
  def success
18
18
  @io.success "Successfully created project '#{@project.name}'"
19
- @io.list "Your settings :", :yellow, settings
19
+ @io.list "Your settings :", :blue, settings
20
20
  end
21
21
 
22
22
  def settings
@@ -21,7 +21,7 @@ module ThemeJuice
21
21
  private
22
22
 
23
23
  def dot_env_file
24
- "#{@project.location}/.env.development"
24
+ "#{@project.location}/.env"
25
25
  end
26
26
 
27
27
  def dot_env_is_setup?
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.7.12"
4
+ VERSION = "0.7.13"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-juice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.12
4
+ version: 0.7.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse