troy 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -12
- data/lib/troy/cli.rb +4 -2
- data/lib/troy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcdde7c1107d467ef1bc2bc5eaf05f7625ff64b5
|
4
|
+
data.tar.gz: 0ab8fc967d3e05721bf1aefeea97ee15ca848acf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f377576cd51facac5c7230de05b43b70367a8212c0732d1bf25a0bf35d68da190bb7043640ef04c99b7504a9f6832010e2082856962777fb293755bbeb8520c4
|
7
|
+
data.tar.gz: a2e63f64f1a163e3397334ab1dac5b6fe3af771b4fd6e5e7993174482b49458efa77594d3cb49263888649a97448b49a0125211f8bf1c6cd25eda89d943b4187
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
troy (0.0.
|
4
|
+
troy (0.0.26)
|
5
5
|
builder
|
6
6
|
html_press
|
7
7
|
i18n
|
@@ -22,35 +22,35 @@ GEM
|
|
22
22
|
csspool-st (= 3.1.2)
|
23
23
|
json
|
24
24
|
csspool-st (3.1.2)
|
25
|
-
execjs (2.
|
25
|
+
execjs (2.2.2)
|
26
26
|
hike (1.2.3)
|
27
27
|
html_press (0.8.2)
|
28
28
|
htmlentities
|
29
29
|
multi_css (>= 0.1.0)
|
30
30
|
multi_js (>= 0.1.0)
|
31
|
-
htmlentities (4.3.
|
32
|
-
i18n (0.
|
33
|
-
json (1.8.
|
31
|
+
htmlentities (4.3.3)
|
32
|
+
i18n (0.7.0)
|
33
|
+
json (1.8.2)
|
34
34
|
multi_css (0.1.0)
|
35
35
|
css_press
|
36
36
|
multi_js (0.1.0)
|
37
37
|
uglifier (~> 2)
|
38
38
|
multi_json (1.10.1)
|
39
|
-
rack (1.
|
40
|
-
rake (10.
|
41
|
-
redcarpet (3.
|
42
|
-
rouge (1.
|
43
|
-
sass (3.
|
39
|
+
rack (1.6.0)
|
40
|
+
rake (10.4.2)
|
41
|
+
redcarpet (3.2.2)
|
42
|
+
rouge (1.7.7)
|
43
|
+
sass (3.4.10)
|
44
44
|
sass-globbing (1.1.1)
|
45
45
|
sass (>= 3.1)
|
46
|
-
sprockets (2.12.
|
46
|
+
sprockets (2.12.3)
|
47
47
|
hike (~> 1.2)
|
48
48
|
multi_json (~> 1.0)
|
49
49
|
rack (~> 1.0)
|
50
50
|
tilt (~> 1.1, != 1.3.0)
|
51
51
|
thor (0.19.1)
|
52
52
|
tilt (1.4.1)
|
53
|
-
uglifier (2.
|
53
|
+
uglifier (2.7.0)
|
54
54
|
execjs (>= 0.3.0)
|
55
55
|
json (>= 1.8.0)
|
56
56
|
|
data/lib/troy/cli.rb
CHANGED
@@ -14,14 +14,16 @@ module Troy
|
|
14
14
|
super
|
15
15
|
end
|
16
16
|
|
17
|
-
options assets: :boolean, file: :
|
17
|
+
options assets: :boolean, file: :array
|
18
18
|
desc "export", "Export files"
|
19
19
|
def export
|
20
20
|
if options[:assets]
|
21
21
|
site.export_assets
|
22
22
|
site.export_files
|
23
23
|
elsif options[:file]
|
24
|
-
|
24
|
+
options[:file].each do |file|
|
25
|
+
site.export_pages(file)
|
26
|
+
end
|
25
27
|
else
|
26
28
|
site.export
|
27
29
|
end
|
data/lib/troy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: troy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|