Skip to content

Commit

Permalink
Initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Stas Kobzar committed Apr 3, 2013
1 parent 87b8760 commit 02446d3
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 46 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Ignore temporary files
.*swp
*~

*.gem
*.rbc
.bundle
Expand All @@ -16,3 +20,8 @@ tmp
.yardoc
_yardoc
doc/

.DS_Store
results.html
html

3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: ruby
rvm:
- 1.9.3
23 changes: 3 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,20 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
bourne (1.1.2)
mocha (= 0.10.5)
i18n (0.6.1)
json (1.7.7)
metaclass (0.0.1)
mocha (0.10.5)
metaclass (~> 0.0.1)
multi_json (1.6.1)
rake (0.9.6)
rdoc (3.12.1)
json (~> 1.4)
shoulda (3.3.2)
shoulda-context (~> 1.0.1)
shoulda-matchers (~> 1.4.1)
shoulda-context (1.0.2)
shoulda-matchers (1.4.2)
activesupport (>= 3.0.0)
bourne (~> 1.1.2)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)

PLATFORMS
ruby

DEPENDENCIES
bundler
mocha
opensips-mi!
rake (~> 0.9.2)
rdoc
shoulda
simplecov
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Opensips::Mi

TODO: Write a gem description
OpenSIPs management interface API.

## Installation

Expand All @@ -20,6 +20,7 @@ Or install it yourself as:

TODO: Write usage instructions here

----
## Contributing

1. Fork it
Expand Down
8 changes: 1 addition & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,4 @@ Rake::TestTask.new(:test) do |test|
test.verbose = true
end

#require 'rcov/rcovtask'
#Rcov::RcovTask.new do |test|
# test.libs << 'test'
# test.pattern = 'test/**/test_*.rb'
# test.verbose = true
# test.rcov_opts << '--exclude "gems/*"'
#end
task :default => [:test]
7 changes: 0 additions & 7 deletions lib/opensips-mi.rb

This file was deleted.

5 changes: 0 additions & 5 deletions lib/opensips-mi/version.rb

This file was deleted.

12 changes: 12 additions & 0 deletions lib/opensips/mi/transport.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
require "transport/fifo"
require "transport/xmlrpc"
require "transport/http"
require "transport/datagram"

module OpenSIPs
module MI
module Transport

end
end
end
12 changes: 6 additions & 6 deletions opensips-mi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ Gem::Specification.new do |gem|
gem.version = Opensips::MI::VERSION
gem.authors = ["Stas Kobzar"]
gem.email = ["stas@modulis.ca"]
gem.description = %q{TODO: Write a gem description}
gem.summary = %q{TODO: Write a gem summary}
gem.description = %q{Ruby module for interacting with OpenSIPs management interface}
gem.summary = %q{OpenSIPs management interface}
gem.homepage = "http://github.com/staskobzar/opensips-mi"

gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]

gem.add_development_dependency("shoulda")
gem.add_development_dependency("rdoc")
gem.add_development_dependency("bundler")
gem.add_development_dependency("simplecov")
gem.add_development_dependency('rdoc')
gem.add_development_dependency('bundler')
gem.add_development_dependency('mocha')
gem.add_development_dependency('rake', '~> 0.9.2')
end
9 changes: 9 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
require 'minitest/autorun'
require 'mocha/setup'
require 'stringio'
require 'opensips/mi'

require 'pp'

class MiniTest::Unit::TestCase
end

0 comments on commit 02446d3

Please sign in to comment.