Skip to content

Commit bb2cbfa

Browse files
committed
Cocoapods support
1 parent 8d96c33 commit bb2cbfa

File tree

5 files changed

+42
-2
lines changed

5 files changed

+42
-2
lines changed

Cartfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "Alamofire/Alamofire" ~> 1.2.1
1+
github "Alamofire/Alamofire" ~> 1.2.1

HypeMachineAPI.podspec

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Pod::Spec.new do |s|
2+
s.name = "HypeMachineAPI"
3+
s.version = "0.3.1"
4+
s.summary = "This is a partial implementation of the Hype Machine API in Swift."
5+
s.homepage = "https://github.com/PlugForMac/HypeMachineAPI"
6+
s.license = { :type => "MIT", :file => "LICENSE" }
7+
s.author = { "Alex Marchant" => "[email protected]" }
8+
s.platform = :osx, "10.10"
9+
s.source = { :git => "https://github.com/PlugForMac/HypeMachineAPI.git", :tag => s.version }
10+
s.source_files = 'Source/*.swift'
11+
s.requires_arc = true
12+
s.dependency "Alamofire", "~> 1.2.1"
13+
end

HypeMachineAPI.xcodeproj/project.pbxproj

+16
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
FA107A9A1B044ED9006FA015 /* MiscRequests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA107A991B044ED9006FA015 /* MiscRequests.swift */; };
1818
FA107AA31B0459D2006FA015 /* Dictionary+merge.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA107AA21B0459D2006FA015 /* Dictionary+merge.swift */; };
1919
FA21C3C31B01078900C1EAA8 /* MiscRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA21C3C21B01078900C1EAA8 /* MiscRouter.swift */; };
20+
FA277E461B31C937009254A0 /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = FA277E451B31C937009254A0 /* README.md */; };
21+
FA277E481B31C941009254A0 /* Cartfile in Resources */ = {isa = PBXBuildFile; fileRef = FA277E471B31C941009254A0 /* Cartfile */; };
22+
FA277E4A1B31C966009254A0 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = FA277E491B31C966009254A0 /* LICENSE */; };
23+
FA277E4C1B31CE84009254A0 /* HypeMachineAPI.podspec in Resources */ = {isa = PBXBuildFile; fileRef = FA277E4B1B31CE84009254A0 /* HypeMachineAPI.podspec */; };
2024
FA4D18ED1B0112C10043A040 /* Tags.json in Resources */ = {isa = PBXBuildFile; fileRef = FA4D18EB1B0112BA0043A040 /* Tags.json */; };
2125
FA4D18EF1B0112F80043A040 /* TagTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA4D18EE1B0112F80043A040 /* TagTests.swift */; };
2226
FA4D18F11B01132E0043A040 /* Tag.json in Resources */ = {isa = PBXBuildFile; fileRef = FA4D18F01B01132E0043A040 /* Tag.json */; };
@@ -95,6 +99,10 @@
9599
FA107A991B044ED9006FA015 /* MiscRequests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = MiscRequests.swift; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
96100
FA107AA21B0459D2006FA015 /* Dictionary+merge.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Dictionary+merge.swift"; sourceTree = "<group>"; };
97101
FA21C3C21B01078900C1EAA8 /* MiscRouter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MiscRouter.swift; sourceTree = "<group>"; };
102+
FA277E451B31C937009254A0 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
103+
FA277E471B31C941009254A0 /* Cartfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Cartfile; sourceTree = "<group>"; };
104+
FA277E491B31C966009254A0 /* LICENSE */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
105+
FA277E4B1B31CE84009254A0 /* HypeMachineAPI.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HypeMachineAPI.podspec; sourceTree = "<group>"; };
98106
FA4D18EB1B0112BA0043A040 /* Tags.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = Tags.json; sourceTree = "<group>"; };
99107
FA4D18EE1B0112F80043A040 /* TagTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; lineEnding = 0; path = TagTests.swift; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
100108
FA4D18F01B01132E0043A040 /* Tag.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = Tag.json; sourceTree = "<group>"; };
@@ -203,6 +211,10 @@
203211
FA5B33E51AFF4FF6009F2F95 /* Tests */,
204212
FA5B33D71AFF4FF6009F2F95 /* Products */,
205213
FA4D18FF1B0129C20043A040 /* Frameworks */,
214+
FA277E451B31C937009254A0 /* README.md */,
215+
FA277E491B31C966009254A0 /* LICENSE */,
216+
FA277E471B31C941009254A0 /* Cartfile */,
217+
FA277E4B1B31CE84009254A0 /* HypeMachineAPI.podspec */,
206218
);
207219
sourceTree = "<group>";
208220
};
@@ -432,6 +444,9 @@
432444
isa = PBXResourcesBuildPhase;
433445
buildActionMask = 2147483647;
434446
files = (
447+
FA277E4C1B31CE84009254A0 /* HypeMachineAPI.podspec in Resources */,
448+
FA277E4A1B31C966009254A0 /* LICENSE in Resources */,
449+
FA277E481B31C941009254A0 /* Cartfile in Resources */,
435450
);
436451
runOnlyForDeploymentPostprocessing = 0;
437452
};
@@ -481,6 +496,7 @@
481496
FA5B34401B01024C009F2F95 /* MeRouter.swift in Sources */,
482497
FA5B34071AFF543B009F2F95 /* LatestPlaylist.swift in Sources */,
483498
FA5B34301B00F934009F2F95 /* Artist.swift in Sources */,
499+
FA277E461B31C937009254A0 /* README.md in Sources */,
484500
FA5B34011AFF5433009F2F95 /* PopularPlaylist.swift in Sources */,
485501
FA5B34091AFF543B009F2F95 /* SearchPlaylist.swift in Sources */,
486502
FA107A901B042811006FA015 /* TracksRequests.swift in Sources */,

LICENSE

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2015 Alex Marchant
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HypeMachineAPI
22

3-
This is a partial implementation of the Hype Machine API. It is currently targetted at OSX but could easily be built for iOS as well.
3+
This is a partial implementation of the Hype Machine API in Swift. It is currently targetted at OSX but could easily be modified to work for iOS as well. Please create a pull request if you'd like iOS support.
44

55
## Installation
66

@@ -13,3 +13,7 @@ github "PlugForMac/HypeMachineAPI" ~> VERSION_NUMBER
1313
### CocoaPods
1414

1515
Please create an issue if you'd like CocoaPods support.
16+
17+
## Versioning
18+
19+
Prior to version 1.0.0 minor version numbers will introduce breaking changes.

0 commit comments

Comments
 (0)