Module: Officetxt
- Defined in:
- lib/officetxt.rb,
lib/officetxt/version.rb
Constant Summary collapse
- MAJOR =
todo: namespace inside version or something - why? why not??
0- MINOR =
1- PATCH =
1- VERSION =
[MAJOR,MINOR,PATCH].join('.')
Class Method Summary collapse
Class Method Details
.about ⇒ Object
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 |
# File 'lib/officetxt.rb', line 47 def self.about puts puts puts "Welcome to officetxt/#{Officetxt::VERSION}:" puts puts "Tool versions installed:" puts " journaltxt/#{Journaltxt::VERSION}" puts " jekyll/#{Jekyll::VERSION}" puts " jekyll-import/#{JekyllImport::VERSION}" puts " jekyll-avatar/#{Jekyll::Avatar::VERSION}" puts " jekyll-planet/#{JekyllPlanet::VERSION}" =begin puts " jekyll-feed/#{Jekyll::Feed::VERSION}" no: version in ruby just in gemspec e.g. Gem::Specification.new do |spec| spec.name = "jekyll-feed" spec.version = "0.9.2" todo: try to get info from gemspec?? =end =begin ## fix Octopod puts " jekyll-octopod/#{Jekyll::Octopod::VERSION}" C:/prg/ri/v310/Ruby2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:68:in `require': C:/prg/ri/v310/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jekyll-octopod-0.9.0/lib/jekyll/podigee_player_tag.rb:32: void value expression (SyntaxError) C:/prg/ri/v310/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jekyll-octopod-0.9.0/lib/jekyll/podigee_player_tag.rb:33: syntax error, unexpected '<', expecting keyword_end <script> ^ C:/prg/ri/v310/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jekyll-octopod-0.9.0/lib/jekyll/podigee_player_tag.rb:35: syntax error, unexpected '<' </script> ^ C:/prg/ri/v310/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jekyll-octopod-0.9.0/lib/jekyll/podigee_player_tag.rb:37: syntax error, unexpected tSTRING_BEG, expecting keyword_end ...ipts/podigee-podcast-player.js"> ... ^ C:/prg/ri/v310/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/jekyll-octopod-0.9.0/lib/jekyll/podigee_player_tag.rb:37: unterminated string meets end of file =end puts " mrhyde/#{MrHyde::VERSION}" puts " drjekyll/#{DrJekyll::VERSION}" puts " octopod/#{Jekyll::Octopod::VERSION::STRING}" puts " slideshow/#{SlideshowCli::VERSION}" ## note: Slideshow::VERSION is for models puts " pluto/#{PlutoCli::VERSION}" ## note: Pluto::VERSION is for models puts " rouge/#{Rouge.version}" ## incl. rougify puts " kramdown/#{Kramdown::VERSION}" puts " word-to-markdown/#{WordToMarkdown::VERSION}" # incl. w2m puts " quik/#{Quik::VERSION}" ### todo: ## (auto-)issue list commands for: !!!!!!!!!! ## drjekyll ## mrhyde ## slideshow ## pluto ## quik ### ## ## fix: hexapdf requires Ruby version >= 2.3. ## puts " hexapdf/#{HexaPDF::VERSION}" end |
.banner ⇒ Object
13 14 15 |
# File 'lib/officetxt/version.rb', line 13 def self. "officetxt/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]" end |
.root ⇒ Object
17 18 19 |
# File 'lib/officetxt/version.rb', line 17 def self.root "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}" end |
.version ⇒ Object
9 10 11 |
# File 'lib/officetxt/version.rb', line 9 def self.version VERSION end |