magma_cli 0.0.8

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1c12aa527a0ede3b997763a240b13101c144f249a1818a9a4ac47b512722447e
4
+ data.tar.gz: f7d80192f3a742a7e6b4a262a0e4830d9ecddfa11794492d697c288d677d1d36
5
+ SHA512:
6
+ metadata.gz: 0b0e6814990ded96a584e25c295b699fa62bf780fe8f8b766b0c46033668c6bd83cba268ce75195782344b32b6b218dd9320078e4c9c4366c4ccd916d05a585f
7
+ data.tar.gz: 816b5da43c90853f8bd2a1eef03e30f61ff2b65cb67beb5f770dbf61613362f51228e93cce0462eb87df841b278783d3e2d4514797acd5cc46ef0e9111870b8b
data/.dockerignore ADDED
@@ -0,0 +1,2 @@
1
+ /examples/
2
+ /pkg/
@@ -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 allanbreyes@users.noreply.github.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/
@@ -0,0 +1,26 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+
5
+ ---
6
+
7
+ **Describe the bug**
8
+ A clear and concise description of what the bug is.
9
+
10
+ **To Reproduce**
11
+ Steps to reproduce the behavior:
12
+
13
+ **Expected behavior**
14
+ A clear and concise description of what you expected to happen.
15
+
16
+ **Screenshots**
17
+ If applicable, add screenshots to help explain your problem.
18
+
19
+ **Desktop (please complete the following information):**
20
+ - MLT/melt: [e.g. v6.6.0]
21
+ - OS: [e.g. iOS]
22
+ - Browser [e.g. chrome, safari]
23
+ - Version [e.g. 22]
24
+
25
+ **Additional context**
26
+ Add any other context about the problem here.
@@ -0,0 +1,17 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+
5
+ ---
6
+
7
+ **Is your feature request related to a problem? Please describe.**
8
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9
+
10
+ **Describe the solution you'd like**
11
+ A clear and concise description of what you want to happen.
12
+
13
+ **Describe alternatives you've considered**
14
+ A clear and concise description of any alternative solutions or features you've considered.
15
+
16
+ **Additional context**
17
+ Add any other context or screenshots about the feature request here.
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,53 @@
1
+ Layout/IndentArray:
2
+ Enabled: false
3
+
4
+ Metrics/AbcSize:
5
+ Enabled: true
6
+ Max: 30
7
+
8
+ Metrics/BlockLength:
9
+ Enabled: true
10
+ Exclude:
11
+ - 'spec/**/*.rb'
12
+
13
+ Metrics/CyclomaticComplexity:
14
+ Enabled: true
15
+ Max: 12
16
+
17
+ Metrics/LineLength:
18
+ Enabled: true
19
+ Max: 120
20
+
21
+ Metrics/MethodLength:
22
+ Enabled: true
23
+ Max: 30
24
+
25
+ Metrics/PerceivedComplexity:
26
+ Enabled: true
27
+ Max: 10
28
+
29
+ Style/ClassAndModuleChildren:
30
+ Enabled: false
31
+
32
+ Style/Documentation:
33
+ Enabled: false
34
+
35
+ Style/EachWithObject:
36
+ Enabled: false
37
+
38
+ Style/FrozenStringLiteralComment:
39
+ Enabled: false
40
+
41
+ Style/MultilineBlockChain:
42
+ Enabled: false
43
+
44
+ Style/MultilineIfModifier:
45
+ Enabled: false
46
+
47
+ Style/TrailingCommaInArrayLiteral:
48
+ Enabled: true
49
+ EnforcedStyleForMultiline: comma
50
+
51
+ Style/TrailingCommaInHashLiteral:
52
+ Enabled: true
53
+ EnforcedStyleForMultiline: comma
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.1
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ sudo: required
2
+
3
+ language: ruby
4
+
5
+ services:
6
+ - docker
7
+ before_install:
8
+ - sudo apt-get -qq update
9
+ - sudo apt-get install -y melt
10
+ - gem install bundler -v 1.16.1
11
+
12
+ script:
13
+ - bundle exec rake spec
14
+ - make
data/Dockerfile ADDED
@@ -0,0 +1,36 @@
1
+ ARG RUBY_VERSION
2
+ FROM ruby:$RUBY_VERSION-slim
3
+
4
+ # Install OS dependencies
5
+ RUN apt-get update -qq && apt-get install -yq \
6
+ bash \
7
+ build-essential \
8
+ ffmpeg \
9
+ frei0r-plugins \
10
+ git \
11
+ ladspa-sdk \
12
+ libxml2 \
13
+ melt \
14
+ ruby-nokogiri \
15
+ swh-plugins \
16
+ xvfb \
17
+ && printf "\n=== FFmpeg ===\n" && ffmpeg -version \
18
+ && printf "\n=== MLT Framework ===\n" && melt -version
19
+
20
+ # Set up work directory
21
+ RUN mkdir /app
22
+ WORKDIR /app
23
+
24
+ # Install dependencies
25
+ COPY Gemfile Gemfile.lock magma.gemspec ./
26
+ COPY /lib/magma/version.rb ./lib/magma/version.rb
27
+ RUN bundle install
28
+
29
+ # Add files
30
+ ADD . .
31
+ RUN bundle exec rake install
32
+
33
+ # Entry point
34
+ WORKDIR /root
35
+ ENTRYPOINT ["/app/entrypoint.sh"]
36
+ CMD ["help"]
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ gemspec
6
+ group :development do
7
+ gem 'pry'
8
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,62 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ magma_cli (0.0.8)
5
+ activesupport (~> 5.2)
6
+ liquid (~> 4.0)
7
+ nokogiri (~> 1.8)
8
+ thor (~> 0.20)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (5.2.0)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 0.7, < 2)
16
+ minitest (~> 5.1)
17
+ tzinfo (~> 1.1)
18
+ coderay (1.1.2)
19
+ concurrent-ruby (1.0.5)
20
+ diff-lcs (1.3)
21
+ i18n (1.0.1)
22
+ concurrent-ruby (~> 1.0)
23
+ liquid (4.0.0)
24
+ method_source (0.9.0)
25
+ mini_portile2 (2.3.0)
26
+ minitest (5.11.3)
27
+ nokogiri (1.8.2)
28
+ mini_portile2 (~> 2.3.0)
29
+ pry (0.11.3)
30
+ coderay (~> 1.1.0)
31
+ method_source (~> 0.9.0)
32
+ rake (10.5.0)
33
+ rspec (3.7.0)
34
+ rspec-core (~> 3.7.0)
35
+ rspec-expectations (~> 3.7.0)
36
+ rspec-mocks (~> 3.7.0)
37
+ rspec-core (3.7.1)
38
+ rspec-support (~> 3.7.0)
39
+ rspec-expectations (3.7.0)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.7.0)
42
+ rspec-mocks (3.7.0)
43
+ diff-lcs (>= 1.2.0, < 2.0)
44
+ rspec-support (~> 3.7.0)
45
+ rspec-support (3.7.1)
46
+ thor (0.20.0)
47
+ thread_safe (0.3.6)
48
+ tzinfo (1.2.5)
49
+ thread_safe (~> 0.1)
50
+
51
+ PLATFORMS
52
+ ruby
53
+
54
+ DEPENDENCIES
55
+ bundler (~> 1.16)
56
+ magma_cli!
57
+ pry
58
+ rake (~> 10.0)
59
+ rspec (~> 3.0)
60
+
61
+ BUNDLED WITH
62
+ 1.16.1