Skip to content

Commit

Permalink
Merge pull request #2 from cyberkov/update-to-wit-4
Browse files Browse the repository at this point in the history
Update to wit 4.1
  • Loading branch information
dbastin committed Feb 8, 2017
2 parents 140de92 + 7b36634 commit 5059a6e
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/lita-wit.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'lita'
require 'wit'

Expand Down
1 change: 1 addition & 0 deletions lib/lita/actions/base.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Actions
class Base
Expand Down
2 changes: 2 additions & 0 deletions lib/lita/actions/weather.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Actions
class Weather < Base
Expand All @@ -10,6 +11,7 @@ def actions(source)
Utils::ContextPiper.pipe(r['context'], r['entities'], 'location', 'loc')
r['context']
end)

end
end
end
Expand Down
1 change: 1 addition & 0 deletions lib/lita/handlers/wit.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Handlers
class Wit < Handler
Expand Down
1 change: 1 addition & 0 deletions lib/lita/services/wit_client.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Services
class WitClient
Expand Down
1 change: 1 addition & 0 deletions lib/lita/utils/alias_stripper.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Utils
class AliasStripper
Expand Down
1 change: 1 addition & 0 deletions lib/lita/utils/aliases.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Utils
class Aliases
Expand Down
1 change: 1 addition & 0 deletions lib/lita/utils/bickle.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Utils
class Bickle
Expand Down
1 change: 1 addition & 0 deletions lib/lita/utils/context_piper.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Utils
class ContextPiper
Expand Down
1 change: 1 addition & 0 deletions lib/lita/utils/entities_navigator.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Lita
module Utils
class EntitiesNavigator
Expand Down
1 change: 1 addition & 0 deletions lita-wit.gemspec
@@ -1,3 +1,4 @@
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = 'lita-wit'
spec.version = '0.1.3'
Expand Down
1 change: 1 addition & 0 deletions spec/lita_config.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
Lita.configure do |config|
config.robot.name = 'Lita'
config.robot.log_level = :info
Expand Down
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'simplecov'

require 'coveralls'
Expand Down Expand Up @@ -31,4 +32,4 @@
config.configure_rspec_metadata!
end

SESSION_ID = 'unique-1234'
SESSION_ID = 'unique-1234'.freeze

0 comments on commit 5059a6e

Please sign in to comment.