ppjson 0.1.0 → 0.2.0

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.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/TODO.txt +17 -12
  3. data/bin/ppjson +2 -2
  4. data/lib/ppjson/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTc1ZGQ1NmY0ODlhMGFjMTg1YWRjNTVjZjc0NzU1ODQ2MGE4N2M5ZQ==
4
+ NWEwY2M0ZDNiZjY3NjZlODhjMGViYTc3ZTFkNTk4ODE5YWMxMWE2MQ==
5
5
  data.tar.gz: !binary |-
6
- NzFjMzgxMzA1N2RlOTMzZjkwOGJiMzVkMjA2YTcwNGNhMDhhN2M3Ng==
6
+ MzNlOTMxNGY5MDRmYzhlMjJmYzhhMjFlZGJkYWM4Yzc1MTZhNzI4OQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzUzNzJhNDkwNDlkOGZhZjJiMzJiZjI4MjgwZjM4NmEwY2FmZmQyNTBhNjhm
10
- MTk2ZWMyMDNlMDJhNmU3NThiOTY3NWY1YjgxOTAzODRhNzZjNmU5YTQ0ZjZi
11
- ZjRhOTNmYmY5N2JhOTNlYmFhMzk1NzNiMmRkNTg5NTUzNzY0NDM=
9
+ NWI0ZWM0ZWE3NzAwYWM0NDczYmI0NmI5NjEzZWIxODAyODYxNmE2YWEyYmE4
10
+ MjEwMzk3MWJkMWNmMjgwYzBlNGU4YzQwMmIxY2MzNmZlZmQyY2ZiYzQyODI1
11
+ MWYyZTAwZGZlY2YwNmY3YjY0ZTY2NmE5ODhmNjJhYmIyYThmOWQ=
12
12
  data.tar.gz: !binary |-
13
- ZDA3ZDdmZjdhMTU1NjYzNGYzN2UzMjJiNTZlZGY3ZTdjOTdjM2JiYzMzMTFi
14
- N2ViNzI3YjVmNGY1YjcwYWM4Mjc3Mjk4MTViNmZiOTk2OWM2MmVmOTk5NDMx
15
- MGJhMDQzNDkwZGEzMDU0MmNmZGUxODYwMGI4ZmZjMjQ5NDlmMjU=
13
+ MDU1MjU2YTU3OGNjNmM4MGE5YzNkM2QxMDIyOGExOGZiMTY3MzUyNzM0MTg5
14
+ MjJjNzcyYjMxOGFjNGUzNzU0MmZjOTg1NzU5YzllYjc3M2RhYTFmN2RjNzY5
15
+ ZTRiYTNjNjZmYmI0MTI5MmVjNjFlYmY1OGNiOWRjNjQwOTI5YTY=
data/TODO.txt CHANGED
@@ -1,21 +1,26 @@
1
- - stop using an unreleased escort that points at filesystem DONE
2
- - try it out when installing at the top level DONE
3
- - add a summary and description DONE
4
- - ppjson --file - to read json from a file, format it and spit it out to STDOUT DONE
5
- - ppjson --file --inline - to read json from a file, format it and overwrite the file with it DONE
6
- - ppjson --file --backwards - take json from file which is presumably pretty already and unprettify it DONE
1
+ ROADMAP
7
2
 
8
-
9
- - write a decent readme DONE
3
+ v1.0.0
10
4
  - do a bunch of specs
11
5
  - do an integration test if can figure out a nice way of doing that
12
6
  - try it out with binstubs in another project
13
- - up the version
14
- - release
15
- - blog about the current design to handle the different options interacting in different ways nicely
16
-
17
7
  - up the version of escort to one with depends support
18
8
  - do the dependencies between options
19
9
  - up the version
20
10
  - update readme
21
11
  - release
12
+
13
+
14
+ - blog about the current design to handle the different options interacting in different ways nicely
15
+
16
+
17
+ DONE
18
+ - stop using an unreleased escort that points at filesystem DONE
19
+ - try it out when installing at the top level DONE
20
+ - add a summary and description DONE
21
+ - ppjson --file - to read json from a file, format it and spit it out to STDOUT DONE
22
+ - ppjson --file --inline - to read json from a file, format it and overwrite the file with it DONE
23
+ - ppjson --file --backwards - take json from file which is presumably pretty already and unprettify it DONE
24
+ - write a decent readme DONE
25
+ - up the version DONE
26
+ - release DONE
data/bin/ppjson CHANGED
@@ -13,8 +13,8 @@ Escort::App.create do |app|
13
13
 
14
14
  app.options do |opts|
15
15
  opts.opt :file, "Read the JSON from a file", :short => '-f', :long => '--file', :type => :boolean, :default => false
16
- opts.opt :inline, "Overwrite the file with the pretty JSON (only make sense with the --file option)", :short => '-i', :long => '--inline', :type => :boolean, :default => false, :depends_on => [:file]
17
- opts.opt :undo, "Take pretty printed JSON from file and unprettify it (only make sense with the --file option)", :short => '-u', :long => '--undo', :type => :boolean, :default => false, :depends_on => [:file]
16
+ opts.opt :inline, "Overwrite the file with the pretty JSON", :short => '-i', :long => '--inline', :type => :boolean, :default => false, :depends_on => [:file]
17
+ opts.opt :undo, "Take pretty printed JSON from file and unprettify it", :short => '-u', :long => '--undo', :type => :boolean, :default => false, :depends_on => [:file]
18
18
  end
19
19
 
20
20
  app.action do |options, arguments|
@@ -1,3 +1,3 @@
1
1
  module Ppjson
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppjson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Skorkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-01 00:00:00.000000000 Z
11
+ date: 2013-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: escort