gutsy 1.0.1 → 1.0.2

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: 25a45ceee915a0d30cfcd0e25b95207c7a02e476
4
- data.tar.gz: 55f7f2f5df026dc2a3367681a90f599144cc968d
3
+ metadata.gz: 71b8bbd43eda549b32821faa3311c7c9931016e8
4
+ data.tar.gz: ff4cd93097c1821ea4fd78b2c0f0e2089066287c
5
5
  SHA512:
6
- metadata.gz: 8017759eb4e5465eb49aa21b826f43521f2088286b84704a7342a25bf4aa564ab677be9083cfa2a4398eb095cb73c0defbb80b5c64c10d076faddd963d87aa13
7
- data.tar.gz: 0d90d7b4ac5150e823ca7817955b24a4f9fe46b16720d17453ebaa92152a5d126b860ae0def12bc55b3ecf7e7d40125def53c983590209e745347af6dda7c02c
6
+ metadata.gz: ea5353ca06269d9ffbd775f21dab34579c1e6934806704af887eae6ac5cadba76145ea776c8864ee299fecb7c03ff7b463f11b48b984e084463ec121add1ac9f
7
+ data.tar.gz: c337103698ead5e8d3e963879776daeea11132c922562524eafb88ea25fef4c682773dca171eb82d2d09670d3cc4c2cb1cd2e2dcabc1b9c31a01fb71888b7b06
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ /Gemfile.lock
1
2
  *.log
2
3
  output/*
3
4
  *.gem
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Gutsy Changelog
2
2
 
3
+ ## 1.0.2
4
+
5
+ * Make repo name configurable
6
+
3
7
  ## 1.0.1
4
8
 
5
9
  * Fix missing line breaks in generated README.md
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in example_app_client.gemspec
3
+ # Specify your gem's dependencies in gutsy.gemspec
4
4
  gemspec
data/examples/config.yml CHANGED
@@ -11,6 +11,7 @@ gutsy:
11
11
  name: Iora Health
12
12
  email: rubygems@iorahealth.com
13
13
  github: IoraHealth
14
+ repo_name: feature_toggles # (optional) name of the Github repo
14
15
  gem_version: 0.2.0 # Gem version
15
16
  versions:
16
17
  - name: v1
@@ -32,6 +32,10 @@ module Gutsy
32
32
  @gem_version ||= app_config[:gem_version] || '0.1.0'
33
33
  end
34
34
 
35
+ def repo_name
36
+ app_config[:repo_name] || gem_name_snake
37
+ end
38
+
35
39
  def copyright_year
36
40
  @copyright_year ||= Time.now.year
37
41
  end
data/lib/gutsy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gutsy
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  Add this to your Gemfile
12
12
 
13
13
  ```
14
- gem '<%= gem_name_snake %>', git: 'git@github.com:<%= author.github %>/<%= gem_name_snake %>.git', tag: 'v<%= gem_version %>'
14
+ gem '<%= gem_name_snake %>', git: 'git@github.com:<%= author.github %>/<%= repo_name %>.git', tag: 'v<%= gem_version %>'
15
15
  # or, depending on how cool your API is...
16
16
  gem '<%= gem_name_snake %>', '~> <%= gem_version %>'
17
17
  ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gutsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iora Health
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: heroics
@@ -108,7 +108,6 @@ files:
108
108
  - CHANGELOG.md
109
109
  - CODE_OF_CONDUCT.md
110
110
  - Gemfile
111
- - Gemfile.lock
112
111
  - LICENSE.txt
113
112
  - README.md
114
113
  - Rakefile
@@ -158,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
157
  version: '0'
159
158
  requirements: []
160
159
  rubyforge_project:
161
- rubygems_version: 2.5.1
160
+ rubygems_version: 2.6.13
162
161
  signing_key:
163
162
  specification_version: 4
164
163
  summary: Generates heroics-powered API client gem wrappers from JSON Schema
data/Gemfile.lock DELETED
@@ -1,61 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- gutsy (1.0.1)
5
- activesupport (>= 3.2)
6
- heroics (~> 0.0.17)
7
- json_schema (~> 0.13)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- activesupport (5.0.0.1)
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
- i18n (~> 0.7)
15
- minitest (~> 5.1)
16
- tzinfo (~> 1.1)
17
- concurrent-ruby (1.0.2)
18
- diff-lcs (1.2.5)
19
- erubis (2.7.0)
20
- excon (0.52.0)
21
- heroics (0.0.17)
22
- erubis (~> 2.0)
23
- excon
24
- moneta
25
- multi_json (>= 1.9.2)
26
- netrc
27
- i18n (0.7.0)
28
- json_schema (0.13.3)
29
- minitest (5.9.0)
30
- moneta (0.8.0)
31
- multi_json (1.12.1)
32
- netrc (0.11.0)
33
- rake (10.5.0)
34
- rspec (3.5.0)
35
- rspec-core (~> 3.5.0)
36
- rspec-expectations (~> 3.5.0)
37
- rspec-mocks (~> 3.5.0)
38
- rspec-core (3.5.2)
39
- rspec-support (~> 3.5.0)
40
- rspec-expectations (3.5.0)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.5.0)
43
- rspec-mocks (3.5.0)
44
- diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.5.0)
46
- rspec-support (3.5.0)
47
- thread_safe (0.3.5)
48
- tzinfo (1.2.2)
49
- thread_safe (~> 0.1)
50
-
51
- PLATFORMS
52
- ruby
53
-
54
- DEPENDENCIES
55
- bundler (~> 1.12)
56
- gutsy!
57
- rake (~> 10.0)
58
- rspec (~> 3.0)
59
-
60
- BUNDLED WITH
61
- 1.12.5