dream 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: e58d8ff13514e17df9894107e0f7e6513dc0c139
4
- data.tar.gz: c1c10362e309a7c90aff320498339637c5c3a65e
3
+ metadata.gz: 6673695a57d68ec636a87649bb674155a4dc3375
4
+ data.tar.gz: f09482c3026f3f90d4cf50d9fccc168aeaa5c2fa
5
5
  SHA512:
6
- metadata.gz: 95455498f1df8f6a87aed4c857ce1bde2fd1fc5710dd3cc31baeab96b986e8c86f38de30ce63f1a462044ccad1e4d5c0dd997c34670ccf7d9b495db1f753a60e
7
- data.tar.gz: 6c78120b504c8e0d6bc67b469ffc156c0f134798cb1e8f5ba3e7c68704c1320ab90c2faaed373190d2dc6b66beea6fc0673654a62cf28a439b753af45af28f30
6
+ metadata.gz: ca8b991c42264d12bf61c049140cf4295041e67ee4fd20fa308044adec9f141e5c2791f29a13aa62880b046b8261f7442e7baf54ac3db40a8e1cbefb47adbc70
7
+ data.tar.gz: e1ba668aadd1e7acd8deac90b7c41d8aa53af02579df516e54f1704ed2951819466bccfe3429180f6a0b36b7833bedca194df49b97d151ac3d7ec4bb0ed3253c
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Dream
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/dream`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ A simple logging platform to aggregate system logs in code across gems and applications for latter viewing.
6
4
 
7
5
  ## Installation
8
6
 
@@ -22,7 +20,16 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ ```
24
+ require 'yaml'
25
+
26
+ spectre = Dream::Spectre.new(YAML::load_file('path/to/config/file/dream.yml'))
27
+ spectre.record(@spectre.info, 'sample info')
28
+ spectre.watch('hi')
29
+ spectre.watch('world')
30
+ puts spectre.time_records('hi')
31
+ puts spectre.manuscript()
32
+ ```
26
33
 
27
34
  ## Development
28
35
 
@@ -38,4 +45,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
38
45
  ## License
39
46
 
40
47
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
data/bin/dream ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require_relative '../lib/dream/cli'
data/dream.gemspec CHANGED
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
+ spec.add_dependency "thor", "~> 0.19"
30
31
  spec.add_development_dependency "bundler", "~> 1.10"
31
32
  spec.add_development_dependency "rake", "~> 10.0"
32
33
  end
data/lib/dream/cli.rb CHANGED
@@ -4,7 +4,7 @@ require 'yaml'
4
4
  module Dream
5
5
  class Mind < Thor
6
6
  include Thor::Actions
7
- desc "dream sleep", "Install dream"
7
+ desc "dream sleep", "Install Dream"
8
8
  option :install
9
9
  option :name
10
10
  def sleep()
data/lib/dream/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dream
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Vecchio
@@ -10,6 +10,20 @@ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.19'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.19'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,8 +66,7 @@ files:
52
66
  - LICENSE.txt
53
67
  - README.md
54
68
  - Rakefile
55
- - bin/console
56
- - bin/setup
69
+ - bin/dream
57
70
  - dream.gemspec
58
71
  - lib/dream.rb
59
72
  - lib/dream/cli.rb
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "dream"
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
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here