jtask 0.0.1 → 0.0.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
2
  SHA1:
3
- metadata.gz: 8a3724c45e878a1633fa464af954ddefbe729cb8
4
- data.tar.gz: 23409551f3de8e7290b93864e90240ab0839b016
3
+ metadata.gz: 6e4e1aed55bba786830b3fa70b9334dedc413096
4
+ data.tar.gz: 7b1b5a4fb9da48ac9af6769c7b6221f39653a945
5
5
  SHA512:
6
- metadata.gz: 0ae4495c34617b63da73c5528114669f677d25642a3ba9ffe31d63d2f02bc1a93f60b33c14ca3764ea40fa754aa770ec1ddccaa279d127e7e4a3efec90c85d11
7
- data.tar.gz: 8da72a38f76b1f89ac7667949b1039e13429e66b458ac21a764a115f1fee1ae75e7bbbf0da1d4f3428cba203539f72df840063418c1c672af33803ce1ec9d14b
6
+ metadata.gz: b706543cf01b4c7ea2712d33a2e3db7120f75eeeaa64fc8049afd2bb2dc707ab0cb9127cb6e42e05cdc3402e38efdb099c2fcd1ae129bbc757f4fc53960a0f0c
7
+ data.tar.gz: 21584581aea94107c1a1a3315d1e30905fd5f0c7f5fdb09467dc074dca4b4fef347cd85e74410b1f76b764cefd86c2d597eab24d4aee8e88c03c9bc525911ba6
data/.DS_Store CHANGED
Binary file
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
1
  *.gem
2
2
  tmp
3
- doc
3
+ doc
4
+ .DS_Store
data/changelist.txt ADDED
@@ -0,0 +1,8 @@
1
+ 0.0.2 [Beta] [Current Version]
2
+ =====================================
3
+ - Swapped gemspec description and summary (mix up error).
4
+
5
+
6
+ 0.0.1 [Beta]
7
+ =====================================
8
+ - Initial release
data/jtask.gemspec CHANGED
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jtask'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.date = '2014-03-23'
6
- s.summary = "Provides CRUD actions for JSON files, plus a few extra goodies."
7
- s.description = "CRUD actions for JSON files."
6
+ s.description = "Provides CRUD actions for JSON files, plus a few extra goodies."
7
+ s.summary = "CRUD actions for JSON files."
8
8
  s.authors = ["Adam McArthur"]
9
9
  s.email = 'adam@adammcarthur.net'
10
10
  s.homepage = 'https://github.com/adammcarthur/jtask'
@@ -13,4 +13,4 @@ Gem::Specification.new do |s|
13
13
  s.require_paths = ["lib"]
14
14
  s.add_runtime_dependency "json", "~> 1.4"
15
15
  s.post_install_message = "\nThanks for installing JTask Beta. Check out the full documentation and contribute at https://github.com/adammcarthur/jtask\n\n- Adam (@adammcarth)\n-"
16
- end
16
+ end
data/readme.md CHANGED
@@ -1,7 +1,9 @@
1
- # JTask
1
+ # JTask [![Gem Version](https://badge.fury.io/rb/jtask.png)](http://badge.fury.io/rb/jtask)
2
2
 
3
3
  JTask provides CRUD actions for storage of data in JSON format inside text files. It's very useful for times when databases cannot be used to store data, or a simple storage & retrieval mechanism is required. It can act just like a database, check it out:
4
4
 
5
+ require "jtask"
6
+
5
7
  JTask.save("preferences", {background_color: "black", font_size: "medium"})
6
8
  #=> true
7
9
 
@@ -114,4 +116,4 @@ I'd love to here what you plan to use JTask for. [Let me know via twitter](https
114
116
 
115
117
  To contribute to the project, fork it, send a pull request and I'll review your changes. Check out the `todo.txt` list to see what still needs to be done.
116
118
 
117
- \- Adam
119
+ \- Adam
data/todo.txt CHANGED
@@ -1,3 +1,16 @@
1
- 1. Setup a dynamic method handler to make the JTask.get() method cleaner when selecting hash elements. Eg - JTask.get("email_subscribers", 5).email
1
+ Current List To Transition From Beta Into Stable:
2
2
 
3
- For more information, see ActiveRecord's implementation of method_missing().
3
+ 1. Setup a dynamic method handler to make the JTask.get()
4
+ method cleaner when selecting hash elements.
5
+
6
+ Eg - JTask.get("email_subscribers", 5).email
7
+
8
+ For more information, see ActiveRecord's implementation of method_missing().
9
+
10
+ 2. Add an encryption feature?
11
+
12
+ 3. Allow users to set the default directory.
13
+
14
+ 4. Clean up repeated code!!!
15
+
16
+ 5. Make file writes more efficient (to prevent scaling issues). Currently, files are completely re-written with the new version on save(), update(), chop() and destroy().
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jtask
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
  - Adam McArthur
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.4'
27
- description: CRUD actions for JSON files.
27
+ description: Provides CRUD actions for JSON files, plus a few extra goodies.
28
28
  email: adam@adammcarthur.net
29
29
  executables: []
30
30
  extensions: []
@@ -32,6 +32,7 @@ extra_rdoc_files: []
32
32
  files:
33
33
  - ".DS_Store"
34
34
  - ".gitignore"
35
+ - changelist.txt
35
36
  - jtask.gemspec
36
37
  - lib/.DS_Store
37
38
  - lib/jtask.rb
@@ -74,5 +75,5 @@ rubyforge_project:
74
75
  rubygems_version: 2.2.2
75
76
  signing_key:
76
77
  specification_version: 4
77
- summary: Provides CRUD actions for JSON files, plus a few extra goodies.
78
+ summary: CRUD actions for JSON files.
78
79
  test_files: []