strava-cli 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6b91beaa1f5816931d2c4fd42031fa9cdd15577b
4
- data.tar.gz: 674d99f373e57f3560ea6f0741feec13c11d5a72
2
+ SHA256:
3
+ metadata.gz: 16ac5a9c5b4b3fae8dab24e4a54a9d34a4770a761178a9ae65e0c258477ce21c
4
+ data.tar.gz: 4ba6df9b65642ffe710f336a316642b5af214c2b15c21cb7838c6d7ea454bb93
5
5
  SHA512:
6
- metadata.gz: 1d7ddb1356926a8b6c143c2b9092a6efeae23f2dee759d3accb4ba1f2d865941eba58641e36fa15a37a677387959167655fbfa339ae8bad5a070d74d9e2cb907
7
- data.tar.gz: 8375598e1b3a3682d03ae449ce025dc7cfe62c177da46fcfa6e78980e8b3c0bac5b4f8242c145ddda59e59e3adf1a891e066cd9270cfd04dca6a0dc906c65d0c
6
+ metadata.gz: 9587d159550540f9116fa85d7f458448338183821859cb766f5954a3c7cd45425917c84c4678e88924e5707b6c02f890fbf0010ab02b98486e90a251419fd0e7
7
+ data.tar.gz: f109fde28982978cb86d90a2deb3823f25ced8dd5477a02ee443d166a981c828321e4fbc87c8e06a064f682da8ed3e160539af51afae8a71de2ccb918f949873
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,27 @@
1
+ image: ruby:2.4
2
+
3
+ build:gem:
4
+ stage: build
5
+ script:
6
+ - gem build *.gemspec
7
+ artifacts:
8
+ name: "${CI_PROJECT_NAME}"
9
+ paths:
10
+ - "*.gem"
11
+ expire_in: 4 weeks
12
+ only:
13
+ - tags
14
+
15
+ publish:gem:
16
+ stage: deploy
17
+ dependencies:
18
+ - "build:gem"
19
+ when: manual
20
+ before_script:
21
+ - mkdir -p ~/.gem
22
+ - curl -u "${RUBYGEMS_USER}:${RUBYGEMS_PASS}" https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
23
+ - chmod 0600 ~/.gem/credentials
24
+ script:
25
+ - gem push *.gem
26
+ only:
27
+ - tags
data/lib/strava/app.rb CHANGED
@@ -155,7 +155,9 @@ module Strava
155
155
  def select_activities(type)
156
156
  activities.select do |activity|
157
157
  activity.type == type &&
158
- @scope.nil? || (!activity.private ^ (@scope == 'private'))
158
+ (
159
+ @scope.nil? || !activity.private ^ (@scope == 'private')
160
+ )
159
161
  end
160
162
  end
161
163
 
@@ -1,3 +1,3 @@
1
1
  module Strava
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strava-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Bonaud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-01 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: easy_app_helper
@@ -313,6 +313,7 @@ extensions: []
313
313
  extra_rdoc_files: []
314
314
  files:
315
315
  - ".gitignore"
316
+ - ".gitlab-ci.yml"
316
317
  - Gemfile
317
318
  - bin/strava
318
319
  - lib/strava.rb
@@ -341,7 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
341
342
  version: '0'
342
343
  requirements: []
343
344
  rubyforge_project:
344
- rubygems_version: 2.6.13
345
+ rubygems_version: 2.7.5
345
346
  signing_key:
346
347
  specification_version: 4
347
348
  summary: Generate strava dashboards.