ric 0.11.19 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ # Scopiazzed from Gruff gem
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in sakura.gemspec
6
+ #gemspec
7
+ gem 'echoe'
8
+ gem 'activesupport'
9
+ gem 'activeresource'
10
+
11
+ group :test do
12
+ gem 'rake'
13
+ gem 'echoe'
14
+ end
15
+
@@ -1,4 +1,8 @@
1
1
  # would like to have this in YML format :)
2
+ 2011-10-05 v0.12.0:
3
+ - Requiring at Gemfile level some libraries (such as active_resource), so I can DRY the requirement in scripts... ;)
4
+ 2012-11-25 v0.11.20:
5
+ - added Gemfile and Travios, now it compiles better.
2
6
  2011-10-05 v0.11.19:
3
7
  - moved itunes to itunes.rb (itunes ships now with sakura!)
4
8
  2011-10-05 v0.11.18:
@@ -0,0 +1,8 @@
1
+
2
+ # Makefile before I learn how to use a Rakefile appropriately :P
3
+
4
+ deploy:
5
+ sbin/rake-deploy1.sh
6
+
7
+ clean:
8
+ rm -rf pkg/ doc/
data/Manifest CHANGED
@@ -1,10 +1,13 @@
1
1
  CHANGELOG
2
+ Gemfile
2
3
  HISTORY.yml
3
4
  LICENSE
5
+ Makefile
4
6
  Manifest
5
7
  README.md
6
8
  Rakefile
7
9
  TODO
10
+ TODO-rake-deploy.touch
8
11
  VERSION
9
12
  bin/itunes.rb
10
13
  bin/ric
@@ -25,6 +28,8 @@ lib/ruby_classes/arrays.rb
25
28
  lib/ruby_classes/strings.rb
26
29
  lib/tmp/uniquify.rb
27
30
  rails/init.rb
31
+ sbin/rake-deploy1.sh
32
+ sbin/rake-deploy2.sh
28
33
  sbin/reboot.rb
29
34
  sbin/ric_reboot.rb
30
35
  test/sample_conf.yml
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Ric
2
2
 
