qa_at_migration 1.2.1 → 1.3.0

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
  SHA256:
3
- metadata.gz: e1b3a51800ea73ad2262d66b572fa56913c496cf6e958358b8d69d1059bd0520
4
- data.tar.gz: b6144d352b67b6900170db0269fafec5a51bef691beea0c1387890f8a790ec0d
3
+ metadata.gz: fac0518029f57dc08817e2a9fdd25bd91af2a2b79ff15abf8108e3962ad7fc43
4
+ data.tar.gz: b815d6545d1b19c3696604fad3463b2081d384a8abe30992bbf5977f32e8a2b2
5
5
  SHA512:
6
- metadata.gz: 6ce43bba4c307b02ad68bfb7c5eb08dbf3cd619ee6c651b19429b736047ac57b49b60f80190cfc2f41e00631e71542b8d0ba27983e8c3ad6d1669dfb1beb5eba
7
- data.tar.gz: 861e680c27035b8b7a33fef69b920559a1d9336121338c6e91d5fad98a7ec1f06ced96e972af7ee50d773037f9847efc83a85eeb48e7645d700330e4a61eb4b4
6
+ metadata.gz: 97c93dc55dece44d87742f2db882e052acecd9f2b3e242300aecc228a4c2577d03b6d2daa6976834f2264bf398a706c6c124688505d69a8fe9e73c5304e74c10
7
+ data.tar.gz: a968d2f09c0d8839cf351bc858ff016dd837ed19cc59f06550b60df64635da21ddeb840266742abb2af5b5a63817e70da259b4702c2b6309315f254cc6ebd6ac
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ *.csv
10
+ *.yml
11
+ *.gem
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at dennisbot@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in qa_at_migration.gemspec
6
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Dennis Huillca
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
13
+ all 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
21
+ THE SOFTWARE.
@@ -0,0 +1,53 @@
1
+ ## Installation
2
+
3
+ Add this line to your application's Gemfile:
4
+
5
+ ```ruby
6
+ gem 'qa_at_migration'
7
+ ```
8
+
9
+ And then execute:
10
+
11
+ $ bundle
12
+
13
+ Or install it yourself as:
14
+
15
+ $ gem install qa_at_migration
16
+
17
+ ## Usage
18
+
19
+ This gem was created to handle migration of files from the `*.md` (markdown version) to a whole unique `*.csv` file.
20
+
21
+ You will need to have a `config.yml` file in the root level of your project with an ignore key entry listing the `<filename>.md` files (without the `*.md` extension) you want to ignore throughout the migration process.
22
+
23
+ ### config.xml sample structure
24
+
25
+ ``` yml
26
+ ignore:
27
+ - Readme
28
+ - test_template
29
+ - CODE_OF_CONDUCT
30
+ - README
31
+ ```
32
+
33
+ After installing the gem, run:
34
+
35
+ $ qa_at_migration help generate_csv
36
+
37
+ And follow the instructions.
38
+
39
+ ## Development
40
+
41
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
42
+
43
+ ## Contributing
44
+
45
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/qa_at_migration. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
46
+
47
+ ## License
48
+
49
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
50
+
51
+ ## Code of Conduct
52
+
53
+ Everyone interacting in the QaAtMigration project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dennisbot/qa_at_migration/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
@@ -2,7 +2,6 @@ require 'thor'
2
2
  require 'yaml'
3
3
  require 'csv'
4
4
 
5
- require 'qa_at_migration/translator'
6
5
  require 'qa_at_migration/test_file'
7
6
  require 'qa_at_migration/generator'
8
7
 
@@ -26,18 +25,5 @@ module QaAtMigration
26
25
  Generator.new.generate options[:sourcepath], options[:targetpath]
27
26
  end
28
27
  end
29
- desc "hello LANGUAGE", "say hello in LANGUAGE, default 'english'"
30
- def hello(language = "english")
31
- translator = Translator.new(language)
32
- puts translator.hi
33
- end
34
- desc "say_hello NAME", "say hello to NAME"
35
- def say_hello(name = nil)
36
- if name
37
- puts "hola #{name}"
38
- else
39
- puts "aún no sé cual es tu nombre"
40
- end
41
- end
42
28
  end
43
29
  end
@@ -0,0 +1,3 @@
1
+ module QaAtMigration
2
+ VERSION = "1.3.0"
3
+ end
@@ -0,0 +1,28 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "qa_at_migration/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "qa_at_migration"
8
+ spec.version = QaAtMigration::VERSION
9
+ spec.date = "2017-01-18"
10
+ spec.authors = ["Dennis Huillca"]
11
+ spec.email = ["dennisbot@gmail.com"]
12
+
13
+ spec.summary = %q{tool to make migration of AT files (*.md) easy}
14
+ spec.description = %q{this tool is used to make an easy migration of AT files (*.md) from the github repository of AT}
15
+ spec.homepage = "https://github.com/dennisbot/qa_at_migration/"
16
+ spec.license = "MIT"
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = "bin"
22
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f)}
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_dependency "thor", "~> 0"
26
+ spec.add_development_dependency "bundler", "~> 1.16"
27
+ spec.add_development_dependency "rake", "~> 10.0"
28
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qa_at_migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Huillca
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-17 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -24,20 +24,56 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.16'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.16'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
27
55
  description: this tool is used to make an easy migration of AT files (*.md) from the
28
56
  github repository of AT
29
- email: dhuillca@able.co
57
+ email:
58
+ - dennisbot@gmail.com
30
59
  executables:
31
60
  - qa_at_migration
32
61
  extensions: []
33
62
  extra_rdoc_files: []
34
63
  files:
64
+ - ".gitignore"
65
+ - CODE_OF_CONDUCT.md
66
+ - Gemfile
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
35
70
  - bin/qa_at_migration
36
71
  - lib/qa_at_migration.rb
37
72
  - lib/qa_at_migration/generator.rb
38
73
  - lib/qa_at_migration/test_file.rb
39
- - lib/qa_at_migration/translator.rb
40
- homepage: http://rubygems.org/gems/qa_at_migration
74
+ - lib/qa_at_migration/version.rb
75
+ - qa_at_migration.gemspec
76
+ homepage: https://github.com/dennisbot/qa_at_migration/
41
77
  licenses:
42
78
  - MIT
43
79
  metadata: {}
@@ -1,16 +0,0 @@
1
- module QaAtMigration
2
- class Translator
3
- def initialize(language)
4
- @language = language
5
- end
6
-
7
- def hi
8
- case @language
9
- when "spanish"
10
- "hola mundo"
11
- else
12
- "hello world"
13
- end
14
- end
15
- end
16
- end