cocoapods-kocomojo-sdk 0.1.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 +7 -0
- data/.document +5 -0
- data/.gitignore +49 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +88 -0
- data/LICENSE.txt +77 -0
- data/README.rdoc +26 -0
- data/cocoapods-kocomojo-sdk.gemspec +24 -0
- data/install.sh +6 -0
- data/lib/cocoapods_kocomojo_sdk.rb +3 -0
- data/lib/cocoapods_plugin.rb +1 -0
- data/lib/pod/command/kocomojo_sdk.rb +66 -0
- metadata +83 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6df624f5d788513f683b0703ec9be9d13c556954
|
4
|
+
data.tar.gz: 55514ecf018608bb019ddb65a64195038b7e3b6d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 4ddec7559e639da851e162b12904400ee8f595c29aef7714f28fd10de122f643fe48b0cf193351df2b8ac0fd057a8178a042a86e2ece0f368b5d335f1c1992d0
|
7
|
+
data.tar.gz: bd801554e785e8547d3d94e121e764c4c25861dd29b04aeec1fe0ce7fa4db81e895b1697c1c5b7426fd0145ffbaa70993ccc2fcf0b537510f46ee80c5ac254ce
|
data/.document
ADDED
data/.gitignore
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
coverage.data
|
4
|
+
|
5
|
+
# rdoc generated
|
6
|
+
rdoc
|
7
|
+
|
8
|
+
# yard generated
|
9
|
+
doc
|
10
|
+
.yardoc
|
11
|
+
|
12
|
+
# bundler
|
13
|
+
.bundle
|
14
|
+
|
15
|
+
# jeweler generated
|
16
|
+
pkg
|
17
|
+
|
18
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
19
|
+
#
|
20
|
+
# * Create a file at ~/.gitignore
|
21
|
+
# * Include files you want ignored
|
22
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
23
|
+
#
|
24
|
+
# After doing this, these files will be ignored in all your git projects,
|
25
|
+
# saving you from having to 'pollute' every project you touch with them
|
26
|
+
#
|
27
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
28
|
+
#
|
29
|
+
# For MacOS:
|
30
|
+
#
|
31
|
+
#.DS_Store
|
32
|
+
|
33
|
+
# For TextMate
|
34
|
+
#*.tmproj
|
35
|
+
#tmtags
|
36
|
+
|
37
|
+
# For emacs:
|
38
|
+
#*~
|
39
|
+
#\#*
|
40
|
+
#.\#*
|
41
|
+
|
42
|
+
# For vim:
|
43
|
+
#*.swp
|
44
|
+
|
45
|
+
# For redcar:
|
46
|
+
#.redcar
|
47
|
+
|
48
|
+
# For rubinius:
|
49
|
+
#*.rbc
|
data/Gemfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
# Add dependencies required to use your gem here.
|
3
|
+
# Example:
|
4
|
+
# gem "activesupport", ">= 2.3.5"
|
5
|
+
|
6
|
+
gem "xcodeproj"
|
7
|
+
|
8
|
+
# Add dependencies to develop your gem here.
|
9
|
+
# Include everything needed to run rake, tests, features, etc.
|
10
|
+
group :development do
|
11
|
+
gem "shoulda", ">= 0"
|
12
|
+
gem "rdoc", "~> 3.12"
|
13
|
+
gem "bundler", "~> 1.0"
|
14
|
+
gem "jeweler", "~> 2.0.1"
|
15
|
+
gem "simplecov", ">= 0"
|
16
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
activesupport (5.0.0.1)
|
5
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
|
+
i18n (~> 0.7)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
tzinfo (~> 1.1)
|
9
|
+
addressable (2.4.0)
|
10
|
+
builder (3.2.2)
|
11
|
+
claide (1.0.1)
|
12
|
+
colored (1.2)
|
13
|
+
concurrent-ruby (1.0.2)
|
14
|
+
descendants_tracker (0.0.4)
|
15
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
16
|
+
docile (1.1.5)
|
17
|
+
faraday (0.9.2)
|
18
|
+
multipart-post (>= 1.2, < 3)
|
19
|
+
git (1.3.0)
|
20
|
+
github_api (0.14.5)
|
21
|
+
addressable (~> 2.4.0)
|
22
|
+
descendants_tracker (~> 0.0.4)
|
23
|
+
faraday (~> 0.8, < 0.10)
|
24
|
+
hashie (>= 3.4)
|
25
|
+
oauth2 (~> 1.0)
|
26
|
+
hashie (3.4.6)
|
27
|
+
highline (1.7.8)
|
28
|
+
i18n (0.7.0)
|
29
|
+
jeweler (2.0.1)
|
30
|
+
builder
|
31
|
+
bundler (>= 1.0)
|
32
|
+
git (>= 1.2.5)
|
33
|
+
github_api
|
34
|
+
highline (>= 1.6.15)
|
35
|
+
nokogiri (>= 1.5.10)
|
36
|
+
rake
|
37
|
+
rdoc
|
38
|
+
json (1.8.3)
|
39
|
+
jwt (1.5.6)
|
40
|
+
mini_portile2 (2.1.0)
|
41
|
+
minitest (5.9.1)
|
42
|
+
multi_json (1.12.1)
|
43
|
+
multi_xml (0.5.5)
|
44
|
+
multipart-post (2.0.0)
|
45
|
+
nokogiri (1.6.8.1)
|
46
|
+
mini_portile2 (~> 2.1.0)
|
47
|
+
oauth2 (1.2.0)
|
48
|
+
faraday (>= 0.8, < 0.10)
|
49
|
+
jwt (~> 1.0)
|
50
|
+
multi_json (~> 1.3)
|
51
|
+
multi_xml (~> 0.5)
|
52
|
+
rack (>= 1.2, < 3)
|
53
|
+
rack (2.0.1)
|
54
|
+
rake (11.3.0)
|
55
|
+
rdoc (3.12.2)
|
56
|
+
json (~> 1.4)
|
57
|
+
shoulda (3.5.0)
|
58
|
+
shoulda-context (~> 1.0, >= 1.0.1)
|
59
|
+
shoulda-matchers (>= 1.4.1, < 3.0)
|
60
|
+
shoulda-context (1.2.1)
|
61
|
+
shoulda-matchers (2.8.0)
|
62
|
+
activesupport (>= 3.0.0)
|
63
|
+
simplecov (0.12.0)
|
64
|
+
docile (~> 1.1.0)
|
65
|
+
json (>= 1.8, < 3)
|
66
|
+
simplecov-html (~> 0.10.0)
|
67
|
+
simplecov-html (0.10.0)
|
68
|
+
thread_safe (0.3.5)
|
69
|
+
tzinfo (1.2.2)
|
70
|
+
thread_safe (~> 0.1)
|
71
|
+
xcodeproj (1.3.2)
|
72
|
+
activesupport (>= 3)
|
73
|
+
claide (>= 1.0.1, < 2.0)
|
74
|
+
colored (~> 1.2)
|
75
|
+
|
76
|
+
PLATFORMS
|
77
|
+
ruby
|
78
|
+
|
79
|
+
DEPENDENCIES
|
80
|
+
bundler (~> 1.0)
|
81
|
+
jeweler (~> 2.0.1)
|
82
|
+
rdoc (~> 3.12)
|
83
|
+
shoulda
|
84
|
+
simplecov
|
85
|
+
xcodeproj
|
86
|
+
|
87
|
+
BUNDLED WITH
|
88
|
+
1.12.5
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
KOCOMOJO, LLC
|
2
|
+
Customer License Agreement
|
3
|
+
LAST REVISION: August 19, 2015
|
4
|
+
|
5
|
+
|
6
|
+
BEFORE YOU USE OR DOWNLOAD KOCOMOJO, LLC’S (“KOCOMOJO”) “SDK” (AS DEFINED BELOW), “API” (AS DEFINED BELOW), THE “WEB APPLICATION” (AS DEFINED BELOW) OR OTHER LOCATION-BASED INTEGRATION TECHNOLOGY AND SOLUTIONS SERVICES (COLLECTIVELY, THE “PRODUCTS”), CAREFULLY READ THE TERMS OF THIS LICENSE AGREEMENT (“AGREEMENT”). BY CLICKING THE “I AGREE” BUTTON INDICATING YOUR ACCEPTANCE, OR BY DOWNLOADING OR USING KOCOMOJO’S PRODUCTS, YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU REPRESENT THAT YOU HAVE THE AUTHORITY TO BIND YOURSELF AND/OR ANY ENTITY THAT YOU REPRESENT AND ITS AFFILIATES AND/OR OTHER LEGAL ENTITIES ON WHOSE BEHALF YOU ARE ENTERING INTO THIS AGREEMENT (“YOU” OR “YOUR”), TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT HAVE SUCH AUTHORITY, OR IF YOU DO NOT AGREE WITH THE TERMS AND CONDITIONS OF THIS AGREEMENT, YOU MUST NOT ACCEPT THIS AGREEMENT AND SHOULD CLICK THE “CANCEL” BUTTON, AND THE DOWNLOAD AND INSTALLATION PROCESS WILL NOT CONTINUE.
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
The following definitions apply herein:
|
10
|
+
|
11
|
+
1.1 “Documentation” means any written materials provided to You by Kocomojo relating to the “Software” (as defined below) or any information or materials made available by Kocomojo online related to the Software.
|
12
|
+
|
13
|
+
1.2 “Enhancements” means any modification or addition to the Software that materially changes its utility, efficiency, function capability or application, but that does not solely consist of an “Error Correction” (as defined below). Kocomojo may designate Enhancements as minor or major.
|
14
|
+
|
15
|
+
1.3 “Software” means one or more of the following, the Software Development Kit (“SDK”), the Application Programming Interface (“API”) and the web application (“Web Application”), together with any Updates or Enhancements thereto.
|
16
|
+
|
17
|
+
1.4 “Updates” means any new version of the Software, which may include Error Corrections, Enhancements or both, issued by Kocomojo from time to time to You.
|
18
|
+
|
19
|
+
2. License.
|
20
|
+
|
21
|
+
2.1 In order to use the Products, You are required to select either the Basic, Plus or Premium subscription plan (each, a “Subscription Plan”) and create an account with KocoConnect to provide a method of secure encrypted payment, which will require You to provide Your name, credit card information (including card number, expiration date and security code), billing address (street address, city, state and ZIP code) and phone number. Subject to Your compliance with the terms and conditions of this Agreement, Kocomojo grants You (i) if you are a developer, a limited, non-exclusive, non-transferable, non-sublicensable license to install, execute, display and otherwise use the Software that You are about to download along with any Documentation that accompanies it solely for the internal purposes of developing applications that are interoperable with the Products; and (ii) if You are a brand, a limited, non-exclusive, non-transferable, non-sublicensable license to install, execute, display and otherwise use the Software that You are about to download along with any Documentation that accompanies it solely for the purpose of advertising in connection with and/or powered by the Products. The license also includes the right for You to make the number of copies of the Software reasonably required for authorized use under this Agreement, provided that You maintain on all such copies all proprietary rights notices of the Software. The license further includes the right for You to view and use the sample code and the public video featuring the use of sample code that can be integrated or incorporated into a custom application using the Software; provided that You shall not distribute, publish, use publicly or otherwise commercially exploit such sample code or video. You shall not permit any affiliated entities or third parties to use, distribute, directly access, copy, download or install the Software for their own use unless as otherwise set forth in this Agreement. You hereby accept the grant of such license and agree to be bound by all conditions of this Agreement. The Software provided pursuant to this Agreement is NOT custom software specifically designed for You or to meet any of Your specific systems, applications or user functions. Kocomojo makes no representation to You that the Software will interface or otherwise function with Your operating system or any third party systems or software utilized by You.
|
22
|
+
|
23
|
+
2.2 You hereby grant to Kocomojo a royalty-free, fully paid-up, sub-licensable, transferrable, nonexclusive, worldwide, irrevocable and perpetual license to reproduce, display, distribute and otherwise use the trademarks, service marks, logos or other indicia of origin associated with You solely for the purpose of indicating that You are Kocomojo’s client and promoting You in Kocomojo’s advertising, marketing or promotional materials.
|
24
|
+
|
25
|
+
2.3 Except for the terms of the license set forth herein, Kocomojo retains all right, title and interest in and to the Software, Documentation and Products, and all intellectual property rights therein. You are not authorized to alter, modify, copy, edit, format, create derivative works of or otherwise use any materials, content or technology provided under this license except as explicitly provided in this license or approved in advance in writing by Kocomojo.
|
26
|
+
|
27
|
+
2.4 Your posting of any content on or within the Service shall be subject to the terms of Company’s Copyright Policy. .
|
28
|
+
|
29
|
+
3. Proprietary Rights. You acknowledge and agree that the Software and Products contain proprietary and trade secret information of Kocomojo. Other than the limited license granted to You under Section 2 of this Agreement, Kocomojo retains all ownership and proprietary rights in and to the Software and Products, including any and all copies made by You and any and all Updates or Enhancements. You will have no right and will not, nor will You authorize or assist others to: (a) copy the Documentation; or (b) disassemble, reverse engineer, modify, translate, alter, decompile or create derivative works of all or any portion of the Software or the Products or otherwise discern the source code of the Software or the Products except and solely to the extent permitted under applicable law notwithstanding this restriction; or (c) use the Software to create any feature or service that is competitive with Kocomojo’s Products; or (d) use the Software on a service bureau or time sharing basis or to provide services to third parties; or (e) distribute, copy, rent, lease, sublicense, assign, transmit, sell or otherwise transfer the Software or Products or any of Your rights therein, except such copying and transfer as expressly permitted in this Agreement; or (f) use the Software for performing testing or other comparative activities (or publish any such results); or (g) use the Software for any commercial purpose.
|
30
|
+
|
31
|
+
4. Payment and Refund Policy. You agree to pay a subscription license fee in U.S. dollars for use of the Products in accordance with the Subscription Plan You selected when You created an account (“License Fee”) upon the conclusion of the trial period provided to new users of the Products, and monthly thereafter. Any charges for additional functionality or features used in connection with Your use of the Subscription Plan will be billed to Your account on a monthly basis. The amount and payment terms for such License Fee are as disclosed to You within the Web Application or as provided by a Kocomojo representative who You may call or who may contact You regarding a custom license agreement in connection with Your use of the Products. You may be prompted from time to time with offers to upgrade Your Subscription Plan for an additional License Fee, which such offers may be sent by Kocomojo through the dashboard, direct messages or other means of communication via the Web Application or via contact information you have provided to Kocomojo. If Kocomojo in its sole discretion chooses to establish fees and payment terms for the use of any upgraded or additional aspects of the Products, Kocomojo will provide notice of such terms as provided in Section 15 below, and You may elect to stop using the Products rather than incurring fees. If You continue to use the Products following such notice, You shall pay a separate License Fee in U.S. dollars. All License Fees shall be exclusive of any and all taxes, and You are responsible for payment of such taxes (excluding those based on Kocomojo’s net income). You agree to hold harmless Kocomojo from all claims and liability arising from Your failure to report or pay such taxes. Any unpaid portion of any License Fee, or other fee, payable by You to Kocomojo under this Agreement, as of the date of expiration or termination for any reason, shall be immediately due and payable. Past due amounts shall be subject to a monthly service charge of three and one-half percent (3.5%) per month of the unpaid balance or the maximum rate allowable by law. To the fullest extent permitted by law, You waive all claims relating to License Fees unless such claims are made within thirty (30) days after the applicable License Fees are charged (this does not affect any of Your rights with and/or respecting Your credit card issuer). Refunds (if any) are at the discretion of Kocomojo and will only be in the form of credit for the Products. Nothing in this Agreement obligates Kocomojo to extend credit to any party.
|
32
|
+
|
33
|
+
5. User Data. You agree that the Software and Products will enable You to share and receive information about Your employees, end users and/or customers with and from Kocomojo, which may include geolocation and other personally identifiable information. As a condition of Your use of the Software and Products, You must obtain express consent to collect and share such employee, end user or customer information with Kocomojo by specifically including language in Your privacy policy requiring employees, users and/or customers to accept the terms of Kocomojo’s Privacy Policy and allowing for the collection and transmittal of such information to Kocomojo. Kocomojo’s use of any information You provide via the Products shall be governed by the Privacy Policy available at www.kocomojo.com/privacy, the terms and conditions of which you hereby accept. You acknowledge and agree that You are solely responsible for the accuracy and content of such information.
|
34
|
+
|
35
|
+
6. Support Services; Hardware.
|
36
|
+
|
37
|
+
6.1 This Agreement does not include support, or any configuration or customization of the Software or Products to Your system and specifications or any other services. If You desire support and maintenance, such services shall be governed by a separate Support Services Agreement with Kocomojo. If You desire any additional services with respect to the Software or Products, such services shall be governed by a separate Service Agreement with Kocomojo.
|
38
|
+
|
39
|
+
6.2 The Products are designed to interact with Apple iBeacons and/or other similar hardware involving location services technology (“Hardware”). Kocomojo does not provide any Hardware or hardware configuration, installation or other services related thereto under this Agreement. To the extent You wish to obtain Hardware or any related services through Kocomojo, and Kocomojo agrees, such products and services shall be governed by a separate Hardware Agreement. In any event, Your use of any Hardware (whether provided by Kocomojo for testing purposes or obtained independently by You) in conjunction with the Products shall be governed by this Agreement.
|
40
|
+
|
41
|
+
7. Limited Warranties; Disclaimer of Warranties.
|
42
|
+
|
43
|
+
7.1 Kocomojo warrants that the Software and Products will perform substantially in accordance with the Documentation. Your sole and exclusive remedy for breach of this warranty shall be to notify Kocomojo, detailing the nonconformance, and to provide Kocomojo with a reasonable opportunity to correct or replace the defective Software. If Kocomojo fails to remedy such breach within a reasonable time period after receipt of Your notice, You shall be entitled to terminate this Agreement. This limited warranty shall be void if Kocomojo determines that the Software or Products have been used other than in accordance with the Documentation, abused, modified, altered or otherwise subjected to damage from accident or acts of nature. You agree to comply with Kocomojo’s reasonable instructions with respect to the alleged defective Software or Products.
|
44
|
+
|
45
|
+
7.2 EXCEPT AS EXPRESSLY PROVIDED IN SECTION 7.1.1, THE SOFTWARE AND PRODUCTS ARE PROVIDED BY KOCOMOJO TO YOU “AS IS,” AND KOCOMOJO MAKES NO WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, REGARDING THE SOFTWARE AND PRODUCTS AND SPECIFICALLY DISCLAIMS THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND AGAINST INFRINGEMENT, TO THE MAXIMUM EXTENT POSSIBLE BY LAW. KOCOMOJO DOES NOT WARRANT THAT THE SOFTWARE AND PRODUCTS WILL MEET YOUR REQUIREMENTS, OPERATE WITHOUT INTERRUPTION OR BE ERROR-FREE. YOU WILL BEAR ALL RISKS RELATING TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE AND PRODUCTS, AND ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
46
|
+
|
47
|
+
7.3 You are solely responsible for proper configuration of all hardware and other equipment and all databases and other software used with the Software or Products.
|
48
|
+
|
49
|
+
8. Indemnity.
|
50
|
+
|
51
|
+
8.1 You agree to defend, indemnify and hold Kocomojo, its directors, officers, employees, agents and affiliates harmless from any and all claims, lawsuits, demands, settlements, judgments, liabilities, damages, losses, costs and expenses, including reasonable attorneys’ fees (collectively, “Claims”), in any way arising from, related to or in connection with Your use of the Software or the Products, Your violation of any representation, warranty, covenant or obligation under this Agreement or the posting or transmission of any content, information, data or other materials on or through the Products by You, including, but not limited to, any third party claim that any information or materials You provide infringe or violate any copyright, patent, trademark, trade secret, right of publicity or privacy or any other third party proprietary right.
|
52
|
+
|
53
|
+
8.2 Kocomojo will have no obligation to You for any Claim that arises from: (a) any modification to the Software or Products by anyone other than Kocomojo; (b) modifications made by Kocomojo at Your request; (c) use of the Software or Products other than as specified in this Agreement or in the applicable Documentation; (d) use of prior versions of the Software or Products after an Update has been provided by Kocomojo to You; or (e) use of the Software or Products in combination with third-party software, hardware or data.
|
54
|
+
|
55
|
+
8.3 If a Claim arises, or in Kocomojo’s opinion is likely to arise, Kocomojo may at its own expense obtain for You the right to continue using the Software or Products, modify the Software or Products to make any of them non-infringing, or substitute other software or products of similar capability and functionality. If none of these options are reasonably available to Kocomojo, Kocomojo may terminate this Agreement. THIS SECTION 8 STATES THE ENTIRE OBLIGATION OF KOCOMOJO AND THE EXCLUSIVE REMEDIES TO YOU WITH RESPECT TO ANY CLAIMS OF INFRINGEMENT OR PROPRIETARY RIGHTS VIOLATIONS.
|
56
|
+
|
57
|
+
9. Limitation of Liability. IN NO EVENT SHALL KOCOMOJO BE LIABLE TO YOU FOR CONSEQUENTIAL, EXEMPLARY, INDIRECT, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, LOST PROFITS), OR BE LIABLE TO ANY THIRD PARTY FOR ANY DAMAGES WHATSOEVER, EVEN IF KOCOMOJO HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Kocomojo’s entire liability under this Agreement for any damages from any cause whatsoever, regardless of form or action, whether in contract, negligence or otherwise, shall in no event exceed an amount equal to $100.
|
58
|
+
|
59
|
+
10. Confidential Information. Kocomojo and You agree to keep confidential and to use only for purposes of performing or as otherwise permitted under this Agreement, any proprietary or confidential information of the other party disclosed pursuant to this Agreement which is marked as confidential or which would reasonably be considered of a confidential nature (“Confidential Information”). The obligation of confidentiality shall not apply to information which is publicly available through authorized disclosure, is known by the receiving party at the time of disclosure as evidenced in writing or is rightfully obtained from a third party who has the right to disclose it or which is required by law, government order or request to be disclosed; provided that the disclosing party will give prompt written notice to the non-disclosing party of such order in order to permit the non-disclosing party to seek confidential treatment of such information, and provided that the disclosing party will only furnish that portion of the Confidential Information it is required to disclose. Notwithstanding any of the foregoing, You acknowledge and agree that the Software and Products shall be deemed to constitute Confidential Information of Kocomojo. Kocomojo and You agree to maintain all Confidential Information of the other party in confidence to the same extent that each of Kocomojo and You protects its own similar Confidential Information. Kocomojo and You agree to take reasonable precautions to prevent any unauthorized disclosure or use of Confidential Information of the other party, including, without limitation, by disclosing such Confidential Information only to its employees or agents (a) with a need to know such information, (b) who are parties to appropriate agreements or confidentiality obligations sufficient to comply with this Section, and (c) who are informed of the nondisclosure/non-use obligations imposed by this Section, and the receiving party will take appropriate steps to implement and enforce such non-disclosure/non-use obligations. Upon any termination of this Agreement, each party shall return to the other party all Confidential Information of the other party, and all copies thereof, in the possession, custody or control of the party unless otherwise expressly provided in this Agreement.
|
60
|
+
|
61
|
+
11. Term and Termination. This Agreement shall continue in effect for so long as You utilize or have access to the Software or Products. Kocomojo may terminate this Agreement at any time for any reason or for no reason without prior written notice to You. You may terminate this Agreement by giving Kocomojo thirty (30) days advance written notice of such termination. Upon termination of this Agreement, the license granted to You under this Agreement will revert to Kocomojo and You will cease all use of the Software or Products. Within ten (10) business days of termination, You will destroy or deliver to Kocomojo all copies of the Software or any portion thereof in Your possession or under Your control, and You will certify to Kocomojo such destruction or delivery. Your failure to comply with the obligations of this Section will constitute unauthorized use of the Software or Products, entitling Kocomojo to equitable relief as provided in this Agreement as well as Kocomojo’s other legal and equitable remedies. Sections 3, 4, 5, 7 – 10 and 12 – 15 shall survive any expiration or termination of this Agreement.
|
62
|
+
|
63
|
+
12. Force Majeure. Neither party shall be liable to the other for any performance delay or failure to perform hereunder, exclusive of any payment obligations, due to any act, omission or condition beyond the reasonable control of the affected party, provided the affected party gives prompt notice to the other and makes reasonable efforts to resume performance as soon as possible.
|
64
|
+
|
65
|
+
13. System Installation and Tampering.
|
66
|
+
|
67
|
+
13.1 System Installation. Kocomojo does not provide any installation services, unless as otherwise set forth in a separate Service Agreement. It is Your responsibility to provide the operating system and any other equipment required to operate the Software, Products or as otherwise specified in the Documentation. Kocomojo reserves the right to change or modify the requirements to operate the Software or Products at any time and at its sole discretion. You shall be solely responsible for installation of the Software, data conversion, data entry and verification of data. KOCOMOJO SHALL NOT BE RESPONSIBLE FOR ANY FAILURE OF THE SOFTWARE OR PRODUCTS BASED ON YOUR OPERATING SYSTEMS AND THIRD PARTY SOFTWARE INCLUDING, BUT NOT LIMITED TO, VIRTUAL MACHINES, LIBRARIES AND/OR HARDWARE. Notwithstanding, to the extent that Kocomojo changes or modifies the requirements necessary to operate the Software and Products, Kocomojo shall use commercially reasonable efforts to provide You with prior notice of such change.
|
68
|
+
|
69
|
+
13.2 System Tampering. Under no circumstances shall You, or third parties acting on Your behalf, modify, decompile, disassemble or otherwise reverse engineer the Software or Products. You shall be responsible for any breaches or violations of this Agreement by Your employees or other such third parties. If You notify Kocomojo of an error or malfunction in the Software or Products which, after investigation by Kocomojo, is determined to have been caused by any unauthorized modifications, this License is voidable at the option of Kocomojo and voids any warranties, expressed or implied, thereto. At a minimum, however, You shall reimburse Kocomojo, at its then current rates, for all costs incurred by Kocomojo in investigating and correcting such error or malfunction.
|
70
|
+
|
71
|
+
14. Third Party Software. You acknowledge that the Software and Products may contain or be accompanied by certain third party or open source software products which may be provided subject to licenses which disclaim all warranties, express or implied, including, without limitation, the Apache License, the General Public License, and other licenses (“Third Party Components”). KOCOMOJO MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED (EITHER IN FACT, STATUTORY OR BY OPERATION OF LAW) WITH RESPECT TO THIRD PARTY PRODUCTS, INCLUDING, BUT NOT LIMITED TO, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, MISAPPROPRIATION OF INTELLECTUAL PROPERTY RIGHTS OF A THIRD PARTY OR SUITABILITY, ALL OF WHICH ARE EXPRESSLY DISCLAIMED. Third Party Components may be accompanied by certain notices or license documentation relating to such Third Party Components (collectively, the “Third Party Notices”). You shall comply with the terms of all Third Party Notices governing Your use of such Third Party Components.
|
72
|
+
|
73
|
+
15. Miscellaneous. The Software and Products are subject to export regulations and You agree to adhere to any applicable laws and regulations. You must comply with all United States and international export laws and regulations, which include restrictions on destinations, end users and end use. This Agreement constitutes the entire agreement of the parties, and supersedes any prior or contemporaneous agreements between You and Kocomojo with respect to the subject of this Agreement. Except as otherwise expressly provided herein, this Agreement may be modified only by a writing signed by an authorized representative of each party. This Agreement shall be governed by and construed in accordance with the laws of the State of Delaware exclusive of its conflict of laws principles. Any dispute hereunder will be negotiated in good faith between the parties within forty-five (45) days commencing upon written notice from one party to the other and neither party will file an action prior to the termination of such forty-five (45) day period. All disputes, controversies or disagreements which may arise between the parties, in relation to or in connection with this Agreement, or for the breach hereof shall be finally settled by arbitration in Delaware, by a single arbitrator in accordance with the Commercial Arbitration Rules of the American Arbitration Association. The award rendered by the arbitrator shall be final and binding upon both parties. The parties may apply to any court of competent jurisdiction for a temporary restraining order, preliminary injunction or other interim or conservatory relief, as necessary, without breach of this arbitration agreement and without any abridgment of the powers of the arbitrator. The prevailing party shall be awarded its reasonable attorneys’ fees and costs in any arbitration, suit or proceeding arising out of or related to this Agreement. Notices under this Agreement shall be in writing, addressed to Kocomojo at its address below or by sending You a notice via email, and shall be deemed given when delivered personally, or by facsimile (with confirmation of receipt), conventional mail (registered or certified, postage prepaid with return receipt requested) or overnight courier. Nothing contained in this Agreement is intended or is to be construed to create a partnership, joint venture or agency relationship. If any provision of this Agreement shall be declared invalid, illegal or unenforceable, all remaining provisions shall continue in full force and effect. You may not delegate, assign or transfer this Agreement, or any of Your rights and obligations under this Agreement, and any attempt to do so shall be void. Nothing in this Agreement shall be construed to limit or delay Kocomojo’s ability to seek immediate relief at law or in equity for any breach by You of the license. No waiver of any rights hereunder shall be deemed to be a waiver of the same or other right on any other occasion.
|
74
|
+
|
75
|
+
Kocomojo, LLC
|
76
|
+
5310 Paylor Lane
|
77
|
+
Sarasota, Florida 34240
|
data/README.rdoc
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
= cocoapods-kocomojo-sdk
|
2
|
+
|
3
|
+
KocomojoSDK utility
|
4
|
+
|
5
|
+
Use it to finalize installation of KocomojoSDK in your XCode project.
|
6
|
+
|
7
|
+
Easy Installation:
|
8
|
+
curl https://dl.dropboxusercontent.com/s/0l27daf1401mxrz/install.sh -s | sh
|
9
|
+
|
10
|
+
That's it! If you need to:
|
11
|
+
|
12
|
+
Manual Installation:
|
13
|
+
curl -o cocoapods-kocomojo-sdk.gem https://dl.dropboxusercontent.com/s/47f4ea7wbdl2cya/cocoapods-kocomojo-sdk-1.0.0.gem
|
14
|
+
sudo gem install cocoapods-kocomojo-sdk.gem
|
15
|
+
rm cocoapods-kocomojo-sdk.gem
|
16
|
+
pod kocomojo-sdk
|
17
|
+
|
18
|
+
Usage:
|
19
|
+
|
20
|
+
pod kocomojo-sdk [MyProject.xcodeproj]
|
21
|
+
|
22
|
+
== Copyright
|
23
|
+
|
24
|
+
Copyright (c) 2016 Kocomojo, LLC. See LICENSE.txt for
|
25
|
+
further details.
|
26
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cocoapods_kocomojo_sdk'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "cocoapods-kocomojo-sdk"
|
8
|
+
spec.version = CocoaPodsKocomojoSdk::VERSION
|
9
|
+
spec.authors = ["Elijah Windsor"]
|
10
|
+
spec.email = ["ewindsor@gmail.com"]
|
11
|
+
spec.summary = "KocomojoSDK utility"
|
12
|
+
spec.homepage = "https://github.com/KocomojoLLC/cocoapods-kocomojo-sdk"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files`.split($/)
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
21
|
+
spec.add_development_dependency "rake", '~> 10.0'
|
22
|
+
|
23
|
+
spec.required_ruby_version = '>= 2.0.0'
|
24
|
+
end
|
data/install.sh
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'pod/command/kocomojo_sdk'
|
@@ -0,0 +1,66 @@
|
|
1
|
+
require 'xcodeproj'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Command
|
5
|
+
class KocomojoSdk < Command
|
6
|
+
self.summary = "KocomojoSDK utility"
|
7
|
+
self.description = <<-DESC
|
8
|
+
Finalize installation of KocomojoSDK in specified `XCODEPROJ`
|
9
|
+
DESC
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
CLAide::Argument.new('XCODEPROJ', true)
|
13
|
+
]
|
14
|
+
|
15
|
+
def initialize(argv)
|
16
|
+
@xcodeproj = argv.shift_argument
|
17
|
+
|
18
|
+
# if none specified then use first .xcodeproj if there's 1 (and only 1)
|
19
|
+
if !@xcodeproj && Dir['*.xcodeproj'].count == 1
|
20
|
+
@xcodeproj = Dir['*.xcodeproj'].first
|
21
|
+
end
|
22
|
+
|
23
|
+
super
|
24
|
+
end
|
25
|
+
|
26
|
+
def validate!
|
27
|
+
super
|
28
|
+
unless @xcodeproj
|
29
|
+
help! "Please specify your .xcodeproj"
|
30
|
+
end
|
31
|
+
|
32
|
+
unless File.directory?(@xcodeproj)
|
33
|
+
help! "Unable to find #{@xcodeproj}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
def run
|
38
|
+
project = Xcodeproj::Project.open(@xcodeproj)
|
39
|
+
main_target = project.targets.first
|
40
|
+
|
41
|
+
phase = nil
|
42
|
+
|
43
|
+
# see if we can reuse existing build phase
|
44
|
+
main_target.build_phases.each do |cur_phase|
|
45
|
+
next unless cur_phase.class == Xcodeproj::Project::Object::PBXShellScriptBuildPhase
|
46
|
+
|
47
|
+
next unless cur_phase.name == 'Kocomojo Strip Framework Architecture'
|
48
|
+
phase = cur_phase
|
49
|
+
end
|
50
|
+
|
51
|
+
# create new if necessary
|
52
|
+
if phase.nil?
|
53
|
+
phase = main_target.new_shell_script_build_phase("Kocomojo Strip Framework Architecture")
|
54
|
+
end
|
55
|
+
|
56
|
+
phase.shell_script = %{if [ -e "\${BUILT_PRODUCTS_DIR}/\${FRAMEWORKS_FOLDER_PATH}/KocomojoSDK.framework/strip-frameworks.sh" ]; then
|
57
|
+
bash "\${BUILT_PRODUCTS_DIR}/\${FRAMEWORKS_FOLDER_PATH}/KocomojoSDK.framework/strip-frameworks.sh"
|
58
|
+
fi}
|
59
|
+
|
60
|
+
project.save()
|
61
|
+
|
62
|
+
puts "Success!"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cocoapods-kocomojo-sdk
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Elijah Windsor
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-14 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.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.3'
|
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
|
+
description:
|
42
|
+
email:
|
43
|
+
- ewindsor@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".document"
|
49
|
+
- ".gitignore"
|
50
|
+
- Gemfile
|
51
|
+
- Gemfile.lock
|
52
|
+
- LICENSE.txt
|
53
|
+
- README.rdoc
|
54
|
+
- cocoapods-kocomojo-sdk.gemspec
|
55
|
+
- install.sh
|
56
|
+
- lib/cocoapods_kocomojo_sdk.rb
|
57
|
+
- lib/cocoapods_plugin.rb
|
58
|
+
- lib/pod/command/kocomojo_sdk.rb
|
59
|
+
homepage: https://github.com/KocomojoLLC/cocoapods-kocomojo-sdk
|
60
|
+
licenses:
|
61
|
+
- MIT
|
62
|
+
metadata: {}
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
require_paths:
|
66
|
+
- lib
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 2.0.0
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
requirements: []
|
78
|
+
rubyforge_project:
|
79
|
+
rubygems_version: 2.4.8
|
80
|
+
signing_key:
|
81
|
+
specification_version: 4
|
82
|
+
summary: KocomojoSDK utility
|
83
|
+
test_files: []
|