artii 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +44 -0
- data/README.rdoc +0 -1
- data/VERSION +1 -1
- data/artii.gemspec +1 -1
- data/lib/artii/base.rb +4 -0
- data/lib/artii/cli.rb +4 -0
- data/spec/artii/cli_spec.rb +14 -0
- metadata +2 -2
data/History.txt
CHANGED
@@ -42,3 +42,47 @@
|
|
42
42
|
=== 1.0.3 / 2012-01-04
|
43
43
|
|
44
44
|
* Updates for Ruby 1.9 compatibility.
|
45
|
+
|
46
|
+
* Regenerate gemspec for version 1.0.3 (Mike Tierney)
|
47
|
+
* Version bump to 1.0.3 (Mike Tierney)
|
48
|
+
* Update the history file. (Mike Tierney)
|
49
|
+
* Code cleanup. (Mike Tierney)
|
50
|
+
* Update the Rakefile, add Gemfiles and .rvmrc, .rspec (Mike Tierney)
|
51
|
+
* Merge pull request #1 from haus/update_for_ruby19_compat (Mike Tierney)
|
52
|
+
|
53
|
+
=== 2.0.0 / 2012-05-04
|
54
|
+
* Split the CLI code and the core code in to separate locations, making integrating artii in to applications much easier (thanks Colin Mitchell <@muffinista>)
|
55
|
+
|
56
|
+
* Update README TODO list. (Mike Tierney)
|
57
|
+
* Version 2.0.0 Gemfile bump. (Mike Tierney)
|
58
|
+
* Regenerate gemspec for version 2.0.0 (Mike Tierney)
|
59
|
+
* Version bump to 2.0.0 (Mike Tierney)
|
60
|
+
* Update README to reflect new changes. (Mike Tierney)
|
61
|
+
* Fix failing CLI specs. (Mike Tierney)
|
62
|
+
* Fix CLI specs to load the CLI class. (Mike Tierney)
|
63
|
+
* Upgrade the Bundler requirement. (Mike Tierney)
|
64
|
+
* Merge pull request #2 from muffinista/master (Mike Tierney)
|
65
|
+
* split Base into CLI and Base so that Artii can be used outside of the command-line script (Colin Mitchell)
|
66
|
+
* split Base into CLI and Base so that Artii can be used outside of the command-line script (Colin Mitchell)
|
67
|
+
* split Base into CLI and Base so that Artii can be used outside of the command-line app (Colin Mitchell)
|
68
|
+
|
69
|
+
=== 2.0.1 / 2012-05-05
|
70
|
+
* Bug fixes
|
71
|
+
|
72
|
+
* Regenerate gemspec for version 2.0.1 (Mike Tierney)
|
73
|
+
* Version bump to 2.0.1 (Mike Tierney)
|
74
|
+
* Don't require artii to install artii. Fix #3. (Mike Tierney)
|
75
|
+
|
76
|
+
=== 2.0.2 / 2012-09-05
|
77
|
+
|
78
|
+
* Update dependencies
|
79
|
+
|
80
|
+
* Update gem dependencies, bump patch version. (Mike Tierney)
|
81
|
+
* Version bump to 2.0.2 (Mike Tierney)
|
82
|
+
|
83
|
+
=== 2.0.3 / 2012-09-05
|
84
|
+
|
85
|
+
* Add '-v' CLI option to print out the current Gem version
|
86
|
+
|
87
|
+
* Add CLI support for `-v` and `--version` flags. (Mike Tierney)
|
88
|
+
* Lots of updates to the History.txt file (Mike Tierney)
|
data/README.rdoc
CHANGED
@@ -51,7 +51,6 @@ None
|
|
51
51
|
|
52
52
|
== TODO
|
53
53
|
|
54
|
-
- CLI should support "-v" or "--version" (or both) option to print out currently active Artii version
|
55
54
|
- Allow integrated objects to accept a print out a pre-defined text value
|
56
55
|
- Ability to load non *.flf files (fonts are available, .flc file-types seem to be an issue right now)
|
57
56
|
- Ability to set custom configurations, so you don't have to constantly set the options (like font) unless you want to
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.3
|
data/artii.gemspec
CHANGED
data/lib/artii/base.rb
CHANGED
data/lib/artii/cli.rb
CHANGED
data/spec/artii/cli_spec.rb
CHANGED
@@ -71,6 +71,20 @@ describe Artii::CLI do
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
describe "version" do
|
75
|
+
it "should output the version" do
|
76
|
+
gemspec = Gem::Specification::load 'artii.gemspec'
|
77
|
+
version = gemspec.version.to_s
|
78
|
+
|
79
|
+
a1 = Artii::CLI.new '-v'
|
80
|
+
a1.output.should_not be_empty
|
81
|
+
a1.output.should == version
|
82
|
+
|
83
|
+
a2 = Artii::CLI.new '--version'
|
84
|
+
a2.output.should_not be_empty
|
85
|
+
a2.output.should == version
|
86
|
+
end
|
87
|
+
end
|
74
88
|
describe "#asciify" do
|
75
89
|
it "should produce an output" do
|
76
90
|
a = Artii::CLI.new 'hello world'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artii
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -789,7 +789,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
789
789
|
version: '0'
|
790
790
|
segments:
|
791
791
|
- 0
|
792
|
-
hash: -
|
792
|
+
hash: -4057458999752423743
|
793
793
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
794
794
|
none: false
|
795
795
|
requirements:
|