artii 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/artii.gemspec +3 -3
  4. data/lib/artii/base.rb +5 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d994ac701ae8e82d26d9bf722db010b31e587db
4
- data.tar.gz: 246c6279ba01b821586b84c621dab5cbb00bc76f
3
+ metadata.gz: 532485a55acb312254901b090a13a947ce7cfb68
4
+ data.tar.gz: fca6722ae554b22cd78ba2cefdc58928c0401dd6
5
5
  SHA512:
6
- metadata.gz: 81786533a447740546a910ec79435a7f46c149f0eab72e43044a6570b55c17f8a3cca012a6e657e3d0d09c0fda0af80acd4a39f4f7a613f1d193197a72a15db8
7
- data.tar.gz: 9aca034bdb195c1c88cb943fed55d13bdc5b21b08e0c0bcaf84f90a5db74045db2ef7b30817d546a74816d68143793c0769994f5d1e413662582789d27a78f39
6
+ metadata.gz: dbdf08f7ff7d401c73c4a085097b6189c6a145b272bcd3e2873dccc0c2831fd4e5d6240a285763042c7a9262225b67cc3d026e859e8071f42e923a7d07edd243
7
+ data.tar.gz: d315d14038bb2e0a4f6863e5f8e923c642c98dd1852d4d96f74d2724c6317383b7e62d3f7d812d51c0ca2a02d5112fa0c993c4614202b520b0eabedadb10c7bc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.1
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: artii 2.1.0 ruby lib
5
+ # stub: artii 2.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "artii"
9
- s.version = "2.1.0"
9
+ s.version = "2.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Mike Tierney"]
14
- s.date = "2014-11-11"
14
+ s.date = "2015-01-13"
15
15
  s.description = "A Figlet-based ASCII art generator, useful for comand-line based ASCII Art Generation."
16
16
  s.email = "mike@panpainter.com"
17
17
  s.executables = ["artii"]
@@ -71,7 +71,11 @@ module Artii
71
71
  end
72
72
 
73
73
  def version
74
- Gem::Specification::load('artii.gemspec').version.to_s
74
+ file = 'artii.gemspec'
75
+ unless File.exists? file
76
+ file = `gem which artii`.sub("/lib/artii.rb\n", "/#{file}")
77
+ end
78
+ Gem::Specification::load(file).version.to_s
75
79
  end
76
80
  end
77
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artii
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Tierney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-11 00:00:00.000000000 Z
11
+ date: 2015-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec