one_pager 0.0.1 → 0.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
  SHA256:
3
- metadata.gz: e2697b75174b2fbf8afe31b60ccff236e721acf1b7cb23763e1b0ec0256075b9
4
- data.tar.gz: ead23530734c57f232850b8769ca0d1382ab6aef3d5a7a60b09b945a3f2b3fb1
3
+ metadata.gz: 48a3415db4d5a7dfbaf2f9850e0b26f8eaaab8d20c2ac3219c1c1b2ab12b872e
4
+ data.tar.gz: 1805aa605bcf9442ed65f1a7e5c51cccd70f66da30f2d4d9ecc04cdf9ec18763
5
5
  SHA512:
6
- metadata.gz: 854f309491e44a1fe52a3569561d84b207fdcd79b61e7c4d579ef2856e1b46420f4423e348a14e0a695e39a7656aababb99566b73a56938b06ad6d571378073e
7
- data.tar.gz: 1c5a8f9ee4ffb235ed762e24943c818d8bfd82bdd566b26594c4157a085532dcc2a899dc0255245013b7bd4987f06ab811fcd8cc4eea05866712b6937fe3eb4d
6
+ metadata.gz: 6c6dd3a35598d3f7c1c195766de1262868ebe12b086e4313f064ea7b8ad539dbb1598be44ff8bcb74d313d4c6640a7ce4df975160ec415424883ede686e85541
7
+ data.tar.gz: 0a2b8b2a571a8e82c676e59f95bf3070864429dea5162b09105bad878b47f8119eeb27fc11cbfe6506d748f36600ea9fcff3c578576b6bc02ad9d1747718c0d6
data/.gitignore CHANGED
@@ -0,0 +1 @@
1
+ pkg/
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- one_pager (0.0.1)
4
+ one_pager (0.0.2)
5
5
  gli (= 2.18.0)
6
6
  tilt (= 2.0.9)
7
7
 
data/bin/one_pager CHANGED
@@ -38,6 +38,7 @@ class App
38
38
  c.action do |global_options,options,args|
39
39
 
40
40
  system 'mkdir', '-p', 'docs/one-pagers'
41
+ system 'mkdir', '-p', '.one-pager'
41
42
 
42
43
  File.open('.one-pager/config.json', 'w') { |file| file.write(DEFAULT_CONFIGURATION_TEMPLATE) }
43
44
 
@@ -54,8 +55,8 @@ class App
54
55
 
55
56
  c.action do |global_options,options,args|
56
57
  filename = "#{args[0].downcase.gsub(" ", "_")}.md"
57
- template = if File.exists?(".one-pager.json")
58
- JSON.read(".one-pager.json")["template"]
58
+ template = if File.exists?(".one-pager/config.json")
59
+ JSON.read(".one-pager/config.json")["template"]
59
60
  elsif options[:template]
60
61
  options[:template]
61
62
  else
@@ -1,3 +1,3 @@
1
1
  module OnePager
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: one_pager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Poage