Skip to content

Commit

Permalink
change gem name
Browse files Browse the repository at this point in the history
  • Loading branch information
svoboda-jan committed Oct 11, 2014
1 parent 51ac7ad commit a1c6be8
Show file tree
Hide file tree
Showing 80 changed files with 85 additions and 83 deletions.
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 asterisk-ari.gemspec
# Specify your gem's dependencies in asterisk-ari-client.gemspec
gemspec
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It uses the swagger ARI json definitions to generate ruby classes.
Add this line to your application's Gemfile:

```ruby
gem 'asterisk-ari'
gem 'asterisk-ari-client'
```

And then execute:
Expand All @@ -17,7 +17,7 @@ And then execute:

Or install it yourself as:

$ gem install asterisk-ari
$ gem install asterisk-ari-client

## Usage

Expand Down
6 changes: 3 additions & 3 deletions asterisk-ari.gemspec → asterisk-ari-client.gemspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'asterisk/ari/version'
require 'asterisk/ari/client/version'

Gem::Specification.new do |spec|
spec.name = "asterisk-ari"
spec.version = Asterisk::Ari::VERSION
spec.name = "asterisk-ari-client"
spec.version = Asterisk::Ari::Client::VERSION
spec.authors = ["Jan Svoboda"]
spec.email = ["[email protected]"]
spec.summary = %q{Ruby client library for the Asterisk REST Interface (ARI).}
Expand Down
2 changes: 1 addition & 1 deletion examples/list_channels.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'asterisk-ari'
require 'asterisk-ari-client'

@client = Ari::Client.new(
url: 'http://192.168.1.23:8088/ari',
Expand Down
2 changes: 1 addition & 1 deletion examples/websocket.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'asterisk-ari'
require 'asterisk-ari-client'

Ari.client = Ari::Client.new(
url: 'http://192.168.1.23:8088/ari',
Expand Down
2 changes: 1 addition & 1 deletion lib/ari/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Client
'Content-Type' => 'json',
'Accept' => 'application/json',
'Accept-Charset' => 'utf-8',
'User-Agent' => "asterisk-ari/#{::Asterisk::Ari::VERSION} ruby/#{RUBY_VERSION}"
'User-Agent' => "asterisk-ari-client/#{::Asterisk::Ari::Client::VERSION} ruby/#{RUBY_VERSION}"
}

def initialize(options = {})
Expand Down
2 changes: 1 addition & 1 deletion lib/ari/generators/templates/model.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/generators/templates/resource.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/application_replaced.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/asterisk_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/bridge_attended_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/bridge_blind_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/bridge_created.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/bridge_destroyed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/bridge_merged.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/build_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/caller_id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_caller_id.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_created.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_destroyed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_dialplan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_dtmf_received.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_entered_bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_hangup_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_left_bridge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_state_change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_talking_finished.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_talking_started.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_userevent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/channel_varset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/config_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/device_state_changed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/dial.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/dialed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/dialplan_cep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/endpoint_state_change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/format_lang_pair.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/live_recording.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/missing_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/playback_finished.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/playback_started.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion lib/ari/models/recording_failed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This is a generated file. DO NOT EDIT THIS FILE! Your changes will
# be lost the next time this file is regenerated.
#
# This file was generated using asterisk-ari ruby gem.
# This file was generated using asterisk-ari-client ruby gem.
#
#------------------------------------------------------------------------------

Expand Down
Loading

0 comments on commit a1c6be8

Please sign in to comment.