epuber 0.5.0.beta → 0.5.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1090e1e950ac74304760e03e150f009c0b5dc2708140e09d7d0a59fa04e5047a
4
- data.tar.gz: e297a29c815dcaea61a093d8697f94373b594a4140ad376b286fb0056239589a
3
+ metadata.gz: d4ef00125e2a9d423ab47d74c2bb07a4e37cf3c9ef6a4484f4192630a258c7b5
4
+ data.tar.gz: 569bf628ee62d33784afb312b047eb753d36f9a06fb6d8445a738365c2abf154
5
5
  SHA512:
6
- metadata.gz: 7d368f9fe3d25cd4042b7eb1e889a5dfef03c3c930c12e3365fc73b41ec77ed6d366f2e9c8c5a4698d616a6e2d0ab044b85288185061eb2887b810bbb35edc0f
7
- data.tar.gz: d97488e6a9d0a2745fc92fd1906fc8bdae559eca59ae8ae9e6544bb1bc049e838a6886b75cabec9b86459019d466b676fa08e4c0ea9af8c1ea19d8e8d19a805a
6
+ metadata.gz: 93ebb50da0a327e874ad8c0a2657a9406fda30bdf62a6943a399162030f474690c6dae2ac87b62554f60d99267fd1091ba91641ca74831c060ae2043e922193d
7
+ data.tar.gz: 32461e16c6b9509f44bdef2eae5a94254f7722b3f0356342008e2370bcec57bf708d2d9381d5dc9948dfa90558697a4f0447e5317da96e06a1f9fb14bf8b3fed
@@ -302,7 +302,7 @@ module Epuber
302
302
  def target_named(target_name)
303
303
  return target_name if target_name.is_a?(Epuber::Book::Target)
304
304
 
305
- all_targets.find do |target|
305
+ flat_all_targets.find do |target|
306
306
  target.name == target_name || target.name.to_s == target_name.to_s
307
307
  end
308
308
  end
@@ -37,7 +37,7 @@ module Epuber
37
37
  require_relative '../server'
38
38
 
39
39
  target = if @selected_target_name.nil?
40
- book.all_targets.first
40
+ book.buildable_targets.first
41
41
  else
42
42
  book.target_named(@selected_target_name)
43
43
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Epuber
3
- VERSION = '0.5.0.beta'
3
+ VERSION = '0.5.0.beta.2'
4
4
 
5
5
  HOME_URL = 'https://github.com/epuber-io/epuber'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epuber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.beta
4
+ version: 0.5.0.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Kříž
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-22 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -541,7 +541,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
541
541
  version: 1.3.1
542
542
  requirements: []
543
543
  rubyforge_project:
544
- rubygems_version: 2.7.4
544
+ rubygems_version: 2.7.7
545
545
  signing_key:
546
546
  specification_version: 4
547
547
  summary: Epuber is simple tool to compile and pack source files into EPUB format.