meta_tools 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE CHANGED
File without changes
data/Rakefile CHANGED
File without changes
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.3
data/lib/meta_tools.rb CHANGED
File without changes
data/meta_tools.gemspec CHANGED
@@ -1,32 +1,48 @@
1
- #!/bin/ruby
2
-
3
1
  Gem::Specification.new do |s|
4
- s.name = "meta_tools"
5
- s.version = File.read("VERSION")
6
-
7
- s.author = "Ryan Lewis"
2
+ s.author = "Ryan Scott Lewis"
8
3
  s.email = "c00lryguy@gmail.com"
4
+ s.homepage = "http://github.com/c00lryguy/meta_tools"
9
5
 
10
6
  s.description = "A Module that simply contains some methods that help out when metaprogramming."
11
- s.summary = "This gem lends a helping hand for metaprogrammers."
12
-
13
- s.extra_rdoc_files = [
14
- "LICENSE",
15
- "README.md"
16
- ]
17
-
18
- s.files = [
19
- "Gemfile.lock",
20
- "LICENSE",
21
- "README.md",
22
- "Rakefile",
23
- "VERSION",
24
- File.basename(__FILE__),
25
- ] + Dir['lib/**/*'] + Dir['test/**/*'] + Dir['examples/**/*']
26
-
27
- s.test_files = Dir['test/**/*'] + Dir['examples/**/*']
7
+ s.summary = "Tools for metaprogramming."
28
8
 
29
- s.homepage = "http://github.com/c00lryguy/meta_tools"
30
- s.licenses = ["MIT"]
31
9
  s.require_paths = ["lib"]
32
- end
10
+
11
+ s.name = File.basename(__FILE__, ".gemspec")
12
+ s.version = File.read("VERSION")
13
+ # VERSIONING
14
+ # Some people like to use a YAML file to display the version, some like CSV,
15
+ # others might just add a constant set to a version string, some (Rack) might
16
+ # even have an array splitting the version into parts.
17
+ # Just edit the above line appropriately.
18
+ # An easy thing to do is set a constant within your app to a version string
19
+ # and use it in here
20
+
21
+ # Add directories you *might* use in ALL projects.
22
+ s.files = [File.basename(__FILE__)] + Dir['lib/**/*'] + Dir['bin/**/*'] + Dir['test/**/*'] + Dir['examples/**/*']
23
+
24
+ # Add files you *might* use in ALL projects!
25
+ %W{Gemfile.lock README.* README Rakefile VERSION LICENSE}.each do |file|
26
+ s.files.unshift(file) if File.exists?(file)
27
+ end
28
+
29
+ # Add files you *might* use in ALL projects!
30
+ %W{README.* README VERSION LICENSE LICENSE.*}.each do |file|
31
+ (s.extra_rdoc_files ||= []).unshift(file) if File.exists?(file)
32
+ end
33
+
34
+ # s.executables = ["bin/myapp.rb"]
35
+
36
+ # If you only specify one application file in executables, that file becomes
37
+ # the default executable. Therefore, you only need to specify this value if you
38
+ # have more than one application file.
39
+ if s.executables.length > 1
40
+ if exe = s.executables.find { |e| e.include?(File.basename(__FILE__, ".gemspec")) }
41
+ s.default_executable = exe
42
+ else
43
+ raise(Exception, "Couldn't automatically figure out the default_executable")
44
+ end
45
+ end
46
+
47
+ s.test_files = Dir['test/**/*'] + Dir['examples/**/*']
48
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Ryan Lewis
8
+ - Ryan Scott Lewis
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-28 00:00:00.000000000 -04:00
12
+ date: 2011-06-26 00:00:00.000000000 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
  description: A Module that simply contains some methods that help out when metaprogramming.
@@ -18,19 +18,17 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files:
20
20
  - LICENSE
21
- - README.md
21
+ - VERSION
22
22
  files:
23
- - Gemfile.lock
24
23
  - LICENSE
25
- - README.md
26
- - Rakefile
27
24
  - VERSION
25
+ - Rakefile
26
+ - Gemfile.lock
28
27
  - meta_tools.gemspec
29
28
  - lib/meta_tools.rb
30
29
  has_rdoc: true
31
30
  homepage: http://github.com/c00lryguy/meta_tools
32
- licenses:
33
- - MIT
31
+ licenses: []
34
32
  post_install_message:
35
33
  rdoc_options: []
36
34
  require_paths:
@@ -52,5 +50,5 @@ rubyforge_project:
52
50
  rubygems_version: 1.6.2
53
51
  signing_key:
54
52
  specification_version: 3
55
- summary: This gem lends a helping hand for metaprogrammers.
53
+ summary: Tools for metaprogramming.
56
54
  test_files: []
data/README.md DELETED
@@ -1,26 +0,0 @@
1
- # meta_tools
2
-
3
- A Module that simply contains some methods that help out when metaprogramming.
4
-
5
- Source [Source](http://dannytatom.github.com/metaid/ "Source")
6
-
7
- # Notice
8
-
9
- This gem is very social!
10
- Be *sure* to follow the guide below to get your code into this gem!
11
-
12
- ## Contributing to meta_tools
13
-
14
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
15
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
16
- * Fork the project
17
- * Start a feature/bugfix branch
18
- * Commit and push until you are happy with your contribution
19
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
20
- * 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.
21
-
22
- ## Copyright
23
-
24
- Copyright (c) 2011 Ryan Lewis. See LICENSE.txt for
25
- further details.
26
-