staticmatic2 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 1
4
- :patch: 5
4
+ :patch: 6
5
5
  :build: !!null
@@ -4,7 +4,7 @@ module StaticMatic::BuildMixin
4
4
  src_file_paths('*').each do |src_path|
5
5
  ext = File.extname(src_path).sub(/^\./, '')
6
6
 
7
- if Tilt.mappings[ext].length > 0
7
+ if Tilt.mappings[ext].length > 0 and not File.directory? src_path
8
8
  generate_site_file(src_path)
9
9
  else
10
10
  copy_file_from_src_to_site(src_path)
@@ -18,7 +18,7 @@ module StaticMatic::BuildMixin
18
18
  site_path = src_path.gsub /^#{@src_dir}/, @site_dir
19
19
 
20
20
  FileUtils.mkdir_p(File.dirname site_path)
21
- FileUtils.cp src_path, site_path
21
+ FileUtils.cp_r src_path, site_path
22
22
  end
23
23
 
24
24
  def generate_site_file(src_path)
@@ -38,4 +38,4 @@ module StaticMatic::BuildMixin
38
38
  end
39
39
  end
40
40
 
41
- end
41
+ end
data/staticmatic2.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "staticmatic2"
8
- s.version = "2.1.5"
8
+ s.version = "2.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stephen Bartholomew", "Gilbert B Garza"]
12
- s.date = "2012-07-09"
12
+ s.date = "2012-11-01"
13
13
  s.description = " StaticMatic helps you quickly create maintainable Amazon S3 static websites using\n tools such as Haml and Sass.\n \n Quickly deploy to services such as Amazon S3 in a single command.\n"
14
14
  s.email = "gilbertbgarza@gmail.com"
15
15
  s.executables = ["staticmatic"]
@@ -119,7 +119,7 @@ Gem::Specification.new do |s|
119
119
  s.licenses = ["MIT"]
120
120
  s.require_paths = ["lib"]
121
121
  s.rubyforge_project = "staticmatic2"
122
- s.rubygems_version = "1.8.21"
122
+ s.rubygems_version = "1.8.11"
123
123
  s.summary = "Build Amazon S3 static websites using modern dynamic tools"
124
124
 
125
125
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staticmatic2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-09 00:00:00.000000000 Z
13
+ date: 2012-11-01 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: haml
17
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &2158271400 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,15 +22,10 @@ dependencies:
22
22
  version: '3.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ~>
29
- - !ruby/object:Gem::Version
30
- version: '3.1'
25
+ version_requirements: *2158271400
31
26
  - !ruby/object:Gem::Dependency
32
27
  name: sass
33
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &2158263300 !ruby/object:Gem::Requirement
34
29
  none: false
35
30
  requirements:
36
31
  - - ~>
@@ -38,15 +33,10 @@ dependencies:
38
33
  version: '3.1'
39
34
  type: :runtime
40
35
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ~>
45
- - !ruby/object:Gem::Version
46
- version: '3.1'
36
+ version_requirements: *2158263300
47
37
  - !ruby/object:Gem::Dependency
48
38
  name: tilt
49
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &2158260920 !ruby/object:Gem::Requirement
50
40
  none: false
51
41
  requirements:
52
42
  - - ! '>='
@@ -54,15 +44,10 @@ dependencies:
54
44
  version: '1.3'
55
45
  type: :runtime
56
46
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: '1.3'
47
+ version_requirements: *2158260920
63
48
  - !ruby/object:Gem::Dependency
64
49
  name: compass
65
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: &2158258520 !ruby/object:Gem::Requirement
66
51
  none: false
67
52
  requirements:
68
53
  - - ~>
@@ -70,15 +55,10 @@ dependencies:
70
55
  version: 0.12.1
71
56
  type: :runtime
72
57
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ~>
77
- - !ruby/object:Gem::Version
78
- version: 0.12.1
58
+ version_requirements: *2158258520
79
59
  - !ruby/object:Gem::Dependency
80
60
  name: rack
81
- requirement: !ruby/object:Gem::Requirement
61
+ requirement: &2158244860 !ruby/object:Gem::Requirement
82
62
  none: false
