davidfile 0.0.0

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: d6e6763c52f5de9a79fff1125ec07c95279c05bdb7fccbc7ab1c77b7eaf7335e
4
+ data.tar.gz: 02be6f9957beb70ce14b8e9b1b03f3fd7a744e22d453e76e1addb3045fb36d5d
5
+ SHA512:
6
+ metadata.gz: 6b7a6877496d990860f3ee006f351b818d5f97fe0c5feb907c3471973b619f118430fbbe02c3874629f384b88b66ecb235e7c8687784207cad0231ca0c2e950f
7
+ data.tar.gz: bb053bf3d89c8646c26e719cb1c94525c5369200b2829fff78db9f7c9fe7d88199e47c904e7ca5cf0cfe2d0b6a58e6d4787cb03f5abf57ac2b2ff0ab8cc44203
data/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ indent_size = 2
7
+ indent_style = space
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [*.md]
12
+ trim_trailing_whitespace = false
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ .rspec_status
2
+ /.bundle/
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
11
+ /davidfile-*.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.md ADDED
@@ -0,0 +1,170 @@
1
+ # License
2
+
3
+ Copyright © 2019 [Daniel Morris](https://unfun.co)
4
+
5
+ ## Apache License, Version 2.0
6
+
7
+ [Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
8
+
9
+ ### Terms and Conditions for use, reproduction, and distribution
10
+
11
+ #### 1. Definitions
12
+
13
+ “License” shall mean the terms and conditions for use, reproduction, and
14
+ distribution as defined by Sections 1 through 9 of this document.
15
+
16
+ “Licensor” shall mean the copyright owner or entity authorized by the copyright
17
+ owner that is granting the License.
18
+
19
+ “Legal Entity” shall mean the union of the acting entity and all other entities
20
+ that control, are controlled by, or are under common control with that entity.
21
+ For the purposes of this definition, “control” means **(i)** the power, direct or
22
+ indirect, to cause the direction or management of such entity, whether by
23
+ contract or otherwise, or **(ii)** ownership of fifty percent (50%) or more of the
24
+ outstanding shares, or **(iii)** beneficial ownership of such entity.
25
+
26
+ “You” (or “Your”) shall mean an individual or Legal Entity exercising
27
+ permissions granted by this License.
28
+
29
+ “Source” form shall mean the preferred form for making modifications, including
30
+ but not limited to software source code, documentation source, and configuration
31
+ files.
32
+
33
+ “Object” form shall mean any form resulting from mechanical transformation or
34
+ translation of a Source form, including but not limited to compiled object code,
35
+ generated documentation, and conversions to other media types.
36
+
37
+ “Work” shall mean the work of authorship, whether in Source or Object form, made
38
+ available under the License, as indicated by a copyright notice that is included
39
+ in or attached to the work (an example is provided in the Appendix below).
40
+
41
+ “Derivative Works” shall mean any work, whether in Source or Object form, that
42
+ is based on (or derived from) the Work and for which the editorial revisions,
43
+ annotations, elaborations, or other modifications represent, as a whole, an
44
+ original work of authorship. For the purposes of this License, Derivative Works
45
+ shall not include works that remain separable from, or merely link (or bind by
46
+ name) to the interfaces of, the Work and Derivative Works thereof.
47
+
48
+ “Contribution” shall mean any work of authorship, including the original version
49
+ of the Work and any modifications or additions to that Work or Derivative Works
50
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
51
+ by the copyright owner or by an individual or Legal Entity authorized to submit
52
+ on behalf of the copyright owner. For the purposes of this definition,
53
+ “submitted” means any form of electronic, verbal, or written communication sent
54
+ to the Licensor or its representatives, including but not limited to
55
+ communication on electronic mailing lists, source code control systems, and
56
+ issue tracking systems that are managed by, or on behalf of, the Licensor for
57
+ the purpose of discussing and improving the Work, but excluding communication
58
+ that is conspicuously marked or otherwise designated in writing by the copyright
59
+ owner as “Not a Contribution.”
60
+
61
+ “Contributor” shall mean Licensor and any individual or Legal Entity on behalf
62
+ of whom a Contribution has been received by Licensor and subsequently
63
+ incorporated within the Work.
64
+
65
+ #### 2. Grant of Copyright License
66
+
67
+ Subject to the terms and conditions of this License, each Contributor hereby
68
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
69
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the Work and such
71
+ Derivative Works in Source or Object form.
72
+
73
+ #### 3. Grant of Patent License
74
+
75
+ Subject to the terms and conditions of this License, each Contributor hereby
76
+ grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
77
+ irrevocable (except as stated in this section) patent license to make, have
78
+ made, use, offer to sell, sell, import, and otherwise transfer the Work, where
79
+ such license applies only to those patent claims licensable by such Contributor
80
+ that are necessarily infringed by their Contribution(s) alone or by combination
81
+ of their Contribution(s) with the Work to which such Contribution(s) was
82
+ submitted. If You institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work or a
84
+ Contribution incorporated within the Work constitutes direct or contributory
85
+ patent infringement, then any patent licenses granted to You under this License
86
+ for that Work shall terminate as of the date such litigation is filed.
87
+
88
+ #### 4. Redistribution
89
+
90
+ You may reproduce and distribute copies of the Work or Derivative Works thereof
91
+ in any medium, with or without modifications, and in Source or Object form,
92
+ provided that You meet the following conditions:
93
+
94
+ * **(a)** You must give any other recipients of the Work or Derivative Works a copy of
95
+ this License; and
96
+ * **(b)** You must cause any modified files to carry prominent notices stating that You
97
+ changed the files; and
98
+ * **(c)** You must retain, in the Source form of any Derivative Works that You distribute,
99
+ all copyright, patent, trademark, and attribution notices from the Source form
100
+ of the Work, excluding those notices that do not pertain to any part of the
101
+ Derivative Works; and
102
+ * **(d)** If the Work includes a “NOTICE” text file as part of its distribution, then any
103
+ Derivative Works that You distribute must include a readable copy of the
104
+ attribution notices contained within such NOTICE file, excluding those notices
105
+ that do not pertain to any part of the Derivative Works, in at least one of the
106
+ following places: within a NOTICE text file distributed as part of the
107
+ Derivative Works; within the Source form or documentation, if provided along
108
+ with the Derivative Works; or, within a display generated by the Derivative
109
+ Works, if and wherever such third-party notices normally appear. The contents of
110
+ the NOTICE file are for informational purposes only and do not modify the
111
+ License. You may add Your own attribution notices within Derivative Works that
112
+ You distribute, alongside or as an addendum to the NOTICE text from the Work,
113
+ provided that such additional attribution notices cannot be construed as
114
+ modifying the License.
115
+
116
+ You may add Your own copyright statement to Your modifications and may provide
117
+ additional or different license terms and conditions for use, reproduction, or
118
+ distribution of Your modifications, or for any such Derivative Works as a whole,
119
+ provided Your use, reproduction, and distribution of the Work otherwise complies
120
+ with the conditions stated in this License.
121
+
122
+ #### 5. Submission of Contributions
123
+
124
+ Unless You explicitly state otherwise, any Contribution intentionally submitted
125
+ for inclusion in the Work by You to the Licensor shall be under the terms and
126
+ conditions of this License, without any additional terms or conditions.
127
+ Notwithstanding the above, nothing herein shall supersede or modify the terms of
128
+ any separate license agreement you may have executed with Licensor regarding
129
+ such Contributions.
130
+
131
+ #### 6. Trademarks
132
+
133
+ This License does not grant permission to use the trade names, trademarks,
134
+ service marks, or product names of the Licensor, except as required for
135
+ reasonable and customary use in describing the origin of the Work and
136
+ reproducing the content of the NOTICE file.
137
+
138
+ #### 7. Disclaimer of Warranty
139
+
140
+ Unless required by applicable law or agreed to in writing, Licensor provides the
141
+ Work (and each Contributor provides its Contributions) on an “AS IS” BASIS,
142
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
143
+ including, without limitation, any warranties or conditions of TITLE,
144
+ NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
145
+ solely responsible for determining the appropriateness of using or
146
+ redistributing the Work and assume any risks associated with Your exercise of
147
+ permissions under this License.
148
+
149
+ #### 8. Limitation of Liability
150
+
151
+ In no event and under no legal theory, whether in tort (including negligence),
152
+ contract, or otherwise, unless required by applicable law (such as deliberate
153
+ and grossly negligent acts) or agreed to in writing, shall any Contributor be
154
+ liable to You for damages, including any direct, indirect, special, incidental,
155
+ or consequential damages of any character arising as a result of this License or
156
+ out of the use or inability to use the Work (including but not limited to
157
+ damages for loss of goodwill, work stoppage, computer failure or malfunction, or
158
+ any and all other commercial damages or losses), even if such Contributor has
159
+ been advised of the possibility of such damages.
160
+
161
+ #### 9. Accepting Warranty or Additional Liability
162
+
163
+ While redistributing the Work or Derivative Works thereof, You may choose to
164
+ offer, and charge a fee for, acceptance of support, warranty, indemnity, or
165
+ other liability obligations and/or rights consistent with this License. However,
166
+ in accepting such obligations, You may act only on Your own behalf and on Your
167
+ sole responsibility, not on behalf of any other Contributor, and only if You
168
+ agree to indemnify, defend, and hold each Contributor harmless for any liability
169
+ incurred by, or claims asserted against, such Contributor by reason of your
170
+ accepting any such warranty or additional liability.
data/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # Davidfile 🐈
2
+
3
+ DSL for the [David chatbot](https://github.com/unfunco/david) and remote
4
+ task-runner.
5
+
6
+ ## License
7
+
8
+ © 2019 [Daniel Morris](https://unfun.co)
9
+ Made available under the terms of the [Apache License, Version 2.0](LICENSE.md).
data/Rakefile ADDED
@@ -0,0 +1,21 @@
1
+ # Copyright © 2019 Daniel Morris
2
+ # https://unfun.co
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at:
7
+ #
8
+ # https://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ require 'bundler/gem_tasks'
17
+ require 'rspec/core/rake_task'
18
+
19
+ RSpec::Core::RakeTask.new(:spec)
20
+
21
+ task default: :spec
data/davidfile.gemspec ADDED
@@ -0,0 +1,43 @@
1
+ # Copyright © 2019 Daniel Morris
2
+ # https://unfun.co
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at:
7
+ #
8
+ # https://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ lib = File.expand_path('../lib', __FILE__)
17
+ $:.unshift(lib) unless $:.include?(lib)
18
+
19
+ require 'davidfile/version'
20
+
21
+ Gem::Specification.new do |spec|
22
+ spec.name = 'davidfile'
23
+ spec.license = 'Apache-2.0'
24
+ spec.version = Davidfile::VERSION
25
+ spec.authors = ['Daniel Morris']
26
+ spec.email = ['daniel@honestempire.com']
27
+ spec.summary = %q{DSL for the David chatbot and remote task-runner.}
28
+ spec.homepage = 'https://github.com/unfunco/davidfile'
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject do |f|
34
+ f.match(%r{^(features|spec)/})
35
+ end
36
+ end
37
+
38
+ spec.require_paths = ['lib']
39
+
40
+ spec.add_development_dependency 'bundler', '~> 1.16'
41
+ spec.add_development_dependency 'rake', '~> 10.0'
42
+ spec.add_development_dependency 'rspec', '~> 3.0'
43
+ end
data/lib/davidfile.rb ADDED
@@ -0,0 +1,19 @@
1
+ # Copyright © 2019 Daniel Morris
2
+ # https://unfun.co
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at:
7
+ #
8
+ # https://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ require 'davidfile/version'
17
+
18
+ module Davidfile
19
+ end
@@ -0,0 +1,18 @@
1
+ # Copyright © 2019 Daniel Morris
2
+ # https://unfun.co
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at:
7
+ #
8
+ # https://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ module Davidfile
17
+ VERSION = '0.0.0'
18
+ end
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: davidfile
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Morris
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ description:
56
+ email:
57
+ - daniel@honestempire.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".editorconfig"
63
+ - ".gitignore"
64
+ - ".rspec"
65
+ - Gemfile
66
+ - LICENSE.md
67
+ - README.md
68
+ - Rakefile
69
+ - davidfile.gemspec
70
+ - lib/davidfile.rb
71
+ - lib/davidfile/version.rb
72
+ homepage: https://github.com/unfunco/davidfile
73
+ licenses:
74
+ - Apache-2.0
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.7.6
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: DSL for the David chatbot and remote task-runner.
96
+ test_files: []