extended_string 0.1.5 → 0.1.6

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.
Files changed (4) hide show
  1. data/README.rdoc +64 -64
  2. data/VERSION +1 -1
  3. data/extended_string.gemspec +1 -1
  4. metadata +3 -3
data/README.rdoc CHANGED
@@ -1,119 +1,119 @@
1
1
  = extended_string
2
2
 
3
- Intention for this gem is to follow step by step how to create the very gem from the scratch. It will add one method to
3
+ Intention for this gem is to follow step by step how to create the very gem from the scratch. It will add one method to
4
4
  standard String class. I intend to put some tests, release couple of versions, and so on...
5
5
 
6
6
  == Preconfig
7
7
 
8
8
  === Install Rails
9
9
 
10
- I do prefer using rvm for this task, but it can be done as it is. If you know how to use rvm, then you will not
11
- need any guidance.
10
+ I do prefer using rvm for this task, but it can be done as it is. If you know how to use rvm, then you will not
11
+ need any guidance.
12
12
 
13
- gem install rails --no-ri --no-rdoc
14
- gem install jeweler
13
+ gem install rails --no-ri --no-rdoc
14
+ gem install jeweler
15
15
 
16
- Currently I'm working on version 3.0.1
16
+ Currently I'm working on version 3.0.1
17
17
 
18
18
  === Configure Git
19
- You need to configure some git settings, before you use jeweler to create first gem.
19
+ You need to configure some git settings, before you use jeweler to create first gem.
20
20
 
21
- git config --global github.user m4risU
22
- git config --global github.token 227addfh048cgfbbda2060dc8e9233a6 (don't worry, this is not my key, but you have
23
- to use yours)
24
- Probably you will find it in here:
21
+ git config --global github.user m4risU
22
+ git config --global github.token 227addfh048cgfbbda2060dc8e9233a6 (don't worry, this is not my key, but you have
23
+ to use yours)
24
+ Probably you will find it in here:
25
25
 
26
26
  https://github.com/account in Account Admin
27
27
 
28
28
  === Generate the gem project
29
29
 
30
- jeveler enhanced_string
30
+ jeveler enhanced_string
31
31
 
32
- Good. We are here! What can we do next?
32
+ Good. We are here! What can we do next?
33
33
 
34
34
  === Rake tasks
35
35
 
36
- As I already know, rake tasks will be the key to build the gem. so lets try
37
-
38
- rake -T
39
-
40
- It will give the following
41
-
42
- rake build # Build gem
43
- rake check_dependencies # Check that runtime and development d...
44
- rake check_dependencies:development # Check that development dependencies ...
45
- rake check_dependencies:runtime # Check that runtime dependencies are ...
46
- rake clobber_rdoc # Remove rdoc products
47
- rake gemcutter:release # Release gem to Gemcutter
48
- rake gemspec # Generate and validates gemspec
49
- rake gemspec:debug # Display the gemspec for debugging pu...
50
- rake gemspec:generate # Generates the gemspec, using version...
51
- rake gemspec:validate # Validates the gemspec
52
- rake git:release # Tag a release in Git
53
- rake github:release # Release Gem to GitHub
54
- rake install # Install gem using sudo
55
- rake rdoc # Build the rdoc HTML Files
56
- rake release # Release gem
57
- rake rerdoc # Force a rebuild of the RDOC files
58
- rake test # Run tests
59
- rake version # Displays the current version
60
- rake version:bump:major # Bump the gemspec by a major version.
61
- rake version:bump:minor # Bump the gemspec by a minor version.
62
- rake version:bump:patch # Bump the gemspec by a patch version.
63
- rake version:write # Writes out an explicit version.
36
+ As I already know, rake tasks will be the key to build the gem. so lets try
37
+
38
+ rake -T
39
+
40
+ It will give the following
41
+
42
+ rake build # Build gem
43
+ rake check_dependencies # Check that runtime and development d...
44
+ rake check_dependencies:development # Check that development dependencies ...
45
+ rake check_dependencies:runtime # Check that runtime dependencies are ...
46
+ rake clobber_rdoc # Remove rdoc products
47
+ rake gemcutter:release # Release gem to Gemcutter
48
+ rake gemspec # Generate and validates gemspec
49
+ rake gemspec:debug # Display the gemspec for debugging pu...
50
+ rake gemspec:generate # Generates the gemspec, using version...
51
+ rake gemspec:validate # Validates the gemspec
52
+ rake git:release # Tag a release in Git
53
+ rake github:release # Release Gem to GitHub
54
+ rake install # Install gem using sudo
55
+ rake rdoc # Build the rdoc HTML Files
56
+ rake release # Release gem
57
+ rake rerdoc # Force a rebuild of the RDOC files
58
+ rake test # Run tests
59
+ rake version # Displays the current version
60
+ rake version:bump:major # Bump the gemspec by a major version.
61
+ rake version:bump:minor # Bump the gemspec by a minor version.
62
+ rake version:bump:patch # Bump the gemspec by a patch version.
63
+ rake version:write # Writes out an explicit version.
64
64
 
