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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 904f7269c8fe98b92207993791df3b9883aed33f
4
- data.tar.gz: 4a7108d4c80b920be9552d76d7b8a34004667635
3
+ metadata.gz: 8f2d0c0719628ab227ac98eb9294b08c379be904
4
+ data.tar.gz: 462e30a41aa2bd1c92c08fe550882bc25d7755e4
5
5
  SHA512:
6
- metadata.gz: 3692fa2f738746b56378cbd986f7e6edf017ec2f0234506138797fae19ded4297359c863513b8d514ed3cc2fcc33ae6970c60e4687f9aed482a135f6542fab11
7
- data.tar.gz: 919ec02a4a7e08eb3168ee4d4167bf7b9de8b74def909e106891f20c096ff1c6c811c240b6cb60c410f74c9b82fe95328336234eef5df1aeb82034fada05883e
6
+ metadata.gz: 93a19adff61547633b8e3cd22d3bd50eeaa9136af41b45eb938d00a2b71a13e7487c0d45ef99b6c59d71afde60f910f25273101b1e14e2d586146ec0531d5a20
7
+ data.tar.gz: 05c71fd74201c21545288aa3816f7a4238187263b7facfb8a9540daf9516a85ef607b81772d4d44c78513b9d2d90fd84e29c069ff41ebca34bc65bf59b690934
data/.circle-ruby ADDED
@@ -0,0 +1,3 @@
1
+ 2.3.1
2
+ 2.2.5
3
+ 2.1.10
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.3 / 2016-09-06
2
+
3
+ * [FEATURE] Allow use with GitHub Enterprise by passing api_endpoint in config file
4
+
1
5
  # 1.0.2 / 2016-07-01
2
6
 
3
7
  * [BUGFIX] Revert previous edition; url type should be set via config file
data/circle.yml CHANGED
@@ -1,12 +1,6 @@
1
1
  dependencies:
2
2
  override:
3
- - 'rvm-exec 1.9.3-p551 bundle install'
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
- - 'rvm-exec 1.9.3-p551 bundle exec rake'
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
 
@@ -2,5 +2,5 @@
2
2
  ##
3
3
  # Set the version (needed for Mercenary -v)
4
4
  module Spaarti
5
- VERSION = '1.0.2'.freeze
5
+ VERSION = '1.0.3'.freeze
6
6
  end
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.41.1'
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.4.0'
29
- s.add_development_dependency 'fuubar', '~> 2.0.0'
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.2
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-07-01 00:00:00.000000000 Z
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.41.1
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.41.1
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.4.0
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.4.0
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.0.0
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.0.0
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"