rahoulb-rujitsu 0.1.3 → 0.1.4
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/CHANGELOG +5 -1
- data/README.rdoc +21 -2
- data/Rakefile +1 -1
- data/lib/rujitsu/grammar.rb +12 -0
- data/rujitsu.gemspec +4 -4
- metadata +4 -2
data/CHANGELOG
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
+
= Version 0.1.4 (2008-11-27)
|
2
|
+
|
3
|
+
Added the grammar section
|
4
|
+
|
1
5
|
= Version 0.1.3 (2008-11-24)
|
2
6
|
|
3
7
|
Cleaned up invalid characters
|
4
|
-
Refactored generate_random_string_using method
|
8
|
+
Refactored generate_random_string_using method (thanks to zachinglis)
|
5
9
|
|
6
10
|
= Version 0.1.2 (2008-11-24)
|
7
11
|
|
data/README.rdoc
CHANGED
@@ -1,11 +1,24 @@
|
|
1
1
|
= rujitsu
|
2
2
|
|
3
|
-
A
|
3
|
+
A ruby gem with various helper methods to smooth out your Ruby development.
|
4
4
|
|
5
5
|
== Install
|
6
6
|
|
7
7
|
gem install rahoulb-rujitsu --source http://gems.github.com
|
8
8
|
|
9
|
+
== Including
|
10
|
+
|
11
|
+
require "rujitsu"
|
12
|
+
require "rujitsu/grammar"
|
13
|
+
|
14
|
+
=== Rails
|
15
|
+
|
16
|
+
To require in rails 2.2, add the following to your +environment.rb+ file.
|
17
|
+
|
18
|
+
config.gem "rahoulb-rujitsu", :lib => "rujitsu", :source => "http://gems.github.com"
|
19
|
+
config.gem "rahoulb-rujitsu", :lib => "rujitsu/grammar", :source => "http://gems.github.com"
|
20
|
+
|
21
|
+
|
9
22
|
== Usage
|
10
23
|
|
11
24
|
=== Generating random strings
|
@@ -27,7 +40,13 @@ This generates a string of random letters whose length is 3, 4 or 5 characters.
|
|
27
40
|
The String class has an extension that strips out URL-unfriendly characters.
|
28
41
|
|
29
42
|
""$%hello!@ 123 there'".to_url # => "hello-123-there"
|
30
|
-
|
43
|
+
|
44
|
+
|
45
|
+
=== Grammar
|
46
|
+
|
47
|
+
So far the grammar library just adds the method +should_recieve+ for rspec assertions. Use it to find out what it does!
|
48
|
+
|
49
|
+
|
31
50
|
== Released under the MIT Licence
|
32
51
|
|
33
52
|
Copyright (c) 2008 Brightbox Systems Ltd
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('rujitsu', '0.1.
|
5
|
+
Echoe.new('rujitsu', '0.1.4') do | config |
|
6
6
|
config.description = 'Various helper methods to smooth over Ruby development'
|
7
7
|
config.url = 'http://github.com/rahoub/rujitsu'
|
8
8
|
config.author = 'Brightbox Systems Ltd'
|
data/rujitsu.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{rujitsu}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Brightbox Systems Ltd"]
|
9
|
-
s.date = %q{2008-11-
|
9
|
+
s.date = %q{2008-11-28}
|
10
10
|
s.description = %q{Various helper methods to smooth over Ruby development}
|
11
11
|
s.email = %q{hello@brightbox.co.uk}
|
12
|
-
s.extra_rdoc_files = ["CHANGELOG", "lib/rujitsu.rb", "README.rdoc", "tasks/rspec.rake"]
|
13
|
-
s.files = ["CHANGELOG", "lib/rujitsu.rb", "Manifest", "Rakefile", "README.rdoc", "rujitsu.gemspec", "spec/fixnum_spec.rb", "spec/numeric_spec.rb", "spec/range_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/string_spec.rb", "tasks/rspec.rake"]
|
12
|
+
s.extra_rdoc_files = ["CHANGELOG", "lib/rujitsu/grammar.rb", "lib/rujitsu.rb", "README.rdoc", "tasks/rspec.rake"]
|
13
|
+
s.files = ["CHANGELOG", "lib/rujitsu/grammar.rb", "lib/rujitsu.rb", "Manifest", "Rakefile", "README.rdoc", "rujitsu.gemspec", "spec/fixnum_spec.rb", "spec/numeric_spec.rb", "spec/range_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "spec/string_spec.rb", "tasks/rspec.rake"]
|
14
14
|
s.has_rdoc = true
|
15
15
|
s.homepage = %q{http://github.com/rahoub/rujitsu}
|
16
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Rujitsu", "--main", "README.rdoc"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rahoulb-rujitsu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brightbox Systems Ltd
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-28 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -21,11 +21,13 @@ extensions: []
|
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- CHANGELOG
|
24
|
+
- lib/rujitsu/grammar.rb
|
24
25
|
- lib/rujitsu.rb
|
25
26
|
- README.rdoc
|
26
27
|
- tasks/rspec.rake
|
27
28
|
files:
|
28
29
|
- CHANGELOG
|
30
|
+
- lib/rujitsu/grammar.rb
|
29
31
|
- lib/rujitsu.rb
|
30
32
|
- Manifest
|
31
33
|
- Rakefile
|