65
65
  === Install the gem locally
66
66
 
67
- To do this we need to write the very first version.
67
+ To do this we need to write the very first version.
68
68
 
69
- rake version:write MAJOR=0 MINOR=1 PATCH=0
69
+ rake version:write MAJOR=0 MINOR=1 PATCH=0
70
70
 
71
- and after that
71
+ and after that
72
72
 
73
- rake install
73
+ rake install
74
74
 
75
75
  === First issues
76
76
 
77
- After previous line I run into following problem:
77
+ After previous line I run into following problem:
78
78
 
79
- "FIXME" or "TODO" is not a description
79
+ "FIXME" or "TODO" is not a description
80
80
 
81
- Oh, yes! I didn't look carefully on Rakefile file.
81
+ Oh, yes! I didn't look carefully on Rakefile file.
82
82
 
83
- There was auot generated line: s.description = %q{TODO: longer description of your gem}
84
- You know how to fix it I hope :)
83
+ There was auot generated line: s.description = %q{TODO: longer description of your gem}
84
+ You know how to fix it I hope :)
85
85
 
86
86
  === RVM and system rubies
87
87
 
88
- When using rvm, it is enough, but in other cases, it is possible you will need to use
88
+ When using rvm, it is enough, but in other cases, it is possible you will need to use
89
89
 
90
- sudo rake install
90
+ sudo rake install
91
91
 
92
- Just remember about that.
92
+ Just remember about that.
93
93
 
94
94
  === I'm ready!
95
95
 
96
- You want to get the world amazed with your work? Try this!
96
+ You want to get the world amazed with your work? Try this!
97
97
 
98
- rake release
98
+ rake release
99
99
 
100
100
  === Project do not exist yet on github?
101
101
 
102
- Ok, How to start with it?
103
- I simply went to my git account and created project extended_string, then From command line after commits to local repo
102
+ Ok, How to start with it?
103
+ I simply went to my git account and created project extended_string, then From command line after commits to local repo
104
104
 
105
- git push origin master
105
+ git push origin master
106
106
 
107
107
  === Test my work with rvm
108
108
 
109
- >rvm install ree
110
- >rvm --create ree@foo
109
+ rvm install ree
110
+ rvm --create ree@foo
111
111
 
112
- I will not worry about this gemset, but I want to check if I can install my gem from gems.
112
+ I will not worry about this gemset, but I want to check if I can install my gem from gems.
113
113
 
114
- I got after following
115
- > gem install extended_string
116
- ERROR: Could not find a valid gem 'extended_string' (>= 0) in any repository
114
+ I got after following
115
+ gem install extended_string
116
+ ERROR: Could not find a valid gem 'extended_string' (>= 0) in any repository
117
117
 
118
118
  === References
119
119
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{extended_string}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mariusz Wyroz\304\231bski"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extended_string
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Mariusz Wyroz\xC4\x99bski"