mckey 1.1

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 (3) hide show
  1. data/bin/mckey +8 -0
  2. data/lib/mckey.rb +19 -0
  3. metadata +47 -0
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ require 'mckey'
3
+
4
+ if ARGV[0] == nil
5
+ puts 'No arguments'
6
+ else
7
+ Build.create
8
+ end
@@ -0,0 +1,19 @@
1
+ require "fileutils"
2
+ class Test
3
+ class << self
4
+ def hello(*args)
5
+ puts args
6
+ end
7
+ end
8
+ end
9
+
10
+ class Build
11
+ class << self
12
+ def create
13
+ libdir = File.expand_path(File.dirname(__FILE__))
14
+ test = File.expand_path("../../test/", __FILE__)
15
+ current_dir = Dir.getwd
16
+ FileUtils.cp_r test, current_dir
17
+ end
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mckey
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.1'
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dilan Mckey
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-31 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: A simple hello world gem
15
+ email: dilan.mckey@gmail.com
16
+ executables:
17
+ - mckey
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/mckey.rb
22
+ - bin/mckey
23
+ homepage: http://rubygems.org/gems/mckey
24
+ licenses: []
25
+ post_install_message:
26
+ rdoc_options: []
27
+ require_paths:
28
+ - lib
29
+ required_ruby_version: !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ required_rubygems_version: !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 1.8.25
44
+ signing_key:
45
+ specification_version: 3
46
+ summary: Mckey gems
47
+ test_files: []