majic 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91dbcd5678033aa8520dd14a353171e43b91c88f
4
- data.tar.gz: 29f5d817dfda0e0e1a207804a77e08dd449b3487
3
+ metadata.gz: f94607bd3f1eafebde23d209205aecb310e52bab
4
+ data.tar.gz: bc1c5a99f940f837e24500c28c7cbf4fd71bb367
5
5
  SHA512:
6
- metadata.gz: fcce50e6caa841d25c52e699bd019bdba90688197ef04c031a169745bd9451e4f11fe9265463936c2dbeb2f64a1fae6f0a5bf6046b40fa4da8e12b91a64777e1
7
- data.tar.gz: 663d221b0418612c2f88d0c96d1cd5aa37ed56d1ecc74ef985fd9b4a8d6dd8362f81686529cebaada23bfab7e896ff182603b81aa81ec83bfedef53cbedcf57f
6
+ metadata.gz: a137501c0e3540837d93cad6d9b278ea2e592f181c94da1bd77521c898a362e2f1afe5d1917b393a674a993ece48651c1826ef065ef44af953c6d52b85e065e1
7
+ data.tar.gz: 0f07dca5ceec65831a6132eaf138f03085bee202849ecb0a48fba1941d99d5634a0943adcbe075d3bd86e087f29300bf78e988535c6292707142407ccf83c914
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/gem build
2
+ # encoding: utf-8
3
+
4
+ $:.unshift File.dirname(__FILE__) + '/library'
5
+ require '<%= downcase_name %>'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "<%= downcase_name %>"
9
+ spec.version = <%= name %>::Version
10
+ spec.summary = %{No summary.}
11
+ spec.description = <<-eos
12
+ No description.
13
+ eos
14
+
15
+ spec.license = "ISC"
16
+
17
+ spec.author = "John Doe"
18
+ spec.email = "john.doe@gmail.com"
19
+
20
+ spec.files = Dir["library/**/*.rb"]
21
+ spec.require_path = "library"
22
+
23
+ spec.add_dependency "majic"
24
+ end
25
+
26
+ # vim: set syntax=ruby:
@@ -0,0 +1,3 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem "majic"
@@ -0,0 +1,13 @@
1
+ Copyright (c) <%= Date.today.year %>, John Doe <john.doe@gmail.com>
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any
4
+ purpose with or without fee is hereby granted, provided that the above
5
+ copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,3 @@
1
+ <%= name %>
2
+ <%= '=' * name.length %>
3
+ To be written.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ $:.unshift File.dirname(__FILE__) + '/../library'
5
+ require '<%= downcase_name %>'
6
+
7
+ puts "=> #{'<%= name %>' ^ :bold} v#{<%= name %>::Version}"
@@ -0,0 +1,8 @@
1
+ # encoding: utf-8
2
+
3
+ require 'majic'
4
+ require 'bundler'
5
+
6
+ module <%= name %>
7
+ Version = "0.1"
8
+ end
data/library/majic.rb CHANGED
@@ -9,7 +9,7 @@ require 'majic/logging'
9
9
  require 'majic/ansi_escape'
10
10
 
11
11
  module Majic
12
- Version = "0.4"
12
+ Version = "0.4.1"
13
13
  end
14
14
 
15
15
  ::Logging = Majic::Logging unless defined? ::Logging
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: majic
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikkel Kroman
8
8
  autorequire:
9
9
  bindir: executables
10
10
  cert_chain: []
11
- date: 2013-10-14 00:00:00.000000000 Z
11
+ date: 2013-11-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Toolkit for Ruby
14
14
  email: mk@uplink.io
@@ -22,6 +22,12 @@ files:
22
22
  - library/majic/logging.rb
23
23
  - library/majic/core_extensions/string.rb
24
24
  - library/majic/core_extensions/object.rb
25
+ - library/majic/templates/project/library/%downcase_name%.rb.tt
26
+ - library/majic/templates/project/executables/%downcase_name%.rb.tt
27
+ - library/majic/templates/project/LICENSE.tt
28
+ - library/majic/templates/project/%downcase_name%.gemspec.tt
29
+ - library/majic/templates/project/README.md.tt
30
+ - library/majic/templates/project/Gemfile
25
31
  - library/majic/ansi_escape.rb
26
32
  - executables/majic
27
33
  homepage: http://uplink.io
@@ -45,8 +51,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
51
  requirements:
46
52
  - 'Thor, for generating stubs '
47
53
  rubyforge_project:
48
- rubygems_version: 2.1.3
54
+ rubygems_version: 2.0.3
49
55
  signing_key:
50
56
  specification_version: 4
51
57
  summary: A set of utillities for Ruby
52
58
  test_files: []
59
+ has_rdoc: