aipim 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/aipim.rb +21 -0
  3. metadata +44 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5682594735080cfe5484035597e72cda59efc6bb
4
+ data.tar.gz: c0d3e1edf8ae200d6c924a3242426e8638901944
5
+ SHA512:
6
+ metadata.gz: 42ad0e7b6f8aae935c18d1239d127a6803eeba33337477064d33a35e1da98ac40cedcf4496261e9408ccd9ac5d6ce781aff95ee4452231d7b1a243a8d2b4fe29
7
+ data.tar.gz: a8d3740da500e80c4f0d82c6f79defe2ef27a43791a8318b8a870483f029036139c920b7d85bf8e4e076100983f8c060cb4320f08bdef11e8e9e39cdd843c1e5
@@ -0,0 +1,21 @@
1
+ class Aipim
2
+ def self.merge_files
3
+ saida = ''
4
+ path = (%x[pwd]).gsub("\n", "")
5
+ result = %x[ls features/*.feature]
6
+ result = result.split("\n").each do |r|
7
+ saida << File.open(r, 'r').read
8
+ saida << "\n--------------------------------------\n"
9
+ end
10
+
11
+ File.open('./saida.txt', 'w') do |f2|
12
+ f2.puts saida
13
+ end
14
+ end
15
+
16
+ def self.hello
17
+ puts "Hello!\n"
18
+ end
19
+ end
20
+
21
+ Aipim.hello
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aipim
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Marcus
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-05 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Gem para gerar documentação de um projeto a partir de suas features (cucumber).
14
+ email: marcus@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/aipim.rb
20
+ homepage: ''
21
+ licenses:
22
+ - ''
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.0.7
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Gera documentação.
44
+ test_files: []