3
+ [![Build Status](https://secure.travis-ci.org/palladius/ric.png)](http://travis-ci.org/palladius/ric)
4
+
3
5
  <img src="https://github.com/palladius/ric/raw/master/images/photos/Riccardo/Riccardo%20OnBedWithPenguin.jpg" width="300" alt="Sleeping with my Penguin" align='right' />
4
6
 
5
7
  Welcome to ''ric'' (formerly known as 'riclib').
@@ -32,4 +34,4 @@ To use Ric in a Rails 3 application:
32
34
 
33
35
  Ric is Copyright (c) 2011-11 [Riccardo Carlesso](http://www.palladius.it/), and is released under GPLv3 license.
34
36
 
35
- <font color='red'>Notice</font>. Use this gem and perfect it (as if it was difficult!) and please come back to me with suggestions!
37
+ <font color='red'>Notice</font>. Use this gem and perfect it (as if it was difficult!) and please come back to me with suggestions!
data/Rakefile CHANGED
@@ -10,6 +10,7 @@ Echoe.new('ric', version ) do |p|
10
10
  with hence!)"
11
11
  p.url = "http://github.com/palladius/ric"
12
12
  p.author = "Riccardo Carlesso"
13
+ #p.license = "See https://github.com/palladius/ric/blob/master/LICENSE"
13
14
  p.email = "['p','ll','diusbonton].join('a') @ gmail.com"
14
15
  p.ignore_pattern = [
15
16
  "tmp/*",
@@ -28,7 +29,7 @@ end
28
29
  #### RAKE TEST
29
30
  require 'rake'
30
31
  require 'rake/testtask'
31
- require 'rake/rdoctask'
32
+ require 'rdoc/task'
32
33
 
33
34
  desc 'Default: run unit tests.'
34
35
  task :default => :test
@@ -50,3 +51,15 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
50
51
  rdoc.rdoc_files.include('HISTORY.yml')
51
52
  rdoc.rdoc_files.include('lib/**/*.rb')
52
53
  end
54
+
55
+ desc 'Deploys new version of gem'
56
+ #task :default => :test
57
+ namespace :deploy do
58
+ # I think it'd be smarter to do some
59
+ # task :manifest
60
+ # task :build_gemspec
61
+ # But I dont know how to do that :)
62
+ #system 'rake manifest && rake build_gemspec && echo built ok'
63
+ puts "TODO deploy gem to rubygems..."
64
+ system 'touch TODO-rake-deploy.touch'
65
+ end
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.19
1
+ 0.12.0
@@ -38,7 +38,7 @@
38
38
  require 'optparse'
39
39
  require 'rubygems'
40
40
  require 'ric'
41
- require 'active_resource'
41
+ #require 'active_resource' # not needed anymore, after ric gem v0.12.0
42
42
  require 'socket'
43
43
 
44
44
  include RubyClasses::Array
@@ -2,21 +2,21 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ric"
5
- s.version = "0.11.19"
5
+ s.version = "0.12.0"
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"]
9
- s.date = "2011-12-11"
9
+ s.date = "2012-11-25"
10
10
  s.description = "My first gem with various utilities (colors and tests now). \n My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence\n with hence!)"
11
11
  s.email = "['p','ll','diusbonton].join('a') @ gmail.com"
12
12
  s.executables = ["itunes.rb", "ric", "riclib-test", "septober", "xcopy"]
13
- s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "TODO", "bin/itunes.rb", "bin/ric", "bin/riclib-test", "bin/septober", "bin/xcopy", "lib/rails/acts_as_carlesso.rb", "lib/rails/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/conf.rb", "lib/ric/debug.rb", "lib/ric/files.rb", "lib/ric/html.rb", "lib/ric/zibaldone.rb", "lib/ruby_classes/arrays.rb", "lib/ruby_classes/strings.rb", "lib/tmp/uniquify.rb"]
14
- s.files = ["CHANGELOG", "HISTORY.yml", "LICENSE", "Manifest", "README.md", "Rakefile", "TODO", "VERSION", "bin/itunes.rb", "bin/ric", "bin/riclib-test", "bin/septober", "bin/xcopy", "init.rb", "lib/rails/acts_as_carlesso.rb", "lib/rails/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/conf.rb", "lib/ric/debug.rb", "lib/ric/files.rb", "lib/ric/html.rb", "lib/ric/zibaldone.rb", "lib/ruby_classes/arrays.rb", "lib/ruby_classes/strings.rb", "lib/tmp/uniquify.rb", "rails/init.rb", "sbin/reboot.rb", "sbin/ric_reboot.rb", "test/sample_conf.yml", "test/strings_helper.rb", "test/test_helper.rb", "var/www/index.html", "ric.gemspec"]
13
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "TODO", "TODO-rake-deploy.touch", "bin/itunes.rb", "bin/ric", "bin/riclib-test", "bin/septober", "bin/xcopy", "lib/rails/acts_as_carlesso.rb", "lib/rails/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/conf.rb", "lib/ric/debug.rb", "lib/ric/files.rb", "lib/ric/html.rb", "lib/ric/zibaldone.rb", "lib/ruby_classes/arrays.rb", "lib/ruby_classes/strings.rb", "lib/tmp/uniquify.rb"]
14
+ s.files = ["CHANGELOG", "Gemfile", "HISTORY.yml", "LICENSE", "Makefile", "Manifest", "README.md", "Rakefile", "TODO", "TODO-rake-deploy.touch", "VERSION", "bin/itunes.rb", "bin/ric", "bin/riclib-test", "bin/septober", "bin/xcopy", "init.rb", "lib/rails/acts_as_carlesso.rb", "lib/rails/helpers/rails_helper.rb", "lib/ric.rb", "lib/ric/colors.rb", "lib/ric/conf.rb", "lib/ric/debug.rb", "lib/ric/files.rb", "lib/ric/html.rb", "lib/ric/zibaldone.rb", "lib/ruby_classes/arrays.rb", "lib/ruby_classes/strings.rb", "lib/tmp/uniquify.rb", "rails/init.rb", "sbin/rake-deploy1.sh", "sbin/rake-deploy2.sh", "sbin/reboot.rb", "sbin/ric_reboot.rb", "test/sample_conf.yml", "test/strings_helper.rb", "test/test_helper.rb", "var/www/index.html", "ric.gemspec"]
15
15
  s.homepage = "http://github.com/palladius/ric"
16
16
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ric", "--main", "README.md"]
17
17
  s.require_paths = ["lib"]
18
18
  s.rubyforge_project = "ric"
19
- s.rubygems_version = "1.8.11"
19
+ s.rubygems_version = "1.8.18"
20
20
  s.summary = "My first gem with various utilities (colors and tests now). My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence with hence!)"
21
21
  s.test_files = ["test/test_helper.rb"]
22
22
 
@@ -0,0 +1,9 @@
1
+ #!/bin/sh
2
+
3
+ echo Trying to deploy my gem...
4
+
5
+ set -x
6
+
7
+ rake build &&
8
+ rake release &&
9
+ echo Correctly built and deployed version 1
@@ -0,0 +1,11 @@
1
+ #!/bin/sh
2
+
3
+ echo Trying to deploy my gem...
4
+
5
+ set -x
6
+
7
+ # Deploy version 2
8
+ rake manifest &&
9
+ rake release &&
10
+ rake publish_docs &&
11
+ echo Correctly deployed and documented version 2
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ric
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 11
9
- - 19
10
- version: 0.11.19
8
+ - 12
9
+ - 0
10
+ version: 0.12.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Riccardo Carlesso
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-11 00:00:00 Z
18
+ date: 2012-11-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activeresource
@@ -77,6 +77,7 @@ extra_rdoc_files:
77
77
  - LICENSE
78
78
  - README.md
79
79
  - TODO
80
+ - TODO-rake-deploy.touch
80
81
  - bin/itunes.rb
81
82
  - bin/ric
82
83
  - bin/riclib-test
@@ -96,12 +97,15 @@ extra_rdoc_files:
96
97
  - lib/tmp/uniquify.rb
97
98
  files:
98
99
  - CHANGELOG
100
+ - Gemfile
99
101
  - HISTORY.yml
100
102
  - LICENSE
103
+ - Makefile
101
104
  - Manifest
102
105
  - README.md
103
106
  - Rakefile
104
107
  - TODO
108
+ - TODO-rake-deploy.touch
105
109
  - VERSION
106
110
  - bin/itunes.rb
107
111
  - bin/ric
@@ -122,6 +126,8 @@ files:
122
126
  - lib/ruby_classes/strings.rb
123
127
  - lib/tmp/uniquify.rb
124
128
  - rails/init.rb
129
+ - sbin/rake-deploy1.sh
130
+ - sbin/rake-deploy2.sh
125
131
  - sbin/reboot.rb
126
132
  - sbin/ric_reboot.rb
127
133
  - test/sample_conf.yml
@@ -164,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
170
  requirements: []
165
171
 
166
172
  rubyforge_project: ric
167
- rubygems_version: 1.8.11
173
+ rubygems_version: 1.8.18
168
174
  signing_key:
169
175
  specification_version: 3
170
176
  summary: My first gem with various utilities (colors and tests now). My name is Riccardo, hence 'ric' (ok I admit it, this was just ot prove Im able to build a sentence with hence!)