nectar 0.0.1

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
+ SHA1:
3
+ metadata.gz: 658b7c3ee06d063caccc0c4a1989c02e1cf4e329
4
+ data.tar.gz: 671ef92d505e6559ccadc25db8957bfcdcd97c81
5
+ SHA512:
6
+ metadata.gz: 07e154766e6f5281c68716efe2657270fa364d7f8a6f95312354ae1cf1ff38448b955529bf4d41e57370ffd15b6d1f67879f1cd4c45564e8ec9c1cf4b195e4a9
7
+ data.tar.gz: c9509cfc1927cc3d24f711dc9d9d374daa8d97a24cba21c54ecfd38a685078567894a1c0ba2a80dc57797882492668979bd59b3b7f0fa591f8c4aa4deae122fd
@@ -0,0 +1,34 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /lib/bundler/man/
26
+
27
+ # for a library or gem, you might want to ignore these files since the code is
28
+ # intended to run in multiple environments; otherwise, check them in:
29
+ Gemfile.lock
30
+ .ruby-version
31
+ .ruby-gemset
32
+
33
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
34
+ .rvmrc
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ matrix:
3
+ allow_failures:
4
+ - rvm: ruby-head
5
+ rvm:
6
+ - 1.9.3
7
+ - 2.0.0
8
+ - 2.1.0
9
+ - ruby-head
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in nectar.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 David Elner
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ Nectar
2
+ ==========
3
+
4
+ [![Build Status](https://travis-ci.org/delner/nectar.svg?branch=master)](https://travis-ci.org/delner/nectar) ![Gem Version](https://badge.fury.io/rb/nectar.svg)
5
+ ###### *For Ruby 1.9.3, 2.0.0, 2.1.0*
6
+
7
+ ### Introduction
8
+
9
+ `nectar` is a framework for serving realtime subscription-based APIs.
10
+
11
+ ### Installation
12
+
13
+ (To be written.)
14
+
15
+ ### Usage
16
+
17
+ (To be written.)
18
+
19
+ ### Changelog
20
+
21
+ #### Version 0.0.1
22
+
23
+ - Initial version of Nectar
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+ require 'nectar'
4
+
5
+ require 'rspec/core/rake_task'
6
+ RSpec::Core::RakeTask.new
7
+ task :default => :spec
8
+ task :test => :spec
9
+
10
+ namespace :doc do
11
+ begin
12
+ require 'yard'
13
+ rescue LoadError
14
+ # ignore
15
+ else
16
+ YARD::Rake::YardocTask.new do |task|
17
+ task.files = ['lib/**/*.rb']
18
+ task.options = [
19
+ '--protected',
20
+ '--output-dir', 'doc/yard',
21
+ '--tag', 'format:Supported formats',
22
+ '--markup', 'markdown',
23
+ ]
24
+ end
25
+ end
26
+ end
27
+
28
+ desc "Open an irb session preloaded with this library"
29
+ task :console do
30
+ sh "irb -rubygems -I lib -r nectar.rb"
31
+ end
@@ -0,0 +1,5 @@
1
+ require "nectar/version"
2
+
3
+ module Nectar
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Nectar
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ $LOAD_PATH << File.expand_path("../lib", __FILE__)
3
+ require 'nectar/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "nectar"
7
+ s.version = Nectar::VERSION
8
+ s.authors = ["David Elner"]
9
+ s.email = ["david@davidelner.com"]
10
+ s.summary = %q{Framework for serving realtime subscription-based APIs.}
11
+ s.description = %q{Framework for serving realtime subscription-based APIs.}
12
+ s.homepage = "http://github.com/delner/nectar"
13
+ s.license = "MIT"
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ s.test_files = `git ls-files -- {spec,features,gemfiles}/*`.split("\n")
18
+
19
+ s.require_paths = ["lib"]
20
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
21
+
22
+ s.add_development_dependency "rake", "~> 10.0"
23
+ s.add_development_dependency "rspec", "~> 3.3"
24
+ s.add_development_dependency "pry"
25
+ s.add_development_dependency "pry-stack_explorer", "~> 0.4.9"
26
+ s.add_development_dependency "yard", "~> 0.8.7.6"
27
+ end
@@ -0,0 +1,19 @@
1
+
2
+ $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
3
+ $LOAD_PATH << File.join(File.dirname(__FILE__))
4
+
5
+ require 'rubygems'
6
+ require 'pry'
7
+
8
+ require 'nectar'
9
+
10
+ Dir["spec/support/**/*.rb"].each { |f| require File.expand_path(f) }
11
+
12
+ RSpec.configure do |config|
13
+ config.expect_with :rspec do |expectations|
14
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
15
+ end
16
+ config.mock_with :rspec do |mocks|
17
+ mocks.verify_partial_doubles = true
18
+ end
19
+ end
metadata ADDED
@@ -0,0 +1,126 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nectar
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - David Elner
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry-stack_explorer
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.9
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.4.9
69
+ - !ruby/object:Gem::Dependency
70
+ name: yard
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.8.7.6
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.8.7.6
83
+ description: Framework for serving realtime subscription-based APIs.
84
+ email:
85
+ - david@davidelner.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".travis.yml"
93
+ - Gemfile
94
+ - LICENSE.txt
95
+ - README.md
96
+ - Rakefile
97
+ - lib/nectar.rb
98
+ - lib/nectar/version.rb
99
+ - nectar.gemspec
100
+ - spec/spec_helper.rb
101
+ homepage: http://github.com/delner/nectar
102
+ licenses:
103
+ - MIT
104
+ metadata: {}
105
+ post_install_message:
106
+ rdoc_options: []
107
+ require_paths:
108
+ - lib
109
+ required_ruby_version: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 1.9.2
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ requirements: []
120
+ rubyforge_project:
121
+ rubygems_version: 2.4.3
122
+ signing_key:
123
+ specification_version: 4
124
+ summary: Framework for serving realtime subscription-based APIs.
125
+ test_files: []
126
+ has_rdoc: