app_stack 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZDUwNTI1MmNlNmI0OGFiNjBkZjU1ZDI3YjgyOTE0YTExNmVlMTBiNw==
5
+ data.tar.gz: !binary |-
6
+ ZGMxZTc2MjFhYjNmYjlkZTQwZTg3Yjc0YjZkMTVlNGUwYjQyYTE2MA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YmUyN2VlNWM2MTU2M2RmNDE5YjY4YWVkY2UxZmUyODE3MWRjN2FmYjdiNTBj
10
+ NmI5MTgwODM4YTUwYTU3ZjIzNmViMzIzYTQ1NWY0Y2IyNzE4ODgxN2UzMDk0
11
+ MGUwMzNlMjBkNjc5Nzk2N2ZjMWMyYThkYzRjZTEyYzRmZGNhMTc=
12
+ data.tar.gz: !binary |-
13
+ YWI1YzEzZGFkMDcxOTk2OTc4NWFhNjBlNDI5ODFiZTFmYzkxMjNlNmMwZGJm
14
+ NTIyY2NiM2JkZTc1NmU4M2NhZjE0MWMzODBkODFjMzA4YWFjMjQ5MmZkOGE0
15
+ MjdkZDVlZTk0Mzg1NTI5ZTY1ZjY4MmE2YzJlZDIzZGZjNDdlZWU=
@@ -2,5 +2,5 @@
2
2
 
3
3
  # AppStack module
4
4
  module AppStack
5
- VERSION = '0.0.8'
5
+ VERSION = '0.0.9'
6
6
  end
data/lib/app_stack.rb CHANGED
@@ -215,14 +215,13 @@ module AppStack
215
215
  # render from erb if newer
216
216
  def render_file!(f, target)
217
217
  done = 'keep'.white
218
- if newer?(f, target)
219
- tilt = Tilt::ERBTemplate.new(f)
220
- oh = File.open(target, 'wb')
221
- oh.write tilt.render(OpenStruct.new(@attrs.deep_merge(@config['attrs'])))
222
- oh.close
223
- done = 'rendered'.bold.green
224
- end
225
- done
218
+ # if newer?(f, target)
219
+ tilt = Tilt::ERBTemplate.new(f)
220
+ oh = File.open(target, 'wb')
221
+ oh.write tilt.render(OpenStruct.new(@attrs.deep_merge(@config['attrs'])))
222
+ oh.close
223
+ 'rendered'.bold.green
224
+ # end
226
225
  end
227
226
 
228
227
  # use module variables, skip `new`
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_stack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- prerelease:
4
+ version: 0.0.9
6
5
  platform: ruby
7
6
  authors:
8
7
  - Huang Wei
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-09-09 00:00:00.000000000 Z
11
+ date: 2013-09-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: tilt
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: term-ansicolor
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: activesupport
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: simplecov
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
@@ -138,27 +127,26 @@ files:
138
127
  homepage: https://github.com/7lime/app_stack-gem
139
128
  licenses:
140
129
  - MIT
130
+ metadata: {}
141
131
  post_install_message:
142
132
  rdoc_options: []
143
133
  require_paths:
144
134
  - lib
145
135
  required_ruby_version: !ruby/object:Gem::Requirement
146
- none: false
147
136
  requirements:
148
137
  - - ! '>='
149
138
  - !ruby/object:Gem::Version
150
139
  version: '0'
151
140
  required_rubygems_version: !ruby/object:Gem::Requirement
152
- none: false
153
141
  requirements:
154
142
  - - ! '>='
155
143
  - !ruby/object:Gem::Version
156
144
  version: '0'
157
145
  requirements: []
158
146
  rubyforge_project:
159
- rubygems_version: 1.8.23
147
+ rubygems_version: 2.0.6
160
148
  signing_key:
161
- specification_version: 3
149
+ specification_version: 4
162
150
  summary: Use as a rake task, define a stack of modules and app-stack will merge files
163
151
  from those stack-apps to the local application directory.
164
152
  test_files: