ric 0.9.4c → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Manifest CHANGED
@@ -1,14 +1,13 @@
1
- HISTORY
2
1
  Manifest
3
- README
2
+ README.md
4
3
  Rakefile
5
4
  TODO
6
5
  bin/ric
7
- docs/journal.txt
8
6
  init.rb
9
7
  lib/helpers/rails_helper.rb
10
8
  lib/ric.rb
11
9
  lib/ric/colors.rb
12
10
  lib/ric/html.rb
13
11
  lib/uniquify.rb
12
+ ric.gemspec
14
13
  var/www/index.html
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+
2
+ # Ric (Lib)
3
+ <img src="https://github.com/palladius/riclib/raw/master/images/photos/Riccardo/Riccardo%20OnBedWithPenguin.jpg" width="300" alt="Sleeping with my Penguin" align='right' />
4
+
5
+ This is [my](http://www.palladius.it/) first public repository with icons code and stuff.
6
+
7
+ Modern life is RUBYish, so am I ;-)
8
+
9
+ * [ric](http://rubygems.org/gems/ric)
10
+ * [Riclib](http://github.com/palladius/riclib)
11
+
12
+ ## Installation
13
+
14
+ To use Ric in a Rails 3 application:
15
+
16
+ 1. Require it in the Gemfile: `gem 'ric'`
17
+
18
+ 2. Install it by running `bundle install`.
19
+
20
+ ## Contributors
21
+
22
+ * [Riccardo Carlesso](http://github.com/palladius)
23
+
24
+ ## Copyright & License
25
+
26
+ Ric is Copyright (c) 2010-11 [Riccardo Carlesso](http://www.palladius.it/), and is released under GPLv3 license.
27
+
data/Rakefile CHANGED
@@ -2,16 +2,20 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('ric', '0.9.4c') do |p|
5
+ Echoe.new('ric', '0.9.5') do |p|
6
6
  p.description = "My first gem with various utilities (colors and tests now).
7
7
  My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence
8
8
  with hence!)"
9
9
  p.url = "http://github.com/palladius/riclib"
10
10
  p.author = "Riccardo Carlesso"
11
11
  p.email = "['p','ll','diusbonton].join('a') @ gmail.com"
12
- p.ignore_pattern = ["tmp/*", "script/*",
12
+ p.ignore_pattern = [
13
+ "tmp/*",
14
+ "docs/*",
15
+ "script/*",
13
16
  "images/*/*/*", "images/*/*", 'images',
14
- "private/*"
17
+ "private/*",
18
+ "HISTORY"
15
19
  ]
16
20
  p.development_dependencies = [ ]
17
21
  end
data/init.rb CHANGED
@@ -1,8 +1,11 @@
1
1
  #require 'lib/ric/color'
2
- require 'uniquify'
3
2
  require 'ric'
4
- include Ric
5
-
3
+ require 'ric/colors'
4
+ require 'ric/html'
5
+ require 'uniquify'
6
+ #include Ric
7
+ #include Ric::Html
8
+ #include Ric::Colors
6
9
 
7
10
  #require 'rails_stuff'
8
11
  #require 'doesnt_exist'
data/lib/ric.rb CHANGED
@@ -1,13 +1,10 @@
1
1
 
2
2
  # RICLIB!
3
3
  module Ric
4
-
5
- #include Ric::Colors
6
4
 
7
5
  def self.say_hello
8
- puts 'Riclib: hello world'
6
+ puts "Ric: Hello world by #{yellow 'Riccardo Carlesso' rescue 'Riccardo Carlesso Error'}"
9
7
  end
10
-
11
8
 
12
9
  def self.ric_help
13
10
  ret <<-HTML
@@ -28,13 +25,9 @@ module Ric
28
25
  def self.version
29
26
  '(Wet) 0.9.1' # its NOT dry (yet)! Someone help with Gem version!
30
27
  end
31
-
32
- def load_libs
33
- green(:ok)
34
- end
35
-
28
+
36
29
  # you can require more than one gem and a symbol as well :)
37
- def richiedi(gems)
30
+ def self.richiedi(gems)
38
31
  puts "Riccardo personal super-'require'.. "
39
32
  case gems.class.to_s
40
33
  when 'String'
@@ -45,4 +38,5 @@ module Ric
45
38
  return require gems.to_s
46
39
  end
47
40
  end
41
+
48
42
  end
data/lib/ric/colors.rb CHANGED
@@ -296,6 +296,4 @@ end
296
296
 
297
297
  end # /module
298
298
 
299
- include RicColors
300
-
301
299
  #$colors_active = ! RicColor.daltonic_terminal? # DEFAULT: active
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.9.4c"
5
+ s.version = "0.9.5"
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"]
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
13
13
  with hence!)}
14
14
  s.email = %q{['p','ll','diusbonton].join('a') @ gmail.com}
15
15
  s.executables = ["ric"]
16
- s.extra_rdoc_files = ["README", "TODO", "bin/ric", "lib/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/html.rb", "lib/uniquify.rb"]
17
- s.files = ["HISTORY", "Manifest", "README", "Rakefile", "TODO", "bin/ric", "docs/journal.txt", "init.rb", "lib/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/html.rb", "lib/uniquify.rb", "var/www/index.html", "ric.gemspec"]
16
+ s.extra_rdoc_files = ["README.md", "TODO", "bin/ric", "lib/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/html.rb", "lib/uniquify.rb"]
17
+ s.files = ["Manifest", "README.md", "Rakefile", "TODO", "bin/ric", "init.rb", "lib/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/html.rb", "lib/uniquify.rb", "ric.gemspec", "var/www/index.html"]
18
18
  s.homepage = %q{http://github.com/palladius/riclib}
19
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ric", "--main", "README"]
19
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ric", "--main", "README.md"]
20
20
  s.require_paths = ["lib"]
21
21
  s.rubyforge_project = %q{ric}
22
22
  s.rubygems_version = %q{1.4.2}
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: 112
5
- prerelease: 5
4
+ hash: 49
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 4
10
- - c
11
- version: 0.9.4c
9
+ - 5
10
+ version: 0.9.5
12
11
  platform: ruby
13
12
  authors:
14
13
  - Riccardo Carlesso
@@ -30,7 +29,7 @@ executables:
30
29
  extensions: []
31
30
 
32
31
  extra_rdoc_files:
33
- - README
32
+ - README.md
34
33
  - TODO
35
34
  - bin/ric
36
35
  - lib/helpers/rails_helper.rb
@@ -39,21 +38,19 @@ extra_rdoc_files:
39
38
  - lib/ric/html.rb
40
39
  - lib/uniquify.rb
41
40
  files:
42
- - HISTORY
43
41
  - Manifest
44
- - README
42
+ - README.md
45
43
  - Rakefile
46
44
  - TODO
47
45
  - bin/ric
48
- - docs/journal.txt
49
46
  - init.rb
50
47
  - lib/helpers/rails_helper.rb
51
48
  - lib/ric.rb
52
49
  - lib/ric/colors.rb
53
50
  - lib/ric/html.rb
54
51
  - lib/uniquify.rb
55
- - var/www/index.html
56
52
  - ric.gemspec
53
+ - var/www/index.html
57
54
  has_rdoc: true
58
55
  homepage: http://github.com/palladius/riclib
59
56
  licenses: []
@@ -65,7 +62,7 @@ rdoc_options:
65
62
  - --title
66
63
  - Ric
67
64
  - --main
68
- - README
65
+ - README.md
69
66
  require_paths:
70
67
  - lib
71
68
  required_ruby_version: !ruby/object:Gem::Requirement
data/HISTORY DELETED
@@ -1,3 +0,0 @@
1
- # would like to have this in YML format :)
2
- 2011-01-16 v0.9.2:
3
- - Added uniquify from rbates just to copy it.
data/README DELETED
@@ -1,18 +0,0 @@
1
-
2
- = Synopsis =
3
- This is my public repository with icons code and stuff.
4
-
5
- Modern life is RUBYish, so am I ;-)
6
-
7
- ‘At the moment, this is a public place where I store shared resources such as icons and stuff.. Lets try to keep it well organized, for DHH sake!
8
-
9
-
10
- == Usage ==
11
-
12
- gem install riclib
13
-
14
- Some code to take advantage of my script (are you sure?!?)
15
-
16
- require 'riclib'
17
- puts(red('This is a red sentence'))
18
-
data/docs/journal.txt DELETED
@@ -1,16 +0,0 @@
1
-
2
- = GEMS HOWTO =
3
-
4
- Copied from: http://buzaz.com/index.php/2010/01/03/how-to-build-a-ruby-gem/
5
-
6
- == develop ==
7
-
8
- - edit Rakefile
9
- - rake -T # for a list
10
- - rake manifest ; rake build_gemspec
11
-
12
- == deploy ==
13
-
14
- rake release
15
-
16
- # Its pushed on gemcutter, yay!