83
63
  requirements:
84
64
  - - ! '>='
@@ -86,15 +66,10 @@ dependencies:
86
66
  version: '1.0'
87
67
  type: :runtime
88
68
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ! '>='
93
- - !ruby/object:Gem::Version
94
- version: '1.0'
69
+ version_requirements: *2158244860
95
70
  - !ruby/object:Gem::Dependency
96
71
  name: thor
97
- requirement: !ruby/object:Gem::Requirement
72
+ requirement: &2158241180 !ruby/object:Gem::Requirement
98
73
  none: false
99
74
  requirements:
100
75
  - - ! '>='
@@ -102,15 +77,10 @@ dependencies:
102
77
  version: 0.14.6
103
78
  type: :runtime
104
79
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>='
109
- - !ruby/object:Gem::Version
110
- version: 0.14.6
80
+ version_requirements: *2158241180
111
81
  - !ruby/object:Gem::Dependency
112
82
  name: aws-s3
113
- requirement: !ruby/object:Gem::Requirement
83
+ requirement: &2158236780 !ruby/object:Gem::Requirement
114
84
  none: false
115
85
  requirements:
116
86
  - - ! '>='
@@ -118,15 +88,10 @@ dependencies:
118
88
  version: '0'
119
89
  type: :runtime
120
90
  prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
- requirements:
124
- - - ! '>='
125
- - !ruby/object:Gem::Version
126
- version: '0'
91
+ version_requirements: *2158236780
127
92
  - !ruby/object:Gem::Dependency
128
93
  name: bundler
129
- requirement: !ruby/object:Gem::Requirement
94
+ requirement: &2158232120 !ruby/object:Gem::Requirement
130
95
  none: false
131
96
  requirements:
132
97
  - - ~>
@@ -134,15 +99,10 @@ dependencies:
134
99
  version: '1.0'
135
100
  type: :development
136
101
  prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
- requirements:
140
- - - ~>
141
- - !ruby/object:Gem::Version
142
- version: '1.0'
102
+ version_requirements: *2158232120
143
103
  - !ruby/object:Gem::Dependency
144
104
  name: jeweler
145
- requirement: !ruby/object:Gem::Requirement
105
+ requirement: &2158223720 !ruby/object:Gem::Requirement
146
106
  none: false
147
107
  requirements:
148
108
  - - ~>
@@ -150,15 +110,10 @@ dependencies:
150
110
  version: '1.6'
151
111
  type: :development
152
112
  prerelease: false
153
- version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ~>
157
- - !ruby/object:Gem::Version
158
- version: '1.6'
113
+ version_requirements: *2158223720
159
114
  - !ruby/object:Gem::Dependency
160
115
  name: rspec
161
- requirement: !ruby/object:Gem::Requirement
116
+ requirement: &2158221400 !ruby/object:Gem::Requirement
162
117
  none: false
163
118
  requirements:
164
119
  - - ~>
@@ -166,12 +121,7 @@ dependencies:
166
121
  version: 1.3.1
167
122
  type: :development
168
123
  prerelease: false
169
- version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
- requirements:
172
- - - ~>
173
- - !ruby/object:Gem::Version
174
- version: 1.3.1
124
+ version_requirements: *2158221400
175
125
  description: ! " StaticMatic helps you quickly create maintainable Amazon S3 static
176
126
  websites using\n tools such as Haml and Sass.\n \n Quickly deploy to services
177
127
  such as Amazon S3 in a single command.\n"
@@ -294,7 +244,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
244
  version: '0'
295
245
  segments:
296
246
  - 0
297
- hash: -1845147646628748619
247
+ hash: -347663051862138105
298
248
  required_rubygems_version: !ruby/object:Gem::Requirement
299
249
  none: false
300
250
  requirements:
@@ -303,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
253
  version: '0'
304
254
  requirements: []
305
255
  rubyforge_project: staticmatic2
306
- rubygems_version: 1.8.21
256
+ rubygems_version: 1.8.11
307
257
  signing_key:
308
258
  specification_version: 3
309
259
  summary: Build Amazon S3 static websites using modern dynamic tools