Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update danger, and bump vesion to 4 #269

Merged
merged 7 commits into from
Jun 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ env:
before_script:
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- gem install cocoapods --no-document --pre --quiet
- bundle exec danger
- cd Example; pod update ; cd ..

xcode_workspace: Example/ARAnalyticsTests.xcworkspace
xcode_scheme: ARAnalyticsBootstrapiOS
xcode_sdk: iphonesimulator
xcode_sdk: iphonesimulator
5 changes: 3 additions & 2 deletions ARAnalytics.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'ARAnalytics'
s.version = '3.9.1'
s.version = '3.10.1'
s.license = {:type => 'MIT', :file => 'LICENSE' }
s.homepage = 'https://github.com/orta/ARAnalytics'
s.authors = { 'orta' => '[email protected]', 'Daniel Haight' => "[email protected]" }
Expand Down Expand Up @@ -71,7 +71,8 @@ Pod::Spec.new do |s|
ss.source_files = ['*.{h,m}', 'Providers/ARAnalyticalProvider.{h,m}', 'Providers/ARAnalyticsProviders.h']
ss.exclude_files = ['ARDSL.{h,m}']
ss.private_header_files = 'ARNavigationControllerDelegateProxy.h'
ss.platform = :ios
ss.tvos.deployment_target = '9.0'
ss.ios.deployment_target = '7.0'
end

s.subspec "DSL" do |ss|
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# ARAnalytics

## Master
## Version 3.10.1

* tvOS support actually works if you don't use cocoapods-expert-difficulty [orta]

## Version 3.10.0

* Add Google Analytics event dispatching immediately after sending events while debugging (@superarts)
* Added support for Firebase Analytics (@BenchR267)
Expand Down
14 changes: 14 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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 = pr_title.include? "#trivial"

# 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 pr_title.include? "[WIP]"

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

declared_trivial = (pr_title + pr_body).include?("#trivial")
if !modified_files.include?("CHANGELOG.md") && !declared_trivial
fail("Please include a CHANGELOG entry. \nYou can find it at [CHANGELOG.md](https://github.com/orta/ARAnalytics/blob/master/CHANGELOG.md).")
end
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'danger'
34 changes: 34 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.4.0)
claide (1.0.0)
colored (1.2)
danger (0.8.1)
claide
colored (~> 1.2)
faraday
git
octokit (~> 4.2)
redcarpet (~> 3.3)
terminal-table (~> 1)
faraday (0.9.2)
multipart-post (>= 1.2, < 3)
git (1.3.0)
multipart-post (2.0.0)
octokit (4.3.0)
sawyer (~> 0.7.0, >= 0.5.3)
redcarpet (3.3.4)
sawyer (0.7.0)
addressable (>= 2.3.5, < 2.5)
faraday (~> 0.8, < 0.10)
terminal-table (1.5.2)

PLATFORMS
ruby

DEPENDENCIES
danger

BUNDLED WITH
1.12.5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARAnalytics v3.X.Y [![Build Status](https://travis-ci.org/orta/ARAnalytics.svg?branch=master)](https://travis-ci.org/orta/ARAnalytics)
ARAnalytics v4 [![Build Status](https://travis-ci.org/orta/ARAnalytics.svg?branch=master)](https://travis-ci.org/orta/ARAnalytics)
================

ARAnalytics is to iOS what [Analytical](https://github.com/jkrall/analytical) is to ruby, or [Analytics.js](http://segmentio.github.com/analytics.js/) is to javascript.
Expand Down