app_stack 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Yzc3YWZkMDkyYzQ2ZTA4OGI3YTljYzcyMWFkZGYwYjdlZTcxOWRlYQ==
4
+ OGM1ZWM3ZjYyODM1OWU1NTc3MjgyMjNmMWU5OTJhMzFmYTI4Y2ZmMg==
5
5
  data.tar.gz: !binary |-
6
- NDYxMDg5MGJjNjlkNjRhMGFlNWNlYmQ3ZGE3YmUxZGE1Zjg4OGE2Zg==
6
+ YzEzYTUzM2QxMGQyNGQ1MGFjYWRjNjhhMmFkZjQyMDU2MzM4MTcyYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGQxMzA1NmQzODljODE4MGNmMTg5MzUyODM1NTIyYzMwMDE4NmQxYmZmZTVk
10
- MGRmNzJlODUyZGQ4MTI1YmExMTU2N2Q2YTAzY2NkMzYyZmFhMmZkZTEwYWJi
11
- MDlkMGVmNmZlMTQwNjJhMmZhYmJiNzRiNjc4MTcxMzFhY2MzNTA=
9
+ NDBmMWI4NDUxMDIxODM3Y2EzODI2N2ZiM2VhMDIwZWY0ZmRhMGM3YzQzYjAy
10
+ ZWM0ZTQ1YjA5ZWIzOWI0ZTliY2MyMDM0MmU1NmUxY2VmNmY0MTYxMGEwZDg0
11
+ NGI3NzI4OGI1YjAxYTRhZjY0YTA3MTQ4MDQ2YTQxYjAyMGU5YWQ=
12
12
  data.tar.gz: !binary |-
13
- MWJlMGY0N2I5Y2VlZjVlZTBkZGZiMDExZmZiYmU2OGUwMzBkYmU0ZTAwYzU4
14
- ZGRjMTM3ODMzODVkMjJhMmQzYWU0ZjgxNDBhYTFkMDkxMmVhYjQ2ZWJmMzgz
15
- ZjUyYmQ2ZDJlNzI5ZjIxZjJhODk0Nzc2YTBmYTQxZDU5ODA2YmU=
13
+ MjU3MmZiZGNlZWU1Y2U5YWU1ZDBiYjE2NzkxZjMwZDkzZmMyOWFmMWQwODFk
14
+ ZTMzNWEwYzYwZTNmN2U5MjQ3OTYwMmE2NzZhMGU0ZmM3ZDcwYTE0MTA0NzQw
15
+ Y2E4Y2FlMzAyY2FiMzlkMTNhZDA0ZGRhMjllNTQxNzgyMTBlMjM=
data/lib/app_stack/app.rb CHANGED
@@ -68,6 +68,7 @@ module AppStack
68
68
  end
69
69
 
70
70
  # echo message only if verbose specified to be true
71
+ # rubocop:disable CyclomaticComplexity
71
72
  def info(msg, var = nil)
72
73
  return unless options && options.verbose
73
74
 
@@ -1,7 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module AppStack
4
-
5
4
  # items as copy list candidate
6
5
  class CompareFile
7
6
  attr_accessor :from_app, :from_file, :to_app, :to_file,
@@ -92,7 +91,6 @@ module AppStack
92
91
  FileUtils.mkdir_p target_dir unless File.directory?(target_dir)
93
92
  FileUtils.cp_r from_file, to_file
94
93
  end
95
-
96
94
  end
97
95
 
98
96
  # reopen app class, extend with load_compare list function
@@ -77,6 +77,7 @@ module AppStack
77
77
 
78
78
  private
79
79
 
80
+ # rubocop:disable CyclomaticComplexity
80
81
  def parse_stack_list!(list_type)
81
82
  hlist = {}
82
83
  config.send(list_type.to_sym).each do |exp|
@@ -50,7 +50,7 @@ module AppStack
50
50
  i = 1
51
51
  @diff_list.each do |f|
52
52
  puts "[#{i.to_s.bold}] " + f.to_file_short_name.blue
53
- puts "from: #{f.from_file_short_name.blue}"
53
+ puts "<- #{f.from_app.app_name.bold.blue} (#{f.from_file_short_name})"
54
54
  puts f.diff.to_s(:color)
55
55
  i += 1
56
56
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  # AppStack module
4
4
  module AppStack
5
- VERSION = '1.4.2'
5
+ VERSION = '1.4.3'
6
6
  end
@@ -14,9 +14,8 @@ require 'sass'
14
14
  require 'closure-compiler'
15
15
 
16
16
  # configure / compile java script and css assets files
17
- # rubocop:disable MethodLength, ClassLength
17
+ # rubocop:disable MethodLength, ClassLength, CyclomaticComplexity
18
18
  class LaAssets
19
-
20
19
  # initialize compiler and setup options
21
20
  def initialize(def_file, verbose = false, cleanup = false)
22
21
  # default configuration (directory relative to current directory):
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huang Wei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-14 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt