ric 0.10.2alpha → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.2alpha
1
+ 0.10.3
data/bin/ric CHANGED
@@ -15,7 +15,7 @@ def main
15
15
  puts "Welcome to ric, the swiss-army knife tool from Riccardo,\n included in riclib gem (version=#{ver})"
16
16
  pyellow 'ciao' rescue "Errors with color yellow: #{$!}"
17
17
  Ric::Zibaldone.say_hello()
18
-
18
+ #Ric::Html.anything_to_html( {:simbolo => 'stringa' } )
19
19
  end
20
20
 
21
- main
21
+ main
data/lib/ric/html.rb CHANGED
@@ -6,8 +6,8 @@ module Ric
6
6
  end
7
7
 
8
8
  # REMOVE ME!
9
- def anything_to_html(son,opts={})
10
- ret = '(RailsHelper :: anything_to_html)' if opts.fetch(:verbose,true) # TODO change dflt to false
9
+ def self.anything_to_html(son,opts={})
10
+ ret = '(Ric::Html.anything_to_html)' if opts.fetch(:verbose,true) # TODO change dflt to false
11
11
  if opts != {}
12
12
  ret << "(Options: " + anything_to_html(opts) + ")"
13
13
  end
data/lib/ric/zibaldone.rb CHANGED
@@ -3,14 +3,14 @@
3
3
  module Ric
4
4
  module Zibaldone
5
5
 
6
-
7
6
  def self.gemdir
8
7
  File.dirname( File.dirname(__FILE__) + '/../../..' ) # Im in lib/ric/zibaldone.rb
9
8
  end
10
9
 
11
10
  def self.version
12
11
  # TODO memoize/cache this into @@version
13
- File.read( File.expand_path('VERSION' , gemdir() ) )
12
+ ver = File.read( File.expand_path('VERSION' , gemdir() ) )
13
+ "(v.#{ver})" # for debug
14
14
  end
15
15
 
16
16
  def self.say_hello
data/ric.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ric}
5
- s.version = "0.10.2alpha"
5
+ s.version = "0.10.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Riccardo Carlesso"]
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ric
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1851332122
5
- prerelease: 6
4
+ hash: 49
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 10
9
- - 2
10
- - alpha
11
- version: 0.10.2alpha
9
+ - 3
10
+ version: 0.10.3
12
11
  platform: ruby
13
12
  authors:
14
13
  - Riccardo Carlesso