gemology 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +4 -0
  2. data/LICENSE +20 -0
  3. data/README.md +135 -0
  4. data/gemology.gemspec +32 -0
  5. data/lib/gemology.rb +0 -0
  6. metadata +69 -0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+
2
+ group :test do
3
+ gem 'minitest'
4
+ end
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 Ryan Scott Lewis
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,135 @@
1
+ # gemology
2
+
3
+ __gem·ol·o·gy__ _noun_ _\-jē\_ __:__ The science of gems.
4
+
5
+ # Documentation
6
+
7
+ [Gem]()
8
+ [GitHub](http://rubydoc.info/github/c00lryguy/gemology)
9
+
10
+ # What this is
11
+
12
+ Gemology is a command line utlity that helps with day to day Ruby gem development.
13
+
14
+ # How to install
15
+
16
+ `gem install gemology`
17
+
18
+ # How to use
19
+
20
+ ## Commands
21
+
22
+ ### init
23
+
24
+ Create a new directory, open up your terminal, and run
25
+
26
+ gemology init
27
+
28
+ This will create a `Gemology` file in the directory.
29
+ If you have a `~/.gemology` file, we simply copy that into the current directory.
30
+
31
+
32
+ ### init
33
+
34
+ project = Gemology::Project.new
35
+ project.setup do # THIS IS WHAT IS IN 'Gemology' FILE
36
+
37
+ # No default! User must set.
38
+ #
39
+ # This method enables the following commands:
40
+ # gemology build gemspec # Generates the gemspec
41
+ # gemology build gem # Builds gemspec from specification below
42
+ # gemology push gem # Push the gem to rubygems.org
43
+ #
44
+ # This also adds the following to `.gitignore` if it exists and none
45
+ # of the following lines (without the comments) are already included in it:
46
+ # pkg # Where .gem files compile to. Can override by setting :build_dir.
47
+ # *.gemspec # Some people prefer to hide it... some don't.
48
+ # # Set :gitignore_gemspec to false to not include in gitignore.
49
+ specification :build_dir => "pkg", :gitignore_gemspec => true do
50
+ # Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
51
+ name "my_proj_name"
52
+ summary "A one-line summary of your project"
53
+ description "A longer description of your project"
54
+ email "my_email@my_domain.com"
55
+ homepage "http://github.com/my_username/my_proj_name"
56
+ authors ["John Doe"]
57
+ end
58
+ # Same as:
59
+ #
60
+ # specification :name => "my_proj_name",
61
+ # :summary => "A one-line summary of your project",
62
+ # :description => "A longer description of your project",
63
+ # :email => "my_email@my_domain.com",
64
+ # :homepage => "http://github.com/my_username/my_proj_name",
65
+ # :authors => ["John Doe"]
66
+ #
67
+ # The gist? All method's arguments here can have a Hash as an argument or a block.. or both!
68
+ #
69
+ # my_spec = { :name => "my_proj_name",
70
+ # :summary => "A one-line summary of your project",
71
+ # :description => "A longer description of your project" }
72
+ #
73
+ # specification(my_spec) do
74
+ # email "my_email@my_domain.com"
75
+ # homepage "http://github.com/my_username/my_proj_name"
76
+ # authors ["John Doe"]
77
+ # end
78
+
79
+ #++
80
+ # Version
81
+ #--
82
+
83
+ # This method enables the following commands:
84
+ # gemology version # Prints the current project.version
85
+ # gemology version /\d\.\d\.\d/ # Sets the version manually
86
+ # gemology version bump /( (?:M|major)|(?:m|minor)|(?:p|patch) )/ # Bumps the selected version section up by 1
87
+ # version bump major
88
+ # version bump M
89
+ # version bump minor
90
+ # version bump m
91
+ # version bump patch
92
+ # version bump p
93
+ #
94
+ # This also adds the following to `.gitignore` if the file `VERSION` exists and none
95
+ # of the following lines (without the comments) are already included in it:
96
+ # VERSION #
97
+ #
98
+
99
+ has_version :format = "%M.%m.%p" # Will check for Library::VERSION, otherwise generate './VERSION'
100
+ # Same as:
101
+ #
102
+ # has_version do
103
+ # format "%M.%m.%p"
104
+ # end
105
+
106
+
107
+ # https://github.com/fcoury/octopi
108
+ # Creates a repo is it doesnt exist
109
+ # usually uses project.specification.name but can use custom
110
+ has_github
111
+ end
112
+
113
+
114
+ # How to set defaults
115
+
116
+ Create the file `~/.gemology` and set it up as a normal `Gemology` file.
117
+ It's as simple as that! The default is just an instance of `Gemology::Project`.
118
+
119
+
120
+ ## Contributing to gemology
121
+
122
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
123
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
124
+ * Fork the project
125
+ * Start a feature/bugfix branch
126
+ * Commit and push until you are happy with your contribution
127
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
128
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
129
+
130
+ ## Copyright
131
+
132
+ Copyright (c) 2011 Ryan Scott Lewis. See LICENSE for
133
+ further details.
134
+
135
+
@@ -0,0 +1,32 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{gemology}
8
+ s.version = "0.0.0"
9
+ s.authors = ["c00lryguy"]
10
+ s.email = %q{c00lryguy@gmail.com}
11
+ s.homepage = %q{http://github.com/c00lryguy/gemology}
12
+
13
+ s.rubygems_version = %q{1.3.7}
14
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
15
+ s.date = %q{2011-4-29}
16
+ s.description = %q{Gemology is a command line utlity that helps with day to day Ruby gem development.}
17
+ s.summary = %q{The science of gems.}
18
+ s.rdoc_options = ["--charset=UTF-8"]
19
+ s.extra_rdoc_files = [
20
+ "LICENSE",
21
+ "README.md"
22
+ ]
23
+ s.require_paths = ["lib"]
24
+ s.files = [
25
+ "LICENSE",
26
+ "README.md",
27
+ "Gemfile",
28
+ "gemology.gemspec",
29
+ "lib/gemology.rb"
30
+ ]
31
+ end
32
+
File without changes
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gemology
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 0
9
+ version: 0.0.0
10
+ platform: ruby
11
+ authors:
12
+ - c00lryguy
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-04-29 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Gemology is a command line utlity that helps with day to day Ruby gem development.
22
+ email: c00lryguy@gmail.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files:
28
+ - LICENSE
29
+ - README.md
30
+ files:
31
+ - LICENSE
32
+ - README.md
33
+ - Gemfile
34
+ - gemology.gemspec
35
+ - lib/gemology.rb
36
+ has_rdoc: true
37
+ homepage: http://github.com/c00lryguy/gemology
38
+ licenses: []
39
+
40
+ post_install_message:
41
+ rdoc_options:
42
+ - --charset=UTF-8
43
+ require_paths:
44
+ - lib
45
+ required_ruby_version: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ segments:
51
+ - 0
52
+ version: "0"
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ requirements: []
62
+
63
+ rubyforge_project:
64
+ rubygems_version: 1.3.7
65
+ signing_key:
66
+ specification_version: 3
67
+ summary: The science of gems.
68
+ test_files: []
69
+