sitepress-cli 2.0.0.beta4 → 2.0.0.beta5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/cli.rb +4 -0
- data/templates/default/{Gemfile → Gemfile.tt} +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bd20de438037956871dea76b30e2a3be15e4c73a5235e404e851a526cbec56e
|
4
|
+
data.tar.gz: 4547457f7f21beeacd0950d4fda1fc0c77a3fe592bdd56f24aee6247a1ac61fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21536f6bac9617b1978ecfd8e3c2eb5a99979c0fe63715b9438a61307e6982ca7c8e3b1f41372a91ffbe6bfca36e5a035680087a019ff644b206ae6999e75d53
|
7
|
+
data.tar.gz: bc54f1e7e4456b04738b6116216f3a54da5a4d49b88bed1d2a1ad311523975344a57fbe28666df27497f2f2182b9da7c66170bb489c02cc03e182451be5b430d
|
data/lib/sitepress/cli.rb
CHANGED
@@ -43,6 +43,10 @@ module Sitepress
|
|
43
43
|
|
44
44
|
desc "new PATH", "Create new project at PATH"
|
45
45
|
def new(target)
|
46
|
+
# Peg the generated site to roughly the released version.
|
47
|
+
*segments, _ = Gem::Version.new(Sitepress::VERSION).segments
|
48
|
+
@target_sitepress_version = segments.join(".")
|
49
|
+
|
46
50
|
inside target do
|
47
51
|
directory self.class.source_root, "."
|
48
52
|
run "bundle install"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitepress-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.beta5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.0.
|
19
|
+
version: 2.0.0.beta5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0.0.
|
26
|
+
version: 2.0.0.beta5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ files:
|
|
66
66
|
- lib/sitepress/repl.rb
|
67
67
|
- sitepress-cli.gemspec
|
68
68
|
- templates/default/.gitignore
|
69
|
-
- templates/default/Gemfile
|
69
|
+
- templates/default/Gemfile.tt
|
70
70
|
- templates/default/Rakefile
|
71
71
|
- templates/default/assets/config/manifest.js
|
72
72
|
- templates/default/assets/images/logo-brown.svg
|