├── .env ├── .github └── workflows │ ├── linters.yml │ └── tests.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .vscode └── launch.json ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── Procfile ├── README.md ├── bin └── main.rb ├── config └── puma.rb ├── lib ├── bot.rb ├── inspiration.rb ├── motivation.rb ├── news.rb └── utils.rb ├── my_app.rb └── spec ├── inspiration_spec.rb ├── motivation_spec.rb ├── news_spec.rb ├── spec_helper.rb └── utils_spec.rb /.env: -------------------------------------------------------------------------------- 1 | TELEGRAM_TOKEN = '1679520179:AAF3M2uEOFIB-j6sEc4A0vmpBdYuTqF0BFE' 2 | -------------------------------------------------------------------------------- /.github/workflows/linters.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/.github/workflows/linters.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --require spec_helper 2 | --format doc tictactoe_spec.rb -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/README.md -------------------------------------------------------------------------------- /bin/main.rb: -------------------------------------------------------------------------------- 1 | require_relative '../lib/bot' 2 | 3 | NewsBot.new 4 | -------------------------------------------------------------------------------- /config/puma.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/config/puma.rb -------------------------------------------------------------------------------- /lib/bot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/lib/bot.rb -------------------------------------------------------------------------------- /lib/inspiration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/lib/inspiration.rb -------------------------------------------------------------------------------- /lib/motivation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/lib/motivation.rb -------------------------------------------------------------------------------- /lib/news.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/lib/news.rb -------------------------------------------------------------------------------- /lib/utils.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/lib/utils.rb -------------------------------------------------------------------------------- /my_app.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/my_app.rb -------------------------------------------------------------------------------- /spec/inspiration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/spec/inspiration_spec.rb -------------------------------------------------------------------------------- /spec/motivation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/spec/motivation_spec.rb -------------------------------------------------------------------------------- /spec/news_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/spec/news_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/utils_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/icebox827/telegram-bot/HEAD/spec/utils_spec.rb --------------------------------------------------------------------------------