Latest 2.0.0
Homepage https://github.com/tumblr/Spectacles
License Apache 2.0
Platforms ios 5.0, osx 10.7, requires ARC
Frameworks Foundation
Authors

Spectacles

CI Status
Version
License
Platform

A tiny library for parsing JSON podspecs.

This only exposes a subset of podspec properties at the moment but could theoretically be expanded to include everything in the specification. We currently use it in TMTumblrSDK for version reporting.

Usage

TMPodspec *spec = [[TMPodspec alloc] initWithFileURL:
                   [[NSBundle mainBundle] URLForResource:@"Spectacles.podspec" withExtension:@"json"]];

self.label = [[UILabel alloc] init];
self.label.text = [NSString stringWithFormat:@"%@ (%@)", spec.name, spec.version];

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

Spectacles is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Spectacles"

Contributing

Please see CONTRIBUTING.md for information on how to help out.

Contact

Bryan Irace

License

Copyright 2014 Tumblr, Inc.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

Latest podspec

{
    "name": "Spectacles",
    "version": "2.0.0",
    "summary": "A tiny library for parsing JSON podspecs.",
    "authors": {
        "Bryan Irace": "[email protected]"
    },
    "homepage": "https://github.com/tumblr/Spectacles",
    "license": {
        "type": "Apache 2.0",
        "file": "LICENSE"
    },
    "platforms": {
        "ios": "5.0",
        "osx": "10.7"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/tumblr/Spectacles.git",
        "tag": "2.0.0"
    },
    "source_files": "Pod/Classes",
    "frameworks": [
        "Foundation"
    ]
}

Pin It on Pinterest

Share This