action_bot 0.1.11 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c7b93bcc74b1177db53496b7e7677700fb92beffeea7b2eb3e578fa8828b810
4
- data.tar.gz: 298d76f38f61e722528cee2188350f6a2014d870d8499822c536af6c13a4de97
3
+ metadata.gz: 6de4a5c2c1fe6a086128a827eccb0fa734c7f6fa889542ef42d20255938baca0
4
+ data.tar.gz: f02b78ccad516424b5e373d96884289a0fee5c12d1cfeaf1c0d05c6a9cf3bfed
5
5
  SHA512:
6
- metadata.gz: aeefeb27db112a388b9d9b48c6ef2f70e2a9a7bd492fea653377834cf2adb32c08ad25ba0ccc1e7e10f3c61ed6481eaa5e60d88d8c7453622c65f3025df3617c
7
- data.tar.gz: '0937e8b7b552e8af9c033fdf8d3af8f2ca7274ed4026da78a5a9d840da4c7f5befdb293954bac7f2984f9d302e7389b8b272967b7a20ee4c896779b967e2cc85'
6
+ metadata.gz: 37dd1778d7b62fdfec43c3517eaea7e955cc3dfd013409ba993a15401a8a2cbc3c0c1d09b05d59cd2fa76f5b5ab9ebb5ac572648cd54348ff4409be10f536a1f
7
+ data.tar.gz: b449f676506be929e261beb4f60ea558c4b1a06ccbb51221ea6669b8af1eb117c525cf0d33fe1cf49e3b7472ccfd0d1d8c51a04d13dad045aae379a1262ca315
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ import "./lib/tasks/bot_scaffold.rake"
data/lib/action_bot.rb CHANGED
@@ -18,4 +18,4 @@ require 'active_support'
18
18
  require 'action_pack'
19
19
  require 'action_controller'
20
20
 
21
- Dir["#{Dir.pwd}/controllers/bots_controller.rb", "#{Dir.pwd}/controllers/**/*.rb", "#{Dir.pwd}/models/**/*.rb"].each { |file| require file }
21
+ Dir["#{Dir.pwd}/controllers/bots_controller.rb", "#{Dir.pwd}/controllers/**/*.rb", "#{Dir.pwd}/models/**/*.rb", "#{Dir.pwd}/config/configuration.rb", "#{Dir.pwd}/bots/**/*.rb"].each { |file| require file }
@@ -0,0 +1,6 @@
1
+ spec = Gem::Specification.find_by_name 'action_bot'
2
+
3
+ desc 'Generate files for the bot'
4
+ task :bot_scaffold do
5
+ FileUtils.cp_r "#{spec}/scaffolds/.", "#{Dir.pwd}"
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Barseek
@@ -115,6 +115,7 @@ extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
117
  - Gemfile
118
+ - Rakefile
118
119
  - lib/action_bot.rb
119
120
  - lib/action_bot/base.rb
120
121
  - lib/action_bot/controller.rb
@@ -124,6 +125,7 @@ files:
124
125
  - lib/configuration/configurators/bot_configurator.rb
125
126
  - lib/configuration/configurators/db_configurator.rb
126
127
  - lib/configuration/configurators/i18n_configurator.rb
128
+ - lib/tasks/bot_scaffold.rake
127
129
  homepage: https://rubygems.org/gems/hola
128
130
  licenses:
129
131
  - MIT