apple_pkg 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: afdd1d6a76335f34c45d2633e456be37c3742daf
4
+ data.tar.gz: d907e1196caed61e350ee8abfdaaf1561780be68
5
+ SHA512:
6
+ metadata.gz: 732ee0591953569e0238f27a7d1c8393f71b1d5367d53e1c689d9bd265aa9968f4a05c9b2f3619935483e606e60cd18a3ee4224e1b67deb21d9def2050e78fec
7
+ data.tar.gz: 1295b03a60f05a0f7a2b36025042ba9321cad0555f2dcfbd399b0e90f8806129bd64bb1699e918156ee69acdd2166564a303accde7acd48484ea46520b90321a
@@ -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
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="ModuleRunConfigurationManager">
4
+ <shared />
5
+ </component>
6
+ <component name="NewModuleRootManager">
7
+ <content url="file://$MODULE_DIR$" />
8
+ <orderEntry type="jdk" jdkName="rbenv: 2.5.0" jdkType="RUBY_SDK" />
9
+ <orderEntry type="sourceFolder" forTests="false" />
10
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, rbenv: 2.5.0) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, rbenv: 2.5.0) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, rbenv: 2.5.0) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.7.0, rbenv: 2.5.0) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.7.1, rbenv: 2.5.0) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.7.0, rbenv: 2.5.0) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.7.0, rbenv: 2.5.0) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.7.0, rbenv: 2.5.0) [gem]" level="application" />
18
+ </component>
19
+ </module>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="rbenv: 2.4.3" project-jdk-type="RUBY_SDK" />
4
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/apple_pkg.iml" filepath="$PROJECT_DIR$/.idea/apple_pkg.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,187 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="976a82e2-e7e1-40bd-b0de-448b02284070" name="Default" comment="">
5
+ <change beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
6
+ <change beforePath="" afterPath="$PROJECT_DIR$/.idea/apple_pkg.iml" />
7
+ <change beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
8
+ <change beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
9
+ <change beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
10
+ <change beforePath="" afterPath="$PROJECT_DIR$/.rspec" />
11
+ <change beforePath="" afterPath="$PROJECT_DIR$/.travis.yml" />
12
+ <change beforePath="" afterPath="$PROJECT_DIR$/CODE_OF_CONDUCT.md" />
13
+ <change beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
14
+ <change beforePath="" afterPath="$PROJECT_DIR$/LICENSE.txt" />
15
+ <change beforePath="" afterPath="$PROJECT_DIR$/README.md" />
16
+ <change beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
17
+ <change beforePath="" afterPath="$PROJECT_DIR$/apple_pkg.gemspec" />
18
+ <change beforePath="" afterPath="$PROJECT_DIR$/bin/console" />
19
+ <change beforePath="" afterPath="$PROJECT_DIR$/bin/setup" />
20
+ <change beforePath="" afterPath="$PROJECT_DIR$/lib/apple_pkg.rb" />
21
+ <change beforePath="" afterPath="$PROJECT_DIR$/lib/apple_pkg/version.rb" />
22
+ <change beforePath="" afterPath="$PROJECT_DIR$/spec/apple_pkg_spec.rb" />
23
+ <change beforePath="" afterPath="$PROJECT_DIR$/spec/spec_helper.rb" />
24
+ </list>
25
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
26
+ <option name="TRACKING_ENABLED" value="true" />
27
+ <option name="SHOW_DIALOG" value="false" />
28
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
29
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
30
+ <option name="LAST_RESOLUTION" value="IGNORE" />
31
+ </component>
32
+ <component name="FileEditorManager">
33
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
34
+ <file leaf-file-name="apple_pkg.gemspec" pinned="false" current-in-tab="true">
35
+ <entry file="file://$PROJECT_DIR$/apple_pkg.gemspec">
36
+ <provider selected="true" editor-type-id="text-editor">
37
+ <state relative-caret-position="690">
38
+ <caret line="30" column="30" lean-forward="true" selection-start-line="30" selection-start-column="30" selection-end-line="30" selection-end-column="30" />
39
+ <folding />
40
+ </state>
41
+ </provider>
42
+ </entry>
43
+ </file>
44
+ </leaf>
45
+ </component>
46
+ <component name="Git.Settings">
47
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
48
+ </component>
49
+ <component name="IdeDocumentHistory">
50
+ <option name="CHANGED_PATHS">
51
+ <list>
52
+ <option value="$PROJECT_DIR$/apple_pkg.gemspec" />
53
+ </list>
54
+ </option>
55
+ </component>
56
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
57
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
58
+ <component name="JsGulpfileManager">
59
+ <detection-done>true</detection-done>
60
+ <sorting>DEFINITION_ORDER</sorting>
61
+ </component>
62
+ <component name="ProjectFrameBounds">
63
+ <option name="y" value="23" />
64
+ <option name="width" value="2560" />
65
+ <option name="height" value="1365" />
66
+ </component>
67
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
68
+ <component name="ProjectView">
69
+ <navigator currentView="ProjectPane" proportions="" version="1">
70
+ <flattenPackages />
71
+ <showMembers />
72
+ <showModules />
73
+ <showLibraryContents />
74
+ <hideEmptyPackages />
75
+ <abbreviatePackageNames />
76
+ <autoscrollToSource />
77
+ <autoscrollFromSource />
78
+ <sortByType />
79
+ <manualOrder />
80
+ <foldersAlwaysOnTop value="true" />
81
+ </navigator>
82
+ <panes>
83
+ <pane id="Scope" />
84
+ <pane id="ProjectPane">
85
+ <subPane>
86
+ <expand>
87
+ <path>
88
+ <item name="apple_pkg" type="b2602c69:ProjectViewProjectNode" />
89
+ <item name="apple_pkg" type="462c0819:PsiDirectoryNode" />
90
+ </path>
91
+ </expand>
92
+ <select />
93
+ </subPane>
94
+ </pane>
95
+ <pane id="Scratches" />
96
+ </panes>
97
+ </component>
98
+ <component name="PropertiesComponent">
99
+ <property name="WebServerToolWindowFactoryState" value="false" />
100
+ </component>
101
+ <component name="RunDashboard">
102
+ <option name="ruleStates">
103
+ <list>
104
+ <RuleState>
105
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
106
+ </RuleState>
107
+ <RuleState>
108
+ <option name="name" value="StatusDashboardGroupingRule" />
109
+ </RuleState>
110
+ </list>
111
+ </option>
112
+ </component>
113
+ <component name="ShelveChangesManager" show_recycled="false">
114
+ <option name="remove_strategy" value="false" />
115
+ </component>
116
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
117
+ <component name="SvnConfiguration">
118
+ <configuration />
119
+ </component>
120
+ <component name="TaskManager">
121
+ <task active="true" id="Default" summary="Default task">
122
+ <changelist id="976a82e2-e7e1-40bd-b0de-448b02284070" name="Default" comment="" />
123
+ <created>1515526728080</created>
124
+ <option name="number" value="Default" />
125
+ <option name="presentableId" value="Default" />
126
+ <updated>1515526728080</updated>
127
+ <workItem from="1515526729238" duration="66000" />
128
+ <workItem from="1515526805713" duration="75000" />
129
+ </task>
130
+ <servers />
131
+ </component>
132
+ <component name="TimeTrackingManager">
133
+ <option name="totallyTimeSpent" value="141000" />
134
+ </component>
135
+ <component name="ToolWindowManager">
136
+ <frame x="0" y="23" width="2560" height="1365" extended-state="0" />
137
+ <editor active="true" />
138
+ <layout>
139
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25178713" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
140
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
141
+ <window_info id="Docker" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
142
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
143
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
144
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3293461" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
145
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
146
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
147
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
148
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
149
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
150
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
151
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
152
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
153
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
154
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
155
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
156
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
157
+ </layout>
158
+ </component>
159
+ <component name="TypeScriptGeneratedFilesManager">
160
+ <option name="version" value="1" />
161
+ </component>
162
+ <component name="VcsContentAnnotationSettings">
163
+ <option name="myLimit" value="2678400000" />
164
+ </component>
165
+ <component name="XDebuggerManager">
166
+ <breakpoint-manager />
167
+ <watches-manager />
168
+ </component>
169
+ <component name="editorHistoryManager">
170
+ <entry file="file://$PROJECT_DIR$/apple_pkg.gemspec">
171
+ <provider selected="true" editor-type-id="text-editor">
172
+ <state relative-caret-position="0">
173
+ <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
174
+ <folding />
175
+ </state>
176
+ </provider>
177
+ </entry>
178
+ <entry file="file://$PROJECT_DIR$/apple_pkg.gemspec">
179
+ <provider selected="true" editor-type-id="text-editor">
180
+ <state relative-caret-position="690">
181
+ <caret line="30" column="30" lean-forward="true" selection-start-line="30" selection-start-column="30" selection-end-line="30" selection-end-column="30" />
182
+ <folding />
183
+ </state>
184
+ </provider>
185
+ </entry>
186
+ </component>
187
+ </project>
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.0
5
+ before_install: gem install bundler -v 1.16.1
@@ -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 rickmark@dropbox.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 apple_pkg.gemspec
6
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Rick Mark
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,43 @@
1
+ # ApplePkg
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/apple_pkg`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'apple_pkg'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install apple_pkg
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/apple_pkg. 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.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
+
41
+ ## Code of Conduct
42
+
43
+ Everyone interacting in the ApplePkg project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/apple_pkg/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,36 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "apple_pkg/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "apple_pkg"
8
+ spec.version = ApplePkg::VERSION
9
+ spec.authors = ["Rick Mark"]
10
+ spec.email = ["rickmark@dropbox.com"]
11
+
12
+ spec.summary = %q{Library for reading Apple installer (.pkg) format}
13
+ spec.description = %q{Library for reading and interacting with Apple's installer (.pkg and .mpkg) file formats.}
14
+ spec.homepage = "https://github.com/dropbox/apple_pkg"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against " \
23
+ "public gem pushes."
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = "exe"
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ["lib"]
32
+
33
+ spec.add_development_dependency "bundler", "~> 1.16"
34
+ spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "rspec", "~> 3.0"
36
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "apple_pkg"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,5 @@
1
+ require "apple_pkg/version"
2
+
3
+ module ApplePkg
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module ApplePkg
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: apple_pkg
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Rick Mark
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-09 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: Library for reading and interacting with Apple's installer (.pkg and
56
+ .mpkg) file formats.
57
+ email:
58
+ - rickmark@dropbox.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - ".idea/apple_pkg.iml"
65
+ - ".idea/misc.xml"
66
+ - ".idea/modules.xml"
67
+ - ".idea/workspace.xml"
68
+ - ".rspec"
69
+ - ".travis.yml"
70
+ - CODE_OF_CONDUCT.md
71
+ - Gemfile
72
+ - LICENSE.txt
73
+ - README.md
74
+ - Rakefile
75
+ - apple_pkg.gemspec
76
+ - bin/console
77
+ - bin/setup
78
+ - lib/apple_pkg.rb
79
+ - lib/apple_pkg/version.rb
80
+ homepage: https://github.com/dropbox/apple_pkg
81
+ licenses:
82
+ - MIT
83
+ metadata:
84
+ allowed_push_host: https://rubygems.org
85
+ post_install_message:
86
+ rdoc_options: []
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ required_rubygems_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ requirements: []
100
+ rubyforge_project:
101
+ rubygems_version: 2.5.2
102
+ signing_key:
103
+ specification_version: 4
104
+ summary: Library for reading Apple installer (.pkg) format
105
+ test_files: []