dave 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 7cad699cdc29ae2643c9b8b4e74687e1c53282c59e5b0044e72f2effab0025ae
4
+ data.tar.gz: 26a78b1f316834a6c39fa73c364849b53d1fdb3effe662d8c81fd64a169ef084
5
+ SHA512:
6
+ metadata.gz: 67ecb071e7b2f4d60e35dc94c8a7fdc7bfdc202c7940590b20dcd555ead80b9653ff44242d2fb7b051c7157a2d1b6ef379002c6ecec01c7614194b8e66c76b41
7
+ data.tar.gz: 2b64cfb9232416e57be793227b7cfbf22cc8e95820fa42a8f4ef4f40436765acd1b38f1c053d1e2895da3dc4eef44fd33b70104554809ca46c0a5e569ef397c2
@@ -0,0 +1,13 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ /*.gem
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 2.0.2
@@ -0,0 +1,3 @@
1
+ ### 0.1.0
2
+ * Init ruby gem.
3
+ * Record david's stories.
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at huziyong@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in david.gemspec
4
+ gemspec
@@ -0,0 +1,50 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ david (0.1.0)
5
+ activesupport (>= 5.2)
6
+ sqlite3 (>= 1.4)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activesupport (5.2.3)
12
+ concurrent-ruby (~> 1.0, >= 1.0.2)
13
+ i18n (>= 0.7, < 2)
14
+ minitest (~> 5.1)
15
+ tzinfo (~> 1.1)
16
+ concurrent-ruby (1.1.5)
17
+ diff-lcs (1.3)
18
+ i18n (1.6.0)
19
+ concurrent-ruby (~> 1.0)
20
+ minitest (5.11.3)
21
+ rake (10.5.0)
22
+ rspec (3.8.0)
23
+ rspec-core (~> 3.8.0)
24
+ rspec-expectations (~> 3.8.0)
25
+ rspec-mocks (~> 3.8.0)
26
+ rspec-core (3.8.2)
27
+ rspec-support (~> 3.8.0)
28
+ rspec-expectations (3.8.4)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-mocks (3.8.1)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.8.0)
34
+ rspec-support (3.8.2)
35
+ sqlite3 (1.4.1)
36
+ thread_safe (0.3.6)
37
+ tzinfo (1.2.5)
38
+ thread_safe (~> 0.1)
39
+
40
+ PLATFORMS
41
+ ruby
42
+
43
+ DEPENDENCIES
44
+ bundler (~> 2.0)
45
+ david!
46
+ rake (~> 10.0)
47
+ rspec (~> 3.0)
48
+
49
+ BUNDLED WITH
50
+ 2.0.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 hutusi.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,63 @@
1
+ # David
2
+
3
+ David is a ruby gem (command line) to record child's stories for geek daddy or mommy.
4
+
5
+ ## Installation
6
+
7
+ Install it yourself as:
8
+
9
+ ```
10
+ $ gem install david
11
+ ```
12
+
13
+ ### Requirements
14
+
15
+ * Ruby (>= 2.0)
16
+ * Sqlite3
17
+
18
+ ## Usage
19
+
20
+ Alias your child's name to the `david` command, append bellow to `~/.bashrc`. For example, child's name is 'Ian':
21
+
22
+ ```
23
+ alias ian='david -nian'
24
+ ```
25
+
26
+ Just type command to record Ian's stories:
27
+
28
+ ```
29
+ $ ian play with david
30
+ ```
31
+
32
+ Or record a stories before:
33
+
34
+ ```
35
+ $ ian play with david on 2018-02-01
36
+ ```
37
+
38
+ ## Development
39
+
40
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
41
+
42
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
43
+
44
+ ## Contributing
45
+
46
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hutusi/david. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
47
+
48
+ ### Todolist
49
+
50
+ - [ ] Record child's history stories.
51
+ - [ ] Discriminate verb's tense.
52
+ - [ ] Ask about child's stories. (What did david do on 2018-02-01?)
53
+ - [ ] Record child's favorites.
54
+ - [ ] Support more children.
55
+ - [ ] Encrypt database.
56
+
57
+ ## License
58
+
59
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
60
+
61
+ ## Code of Conduct
62
+
63
+ Everyone interacting in the David project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hutusi/david/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "david"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'david'
4
+ David.main
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "david/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "dave"
7
+ spec.version = David::VERSION
8
+ spec.authors = ["John Hu"]
9
+ spec.email = ["huziyong@gmail.com"]
10
+
11
+ spec.summary = %q{A ruby gem (command line) to record child's stories for geek daddy or mommy.}
12
+ spec.description = %q{David is a command line tool that used to record child's daily stories.}
13
+ spec.homepage = "https://github.com/hutusi/david"
14
+ spec.license = "MIT"
15
+
16
+ spec.metadata["homepage_uri"] = spec.homepage
17
+ spec.metadata["source_code_uri"] = "https://github.com/hutusi/david"
18
+ spec.metadata["changelog_uri"] = "https://github.com/hutusi/david/blob/master/CHANGELOG.md"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
23
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ end
25
+ spec.bindir = "bin"
26
+ spec.executables = ['david']
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_dependency "sqlite3", ">= 1.4"
30
+ spec.add_dependency "activesupport", ">= 5.2"
31
+
32
+ spec.add_development_dependency "bundler", "~> 2.0"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "rspec", "~> 3.0"
35
+ end
@@ -0,0 +1,36 @@
1
+ require "david/version"
2
+ require "david/configure"
3
+ require "david/command"
4
+
5
+ module David
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+
9
+ def self.main
10
+ puts ARGV
11
+ args = ARGV
12
+
13
+ conf = Configure.new
14
+ cmd = self.get_command(conf, args)
15
+
16
+ if cmd.nil?
17
+ Command.interact(conf)
18
+ else
19
+ cmd.execute
20
+ end
21
+ end
22
+
23
+ def self.get_command(conf, args)
24
+ if args.size == 1
25
+ if args[0].start_with? '-'
26
+ return nil
27
+ else
28
+ return Command.new(conf, nil).parse_args(args)
29
+ end
30
+ elsif args.size > 1
31
+ return Command.new(conf, nil).parse_args(args)
32
+ else
33
+ return nil
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,86 @@
1
+ require 'david/extensions'
2
+ require 'david/configure'
3
+ require 'sqlite3'
4
+ require 'active_support/all'
5
+
6
+ module David
7
+ class Command
8
+ def initialize(config, cmd_str)
9
+ @config = config
10
+ @child_name = @config.child_name
11
+ @cmd_str = cmd_str
12
+ unless @cmd_str.nil?
13
+ analyze
14
+ end
15
+
16
+ @db = @config.db
17
+ end
18
+
19
+ def parse_args(args)
20
+ if args[0].start_with? '-'
21
+ args.delete_at 0
22
+ else
23
+ end
24
+
25
+ @predicate = args[0]
26
+ @happend_at = Time.zone.now
27
+ @created_at = Time.zone.now
28
+
29
+ on_index = args.rindex 'on'
30
+ if (on_index.nil?)
31
+ @object_clause = args[1..].join(' ')
32
+ else
33
+ datetime = args[(on_index+1)..].join(' ')
34
+ @happend_at = datetime&.to_datetime_safe
35
+
36
+ if @happend_at.nil?
37
+ @object_clause = args[1..].join(' ')
38
+ else
39
+ @object_clause = args[1..(on_index-1)].join(' ')
40
+ end
41
+ end
42
+
43
+ self
44
+ end
45
+
46
+ def execute
47
+ @db.execute("INSERT INTO stories (action, thing, happend_at, created_at) VALUES (?, ?, ?, ?)", [@predicate, @object_clause, @happend_at.to_s, @created_at.to_s])
48
+ puts "#{@child_name} #{@predicate} #{@object_clause} on #{@happend_at.to_date}."
49
+ end
50
+
51
+ def self.interact(config)
52
+ while true
53
+ puts "What's news about #{config.child_name}?"
54
+ input = gets.strip
55
+ if input.empty?
56
+ next
57
+ elsif ['quit', 'q', 'bye'].include? input
58
+ puts 'bye.'
59
+ break
60
+ end
61
+
62
+ cmd = Command.new(config, input)
63
+ cmd.execute
64
+ end
65
+ end
66
+
67
+ private
68
+
69
+ def analyze
70
+ @subject, @predicate, @object_clause = @cmd_str.split ' ', 3
71
+ @happend_at = Time.zone.now
72
+ @created_at = Time.zone.now
73
+
74
+ tokens = @object_clause.split(' on ')
75
+ if (tokens.size > 1)
76
+ @happend_at = tokens.last&.to_datetime_safe
77
+
78
+ if @happend_at.nil?
79
+ @happend_at = Time.zone.now
80
+ else
81
+ @object_clause = tokens[0, tokens.size - 1].join ' on '
82
+ end
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,86 @@
1
+ require 'david/extensions'
2
+ require 'yaml'
3
+ require 'sqlite3'
4
+ require 'active_support/all'
5
+
6
+ module David
7
+ class Configure
8
+ attr_reader :yaml, :child_name
9
+ attr_reader :db
10
+
11
+ def initialize
12
+ Time.zone = 'Beijing'
13
+
14
+ @config_dir = File.join(Dir.home, '.david')
15
+ unless File.directory?(@config_dir)
16
+ FileUtils.mkdir_p(@config_dir)
17
+ end
18
+
19
+ # default config file: ~/.david/config
20
+ @config_file = File.join(@config_dir, 'config')
21
+ @yaml = YAML.load File.read(@config_file)
22
+ @child_name = @yaml
23
+
24
+ @db_file = File.join(@config_dir, "#{@child_name }.db")
25
+ @db = SQLite3::Database.new @db_file
26
+ rescue
27
+ init_profile
28
+ end
29
+
30
+ private
31
+
32
+ def init_profile
33
+ puts "What 's your child's name?"
34
+ begin
35
+ @child_name = gets.strip.downcase
36
+ end while @child_name .empty?
37
+
38
+ begin
39
+ puts "Is #{@child_name } a boy(b) or a girl(g)?"
40
+ @gender = gets.strip.downcase
41
+ end until ['b', 'g',].include? @gender
42
+
43
+ begin
44
+ puts "When did #{@child_name } born on? e.g., 2015-05-27"
45
+ birth = gets.strip
46
+ @birthdate = birth.to_datetime_safe
47
+ end while @birthdate.nil?
48
+
49
+ init_config
50
+ init_db
51
+ end
52
+
53
+ def init_config
54
+ File.write @config_file, YAML.dump(@child_name )
55
+ end
56
+
57
+ def init_db
58
+ @db_file = File.join(@config_dir, "#{@child_name }.db")
59
+ puts "New database #{@db_file}"
60
+ @db = SQLite3::Database.new @db_file
61
+
62
+ @db.execute <<-SQL
63
+ CREATE TABLE profiles (
64
+ id INTEGER PRIMARY KEY,
65
+ name VARCHAR(50) NOT NULL,
66
+ gender VARCHAR(1) NOT NULL,
67
+ birthdate DATETIME(5) NOT NULL
68
+ );
69
+ SQL
70
+
71
+ @db.execute("INSERT INTO profiles (name, gender, birthdate) VALUES (?, ?, ?)", [@child_name , @gender, @birthdate.to_s])
72
+
73
+ @db.execute <<-SQL
74
+ CREATE TABLE stories (
75
+ id INTEGER PRIMARY KEY,
76
+ action VARCHAR(50) NOT NULL,
77
+ thing VARCHAR(512) NOT NULL,
78
+ remark VARCHAR(512),
79
+ happend_at DATETIME(5) NOT NULL,
80
+ created_at DATETIME(5) NOT NULL,
81
+ updated_at DATETIME(5)
82
+ );
83
+ SQL
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,18 @@
1
+ require 'active_support/all'
2
+
3
+ class String
4
+ def to_datetime_safe
5
+ lowercase = self.downcase
6
+ if 'yesterday' == lowercase
7
+ return Time.zone.yesterday
8
+ elsif 'today' == lowercase
9
+ return Time.zone.today
10
+ end
11
+
12
+ begin
13
+ Time.zone.parse self
14
+ rescue ArgumentError
15
+ nil
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,3 @@
1
+ module David
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: dave
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - John Hu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: sqlite3
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '1.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '5.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '5.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ description: David is a command line tool that used to record child's daily stories.
84
+ email:
85
+ - huziyong@gmail.com
86
+ executables:
87
+ - david
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".rspec"
93
+ - ".travis.yml"
94
+ - CHANGELOG.md
95
+ - CODE_OF_CONDUCT.md
96
+ - Gemfile
97
+ - Gemfile.lock
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/david
103
+ - bin/setup
104
+ - david.gemspec
105
+ - lib/david.rb
106
+ - lib/david/command.rb
107
+ - lib/david/configure.rb
108
+ - lib/david/extensions.rb
109
+ - lib/david/version.rb
110
+ homepage: https://github.com/hutusi/david
111
+ licenses:
112
+ - MIT
113
+ metadata:
114
+ homepage_uri: https://github.com/hutusi/david
115
+ source_code_uri: https://github.com/hutusi/david
116
+ changelog_uri: https://github.com/hutusi/david/blob/master/CHANGELOG.md
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ requirements: []
132
+ rubygems_version: 3.0.4
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: A ruby gem (command line) to record child's stories for geek daddy or mommy.
136
+ test_files: []