bootic_cli 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 5c70dee5796feb738f8649d42d711deab4d584174a3e711b72b1cbbf1b7fbf1d
4
- data.tar.gz: 591b4080c30abc76ead069bd437fd3046c752ff83d3934bc3fd3cee61dd094b4
2
+ SHA1:
3
+ metadata.gz: fbe63e3f8892b9be422288d367464522beb7bcfd
4
+ data.tar.gz: 2d9849bf9eb82a019a5982b004d73a56ae1d659c
5
5
  SHA512:
6
- metadata.gz: 3edf369d283f4d79909a8e77b3b7d1911e38c4e1c4f326c2fea089eb5f26f5dc307560844d9fbf6cf7fd82b9aa55c69e87e4fa5bc951b79c875bd33b108fe779
7
- data.tar.gz: 5da2f658f1dd9611ad61043a3a33aca12e0cec0c3c51f355d5818ddfb54ea16f89e4d6fd81e89f32537489199e327c024db888df192c758de7921c03e1d90386
6
+ metadata.gz: 2638f38d560a340c7728f5a98a8b0423742516cbe85a147f6aec63ed6fd3eeed6e9a6d630c24b193d729a56917826e9d53f7715808321cc98e39cf1e9f3836ef
7
+ data.tar.gz: 7904fa01e25336adc20f4a7f53f35a84f0ce28b84861192c27aa3637b20eaf8bf2861905a24b169394a2f067693b067093f40687a828d98b7849aebe2b00062d
data/GUIA.md CHANGED
@@ -83,7 +83,7 @@ a ser sobre un sitio de desarrollo, en `https://url.del.sitio/preview/dev`.
83
83
  Los sitios de desarrollo no tienen caché, así que cualquier cambio que hagas
84
84
  deberías verlo ipso-facto y sin retrasos.
85
85
 
86
- ## Publicando los cambios cambios
86
+ ## Publicando los cambios
87
87
 
88
88
  Y finalmente, cuando quieras subir los cambios de la plantilla de desarrollo
89
89
  al sitio público, corres `bootic themes publish`. Esto obviamente no aplica
@@ -103,4 +103,5 @@ credenciales actuales por otras.
103
103
  ## Tengo más preguntas. ¿Qué hago?
104
104
 
105
105
  Escríbenos a soporte@bootic.io o por el chat de soporte dentro del panel de
106
- la tienda.
106
+ la tienda. Y si hay algo que no esté funcionando bien, crea un [nuevo issue](https://github.com/bootic/bootic_cli/issues) en
107
+ este repositorio!
data/bootic_cli.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ['lib']
21
21
 
22
22
  spec.add_dependency 'thor', '~> 0'
23
- spec.add_dependency 'bootic_client', "~> 0.0.19"
23
+ spec.add_dependency 'bootic_client', "~> 0.0.24"
24
24
  spec.add_dependency 'diffy', "~> 3.2"
25
25
  spec.add_dependency 'listen', "~> 3.1"
26
26
  spec.add_dependency 'launchy', "~> 2.4"
@@ -51,8 +51,8 @@ module BooticCli
51
51
  end
52
52
 
53
53
  if current_env != DEFAULT_ENV
54
- auth_host = ask("Enter auth endpoint host (#{BooticClient::AUTH_HOST}):", :bold).chomp
55
- api_root = ask("Enter API root (#{BooticClient::API_ROOT}):", :bold).chomp
54
+ auth_host = ask("Enter auth endpoint host (#{BooticClient.configuration.auth_host}):", :bold).chomp
55
+ api_root = ask("Enter API root (#{BooticClient.configuration.api_root}):", :bold).chomp
56
56
  auth_host = nil if auth_host == ""
57
57
  api_root = nil if api_root == ""
58
58
  end
@@ -115,7 +115,7 @@ module BooticCli
115
115
  @oauth_client ||= OAuth2::Client.new(
116
116
  config[:client_id],
117
117
  config[:client_secret],
118
- site: (config[:auth_host] || BooticClient.auth_host)
118
+ site: (config[:auth_host] || BooticClient.configuration.auth_host)
119
119
  )
120
120
  end
121
121
 
@@ -21,7 +21,10 @@ module BooticCli
21
21
 
22
22
  def templates
23
23
  @templates ||= map_pair(source.templates, target.templates) do |a, b|
24
- diff = Diffy::Diff.new(normalize_endings(b.body), normalize_endings(a.body), context: 1)
24
+ # don't use context until diffy bug is fixed: https://github.com/samg/diffy/pull/103
25
+ # diff = Diffy::Diff.new(normalize_endings(b.body), normalize_endings(a.body), context: 1)
26
+ diff = Diffy::Diff.new(normalize_endings(b.body), normalize_endings(a.body))
27
+
25
28
  if !diff.to_s.empty? && should_update?(a, b)
26
29
  c = TemplateWithDiff.new(a.file_name, a.body, a.updated_on, diff)
27
30
  [true, c]
@@ -1,3 +1,3 @@
1
1
  module BooticCli
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootic_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismael Celis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-02-01 00:00:00.000000000 Z
12
+ date: 2019-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 0.0.19
34
+ version: 0.0.24
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.0.19
41
+ version: 0.0.24
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: diffy
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  requirements: []
203
203
  rubyforge_project:
204
- rubygems_version: 2.7.3
204
+ rubygems_version: 2.6.13
205
205
  signing_key:
206
206
  specification_version: 4
207
207
  summary: Bootic command-line client.