tmp 0.0.1.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 291b399d4585feb7b99f529e4fba4307163dcd4f
4
+ data.tar.gz: d9b8b3a2e0019e6aab3c081b0611d7cd89cae64b
5
+ SHA512:
6
+ metadata.gz: 1a844b410e255681d6c1e997f11e15878b2ab8b099b674b4bd7f0bf7749a30576393be074e855793327b0ae0bd89e817129dd951a8b85d406e0c41388d02b2f4
7
+ data.tar.gz: 9db87befd75cc9a485ae2fb56840bea9cd96f68151c3bd824a438a73b70d2a341b54d00c0ea40cdbcce8d33b74b1328136d9e29adce76f16c1c196779dc44e42
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "http://rubygems.org"
2
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Adam Luzsi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ tmp
2
+ ===
3
+
4
+ Ruby DSL for manage tmp files and make easy tmp commands / variables accross the forked processes. I'ts not made for shared memory management! it's main
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require File.join "bundler","gem_tasks"
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.0.1.pre
data/examples/test.rb ADDED
@@ -0,0 +1,2 @@
1
+ require_relative "../lib/tmp"
2
+
data/files.rb ADDED
@@ -0,0 +1,23 @@
1
+ ### Get Files from dir
2
+ begin
3
+
4
+ module TMP
5
+ @@spec_files = []
6
+ end
7
+
8
+ Dir[File.expand_path(File.join(File.dirname(__FILE__),"**","*"))].sort.uniq.each do |one_file_name|
9
+ one_file_name = File.expand_path one_file_name
10
+ file_name = one_file_name[(File.expand_path(File.dirname(__FILE__)).to_s.length+1)..(one_file_name.length-1)]
11
+
12
+ if !one_file_name.include?("pkg")
13
+ if !File.directory? file_name
14
+
15
+ TMP.class_variable_get("@@spec_files").push file_name
16
+ STDOUT.puts file_name if $DEBUG
17
+
18
+ end
19
+ end
20
+
21
+ end
22
+
23
+ end
data/lib/tmp/config.rb ADDED
@@ -0,0 +1,7 @@
1
+ #encoding: UTF-8
2
+ module TMP
3
+ module Config
4
+
5
+
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ #encoding: UTF-8
2
+ module TMP
3
+ module Support
4
+
5
+
6
+ end
7
+ end
data/lib/tmp.rb ADDED
@@ -0,0 +1,3 @@
1
+ #encoding: UTF-8
2
+ require File.join File.dirname(__FILE__),'tmp','config'
3
+ require File.join File.dirname(__FILE__),'tmp','support'
data/tmp.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+
3
+ require File.expand_path(File.join(File.dirname(__FILE__),"files.rb"))
4
+
5
+ ### Specification for the new Gem
6
+ Gem::Specification.new do |spec|
7
+
8
+ spec.name = "tmp"
9
+ spec.version = File.open(File.join(File.dirname(__FILE__),"VERSION")).read.split("\n")[0].chomp.gsub(' ','')
10
+ spec.authors = ["Adam Luzsi"]
11
+ spec.email = ["adamluzsi@gmail.com"]
12
+ spec.description = %q{ Parse string into obj }
13
+ spec.summary = %q{ String to Obj, Duck type parser }
14
+ spec.homepage = "https://github.com/adamluzsi/str2duck"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = TMP.class_variable_get("@@spec_files")
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
21
+
22
+ #spec.add_dependency 'active_support'
23
+
24
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tmp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre
5
+ platform: ruby
6
+ authors:
7
+ - Adam Luzsi
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: " Parse string into obj "
14
+ email:
15
+ - adamluzsi@gmail.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - Gemfile
21
+ - LICENSE
22
+ - README.md
23
+ - Rakefile
24
+ - VERSION
25
+ - examples/test.rb
26
+ - files.rb
27
+ - lib/tmp.rb
28
+ - lib/tmp/config.rb
29
+ - lib/tmp/support.rb
30
+ - tmp.gemspec
31
+ homepage: https://github.com/adamluzsi/str2duck
32
+ licenses:
33
+ - MIT
34
+ metadata: {}
35
+ post_install_message:
36
+ rdoc_options: []
37
+ require_paths:
38
+ - lib
39
+ required_ruby_version: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">"
47
+ - !ruby/object:Gem::Version
48
+ version: 1.3.1
49
+ requirements: []
50
+ rubyforge_project:
51
+ rubygems_version: 2.2.2
52
+ signing_key:
53
+ specification_version: 4
54
+ summary: String to Obj, Duck type parser
55
+ test_files: []