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.
- checksums.yaml +8 -8
- data/TODO.txt +17 -12
- data/bin/ppjson +2 -2
- data/lib/ppjson/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWEwY2M0ZDNiZjY3NjZlODhjMGViYTc3ZTFkNTk4ODE5YWMxMWE2MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzNlOTMxNGY5MDRmYzhlMjJmYzhhMjFlZGJkYWM4Yzc1MTZhNzI4OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWI0ZWM0ZWE3NzAwYWM0NDczYmI0NmI5NjEzZWIxODAyODYxNmE2YWEyYmE4
|
10
|
+
MjEwMzk3MWJkMWNmMjgwYzBlNGU4YzQwMmIxY2MzNmZlZmQyY2ZiYzQyODI1
|
11
|
+
MWYyZTAwZGZlY2YwNmY3YjY0ZTY2NmE5ODhmNjJhYmIyYThmOWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDU1MjU2YTU3OGNjNmM4MGE5YzNkM2QxMDIyOGExOGZiMTY3MzUyNzM0MTg5
|
14
|
+
MjJjNzcyYjMxOGFjNGUzNzU0MmZjOTg1NzU5YzllYjc3M2RhYTFmN2RjNzY5
|
15
|
+
ZTRiYTNjNjZmYmI0MTI5MmVjNjFlYmY1OGNiOWRjNjQwOTI5YTY=
|
data/TODO.txt
CHANGED
@@ -1,21 +1,26 @@
|
|
1
|
-
|
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
|
17
|
-
opts.opt :undo, "Take pretty printed JSON from file and unprettify it
|
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|
|
data/lib/ppjson/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2013-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: escort
|