troy 0.0.25 → 0.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a52643e2ede79ee15132dc29768c05253e714f87
4
- data.tar.gz: 7234c3dd2f64ec9622cb0e04b823d2425cd35bd4
3
+ metadata.gz: fcdde7c1107d467ef1bc2bc5eaf05f7625ff64b5
4
+ data.tar.gz: 0ab8fc967d3e05721bf1aefeea97ee15ca848acf
5
5
  SHA512:
6
- metadata.gz: 761397d793b08557b61b37ec779432da7ecf087a68690ae8b5d8e37acb4ee368e40f13e6a9999fae9ceb7046fca2a4994052c5ead0304196c6fb4a61fc5e0dd2
7
- data.tar.gz: 69a75bc786c61bbc9f685ac197ddfcaad2191d13649708bc71d4b65279689d7e5b7a1ba71a7cf9b6f5fb6347b54da19def6ade228849f33bf932c1a3df7e0ec6
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.24)
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.1.0)
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.1)
32
- i18n (0.6.10)
33
- json (1.8.1)
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.5.2)
40
- rake (10.3.2)
41
- redcarpet (3.1.2)
42
- rouge (1.4.0)
43
- sass (3.3.7)
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.1)
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.5.0)
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: :string
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
- site.export_pages(options[:file])
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
@@ -1,3 +1,3 @@
1
1
  module Troy
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
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.25
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-02 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n