spaarti 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circle-ruby +3 -0
- data/CHANGELOG.md +4 -0
- data/circle.yml +2 -8
- data/lib/spaarti/site.rb +6 -3
- data/lib/spaarti/version.rb +1 -1
- data/spaarti.gemspec +3 -3
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f2d0c0719628ab227ac98eb9294b08c379be904
|
4
|
+
data.tar.gz: 462e30a41aa2bd1c92c08fe550882bc25d7755e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93a19adff61547633b8e3cd22d3bd50eeaa9136af41b45eb938d00a2b71a13e7487c0d45ef99b6c59d71afde60f910f25273101b1e14e2d586146ec0531d5a20
|
7
|
+
data.tar.gz: 05c71fd74201c21545288aa3816f7a4238187263b7facfb8a9540daf9516a85ef607b81772d4d44c78513b9d2d90fd84e29c069ff41ebca34bc65bf59b690934
|
data/.circle-ruby
ADDED
data/CHANGELOG.md
CHANGED
data/circle.yml
CHANGED
@@ -1,12 +1,6 @@
|
|
1
1
|
dependencies:
|
2
2
|
override:
|
3
|
-
|
4
|
-
- 'rvm-exec 2.0.0-p645 bundle install'
|
5
|
-
- 'rvm-exec 2.1.6 bundle install'
|
6
|
-
- 'rvm-exec 2.2.2 bundle install'
|
3
|
+
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
|
7
4
|
test:
|
8
5
|
override:
|
9
|
-
|
10
|
-
- 'rvm-exec 2.0.0-p645 bundle exec rake'
|
11
|
-
- 'rvm-exec 2.1.6 bundle exec rake'
|
12
|
-
- 'rvm-exec 2.2.2 bundle exec rake'
|
6
|
+
- 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done'
|
data/lib/spaarti/site.rb
CHANGED
@@ -16,7 +16,8 @@ module Spaarti
|
|
16
16
|
git_config: {},
|
17
17
|
quiet: false,
|
18
18
|
purge: false,
|
19
|
-
url_type: 'ssh'
|
19
|
+
url_type: 'ssh',
|
20
|
+
api_endpoint: nil
|
20
21
|
}.freeze
|
21
22
|
|
22
23
|
##
|
@@ -60,7 +61,8 @@ module Spaarti
|
|
60
61
|
@client ||= Octokit::Client.new(
|
61
62
|
access_token: auth.token,
|
62
63
|
auto_paginate: true,
|
63
|
-
default_media_type: 'application/vnd.github.moondragon+json'
|
64
|
+
default_media_type: 'application/vnd.github.moondragon+json',
|
65
|
+
api_endpoint: @options[:api_endpoint]
|
64
66
|
)
|
65
67
|
end
|
66
68
|
|
@@ -68,7 +70,8 @@ module Spaarti
|
|
68
70
|
@auth ||= Octoauth.new(
|
69
71
|
note: 'spaarti',
|
70
72
|
file: @options[:auth_file],
|
71
|
-
autosave: true
|
73
|
+
autosave: true,
|
74
|
+
api_endpoint: @options[:api_endpoint]
|
72
75
|
)
|
73
76
|
end
|
74
77
|
|
data/lib/spaarti/version.rb
CHANGED
data/spaarti.gemspec
CHANGED
@@ -22,11 +22,11 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_dependency 'mercenary', '~> 0.3.4'
|
23
23
|
s.add_dependency 'cymbal', '~> 1.0.0'
|
24
24
|
|
25
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
25
|
+
s.add_development_dependency 'rubocop', '~> 0.42.0'
|
26
26
|
s.add_development_dependency 'rake', '~> 11.2.0'
|
27
27
|
s.add_development_dependency 'codecov', '~> 0.1.1'
|
28
|
-
s.add_development_dependency 'rspec', '~> 3.
|
29
|
-
s.add_development_dependency 'fuubar', '~> 2.
|
28
|
+
s.add_development_dependency 'rspec', '~> 3.5.0'
|
29
|
+
s.add_development_dependency 'fuubar', '~> 2.2.0'
|
30
30
|
s.add_development_dependency 'webmock', '~> 2.1.0'
|
31
31
|
s.add_development_dependency 'vcr', '~> 3.0.0'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spaarti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.42.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.42.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.
|
117
|
+
version: 3.5.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.
|
124
|
+
version: 3.5.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: fuubar
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 2.
|
131
|
+
version: 2.2.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
138
|
+
version: 2.2.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: webmock
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,6 +171,7 @@ executables:
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
+
- ".circle-ruby"
|
174
175
|
- ".gitignore"
|
175
176
|
- ".prospectus"
|
176
177
|
- ".rspec"
|