Skip to content

Commit

Permalink
Merge pull request #1 from tbointeractive/feature/release-preparation…
Browse files Browse the repository at this point in the history
…s-v1.0.0

Feature/release preparations v1.0.0
  • Loading branch information
pstued authored Oct 25, 2017
2 parents 9e0eef7 + 5a5930e commit bc03982
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 117 deletions.
98 changes: 0 additions & 98 deletions .gitlab-ci.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .gitlab/issue_templates/release.md

This file was deleted.

20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: objective-c
xcode_workspace: bytes.xcworkspace
xcode_scheme: bytes
xcode_sdk: iphonesimulator
osx_image: xcode9.1
before_install:
- 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'
install:
# - gem install danger
- gem install xcpretty
before_script:
- export LANG=en_US.UTF-8
# - danger
env:
matrix:
- TEST_DEVICE="iPhone 6,OS=11.0"
- TEST_DEVICE="iPhone 6,OS=10.3"
- TEST_DEVICE="iPhone 6,OS=9.3"
script:
- xcodebuild -workspace $TRAVIS_XCODE_WORKSPACE -scheme $TRAVIS_XCODE_SCHEME -sdk iphonesimulator11.0 -destination "platform=iOS Simulator,name=$TEST_DEVICE" test | xcpretty
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.9
* **feature** Release of v1.0

## 0.9
* **feature** Added a function to render a UIView into a UIImage.
* **feature** Added a function do calculate the difference between two dictionaries.
Expand Down
15 changes: 15 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Sometimes it's a README fix, or something like that - which isn't relevant for
# including in a project's CHANGELOG for example
declared_trivial = github.pr_title.include? "#trivial"
has_pod_changes = !git.modified_files.grep(/Classes/).empty?

# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
warn("PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"

# Warn when there is a big PR
warn("Big PR") if git.lines_of_code > 500

has_changelog = git.modified_files.include?("CHANGELOG.md")
if has_pod_changes && !has_changelog && !declared_trivial
fail("Any changes to the cocoapod neet a summary in the changelog.")
end
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
# bytes

[![build status](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/build.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop)
[![coverage report](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/coverage.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop)
[![Build Status](https://travis-ci.org/tbointeractive/bytes.svg?branch=develop)](https://travis-ci.org/tbointeractive/bytes)
<!-- [![coverage report](http://git.tbointeractive.com/chorstmann/bytes/badges/develop/coverage.svg)](http://git.tbointeractive.com/chorstmann/bytes/commits/develop) -->

**bytes** is a set of tools to cover many all-day tasks in iOS development.

## Get started
### Install via [CocoaPods](http://cocoapods.org/)

Add the TBO podspec repository as a source in your Podfile
```ruby
source '[email protected]:tbopodspecs/tbopodspecs.git'
```

And add the bytes Pod
Add the bytes Pod
```ruby
pod 'bytes'
```
Expand All @@ -27,7 +21,7 @@ Please read the documentation to find out about all the existing bytes.
Please start a discussion about a byte before implementing one of your own. We love to discuss new ideas and get a concept straigt early on.

### Testing
Please ensure proper testing of all your code whilst not blindly watching the coverage percentage.
Please ensure proper testing of all your code whilst not blindly watching the coverage percentage.

### Documentation
Please add proper documentation to your code (Xcode Editor -> Structure -> Add Documentation). We use [jazzy](https://github.com/realm/jazzy) to generate the docset. Use the `jazzy` command to generate it on your own machine.
Expand Down
10 changes: 5 additions & 5 deletions bytes.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
Pod::Spec.new do |s|

s.name = "bytes"
s.version = "0.9"
s.summary = "Have some bytes"
s.version = "1.0"
s.summary = "bytes is a set of tools to cover many all-day tasks in iOS development."

s.description = <<-DESC
bytes is a set of tools to cover many all-day tasks in iOS development.
DESC

s.homepage = "http://git.tbointeractive.com/chorstmann/bytes"
s.homepage = "https://github.com/tbointeractive/bytes"

s.license = "MIT"

s.author = { "Cornelius Horstmann" => "[email protected]", "Thorsten Stark" => "[email protected]", "Bernhard Eiling" => "[email protected]" }
s.author = { "Cornelius Horstmann" => "[email protected]", "Thorsten Stark" => "[email protected]", "Bernhard Eiling" => "[email protected]", "Pascal Stüdlein" => "[email protected]" }

s.platform = :ios, "8.2"

s.source = { :git => "[email protected].com:chorstmann/bytes.git", :tag => '0.9'}
s.source = { :git => "https://github.com/tbointeractive/bytes.git", :tag => 'v1.0'}

s.source_files = "bytes/bytes/**/*.swift"

Expand Down

0 comments on commit bc03982

Please sign in to comment.