Skip to content

Commit

Permalink
first post
Browse files Browse the repository at this point in the history
  • Loading branch information
danryan committed Jul 28, 2013
1 parent d3e7d91 commit 476cfdb
Show file tree
Hide file tree
Showing 37 changed files with 501 additions and 182 deletions.
69 changes: 68 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,71 @@ test/tmp
test/version_tmp
tmp
/.bin
vendor/gems
vendor/gems
# bundler state
/.bundle
/vendor/bundle/

# minimal Rails specific artifacts
db/*.sqlite3
/log/*
/tmp/*

# various artifacts
!.keep
**.war
*.rbc
*.sassc
.rspec
.redcar/
.sass-cache
config/application.yml
!.env.*
.env
# /config/config.yml
# /config/database.yml
/coverage.data
/coverage/
/db/*.javadb/
/db/*.sqlite3
/doc
/public/cache
/public/stylesheets/compiled
/public/system/*
/spec/tmp/*
/cache
/capybara*
/capybara-*.html
/gems
/specifications
/.yardoc
rerun.txt
tags
pickle-email-*.html

# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
#
# Here are some files you may want to ignore globally:

# scm revert files
**.orig

# Mac finder artifacts
.DS_Store

# Netbeans project directory
/nbproject/

# RubyMine project files
.idea

# Textmate project files
/*.tmproj

# vim artifacts
**.swp

# Sublime Text files
**.sublime-*
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
script: bundle exec rake spec
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq rpm
env:
- RAILS_ENV="test"
before_script: "script/bootstrap"
script: "script/cibuild"
bundler_args: --binstubs .bin --path vendor/bundle --without local development staging production
branches:
only:
- master

2 changes: 1 addition & 1 deletion CONTRIBUTING.md → CONTRIBUTING
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
5. Create new Pull Request
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in reveille.gemspec
# Specify your gem's dependencies in revily.gemspec
gemspec
2 changes: 1 addition & 1 deletion LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 Dan Ryan
Copyright (c) 2013 Applied Awesome LLC

MIT License

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Reveille
# Revily

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'reveille'
gem 'revily'

And then execute:

$ bundle

Or install it yourself as:

$ gem install reveille
$ gem install revily

## Usage

Expand Down
9 changes: 0 additions & 9 deletions bin/reveille

This file was deleted.

7 changes: 0 additions & 7 deletions lib/reveille.rb

This file was deleted.

11 changes: 0 additions & 11 deletions lib/reveille/command.rb

This file was deleted.

33 changes: 0 additions & 33 deletions lib/reveille/command/base.rb

This file was deleted.

18 changes: 0 additions & 18 deletions lib/reveille/command/service.rb

This file was deleted.

10 changes: 0 additions & 10 deletions lib/reveille/command/service/create.rb

This file was deleted.

10 changes: 0 additions & 10 deletions lib/reveille/command/service/delete.rb

This file was deleted.

10 changes: 0 additions & 10 deletions lib/reveille/command/service/list.rb

This file was deleted.

10 changes: 0 additions & 10 deletions lib/reveille/command/service/show.rb

This file was deleted.

10 changes: 0 additions & 10 deletions lib/reveille/command/service/update.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/reveille/version.rb

This file was deleted.

61 changes: 61 additions & 0 deletions lib/revily/client.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
module Revily
module Client

end
end
# require 'revily/authentication'
# require 'revily/connection'
# require 'revily/request'

# require 'revily/clients/incidents'
# require 'revily/clients/policies'
# require 'revily/clients/policy_rules'
# require 'revily/clients/schedule_layers'
# require 'revily/clients/schedules'
# require 'revily/clients/services'
# require 'revily/clients/users'

# module Revily
# class Client
# attr_accessor(*Config::VALID_OPTIONS_KEYS)

# def initialize(options={})
# options = Revily.options.merge(options)
# Config::VALID_OPTIONS_KEYS.each do |key|
# send("#{key}=", options[key])
# end
# end

# include Revily::Authentication
# include Revily::Connection
# include Revily::Request

# include Revily::Client::Incidents
# include Revily::Client::Integration
# include Revily::Client::Policies
# include Revily::Client::PolicyRules
# include Revily::Client::ScheduleLayers
# include Revily::Client::Schedules
# include Revily::Client::Services
# include Revily::Client::Users
# include Revily::Client::Webhooks
# end
# end

# extend Config

# class << self

# def new(options={})
# Revily::Client.new(options)
# end

# def method_missing(method, *args, &block)
# return super unless new.respond_to?(method)
# new.send(method, *args, &block)
# end

# def respond_to?(method, include_private=false)
# new.respond_to?(method, include_private) || super(method, include_private)
# end
# end
Loading

0 comments on commit 476cfdb

Please sign in to comment.