修改推送的gem 成为一个推送的服务
Showing
.ruby-version
0 → 100644
source "https://rubygems.org" | ||
source 'https://gems.ruby-china.com' | ||
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | ||
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | ||
# Specify your gem's dependencies in app_push.gemspec | ||
gemspec | ||
ruby '2.6.0' | ||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
gem 'rails', '~> 5.2.2', '>= 5.2.2.1' | ||
# Use sqlite3 as the database for Active Record | ||
gem 'sqlite3' | ||
# Use Puma as the app server | ||
gem 'puma', '~> 3.11' | ||
# Use SCSS for stylesheets | ||
gem 'sass-rails', '~> 5.0' | ||
# Use Uglifier as compressor for JavaScript assets | ||
gem 'uglifier', '>= 1.3.0' | ||
# See https://github.com/rails/execjs#readme for more supported runtimes | ||
# gem 'mini_racer', platforms: :ruby | ||
# Use CoffeeScript for .coffee assets and views | ||
gem 'coffee-rails', '~> 4.2' | ||
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks | ||
gem 'turbolinks', '~> 5' | ||
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | ||
gem 'jbuilder', '~> 2.5' | ||
# Use Redis adapter to run Action Cable in production | ||
# gem 'redis', '~> 4.0' | ||
# Use ActiveModel has_secure_password | ||
# gem 'bcrypt', '~> 3.1.7' | ||
# Use ActiveStorage variant | ||
# gem 'mini_magick', '~> 4.8' | ||
# Use Capistrano for deployment | ||
# gem 'capistrano-rails', group: :development | ||
# Reduces boot times through caching; required in config/boot.rb | ||
gem 'bootsnap', '>= 1.1.0', require: false | ||
group :development, :test do | ||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console | ||
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] | ||
end | ||
group :development do | ||
# Access an interactive console on exception pages or by calling 'console' anywhere in the code. | ||
gem 'web-console', '>= 3.3.0' | ||
gem 'listen', '>= 3.0.5', '< 3.2' | ||
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | ||
gem 'spring' | ||
gem 'spring-watcher-listen', '~> 2.0.0' | ||
end | ||
group :test do | ||
# Adds support for Capybara system testing and selenium driver | ||
gem 'capybara', '>= 2.15' | ||
gem 'selenium-webdriver' | ||
# Easy installation and use of chromedriver to run system tests with Chrome | ||
gem 'chromedriver-helper' | ||
end | ||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem | ||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] |
app/assets/config/manifest.js
0 → 100644
app/assets/images/.keep
0 → 100644
app/assets/javascripts/application.js
0 → 100644
app/assets/javascripts/cable.js
0 → 100644
app/assets/javascripts/channels/.keep
0 → 100644
app/assets/stylesheets/application.css
0 → 100644
app/channels/application_cable/channel.rb
0 → 100644
app/channels/application_cable/connection.rb
0 → 100644
app/controllers/application_controller.rb
0 → 100644
app/controllers/concerns/.keep
0 → 100644
app/helpers/application_helper.rb
0 → 100644
app/jobs/application_job.rb
0 → 100644
app/mailers/application_mailer.rb
0 → 100644
app/models/application_record.rb
0 → 100644
app/models/concerns/.keep
0 → 100644
app/views/layouts/application.html.erb
0 → 100644
app/views/layouts/mailer.html.erb
0 → 100644
app/views/layouts/mailer.text.erb
0 → 100644
app_push.gemspec
deleted
100644 → 0
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'app_push/version' | ||
Gem::Specification.new do |spec| | ||
spec.name = 'app_push' | ||
spec.version = AppPush::VERSION | ||
spec.authors = ['zmj'] | ||
spec.email = ['zhang.mj@ikcrm.com'] | ||
spec.summary = '消息推送项目,当前集成了个推和小米推送' | ||
spec.description = 'T消息推送项目,当前集成了个推和小米推送' | ||
spec.homepage = 'http://gitlab.ikcrm.com/ikcrm_server/app_push' | ||
# Specify which files should be added to the gem when it is released. | ||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | ||
spec.files = Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ['lib'] | ||
spec.add_dependency 'activesupport', '~> 4.2.1' | ||
spec.add_dependency 'igetui-ruby', '~> 1.2.2' | ||
end |
bin/bundle
0 → 100755
bin/rails
0 → 100755
bin/rake
0 → 100755
bin/setup
0 → 100755
bin/spring
0 → 100755
bin/update
0 → 100755
bin/yarn
0 → 100755
config.ru
0 → 100644
config/application.rb
0 → 100644
config/boot.rb
0 → 100644
config/cable.yml
0 → 100644
config/credentials.yml.enc
0 → 100644
config/database.yml
0 → 100644
config/environment.rb
0 → 100644
config/environments/development.rb
0 → 100644
config/environments/production.rb
0 → 100644
config/environments/test.rb
0 → 100644
config/initializers/assets.rb
0 → 100644
config/initializers/backtrace_silencers.rb
0 → 100644
config/initializers/cookies_serializer.rb
0 → 100644
config/initializers/inflections.rb
0 → 100644
config/initializers/mime_types.rb
0 → 100644
config/initializers/wrap_parameters.rb
0 → 100644
config/locales/en.yml
0 → 100644
config/puma.rb
0 → 100644
config/routes.rb
0 → 100644
config/spring.rb
0 → 100644
config/storage.yml
0 → 100644
db/seeds.rb
0 → 100644
lib/app_push.rb
deleted
100644 → 0
lib/app_push/huawei.rb
deleted
100644 → 0
lib/app_push/igetui.rb
deleted
100644 → 0
lib/app_push/igetui/push.rb
deleted
100644 → 0
lib/app_push/log.rb
deleted
100644 → 0
lib/app_push/version.rb
deleted
100644 → 0
lib/app_push/xiaomi.rb
deleted
100644 → 0
lib/assets/.keep
0 → 100644
lib/tasks/.keep
0 → 100644
log/.keep
0 → 100644
package.json
0 → 100644
{ | ||
"name": "app_push", | ||
"private": true, | ||
"dependencies": {} | ||
} |
public/404.html
0 → 100644
public/422.html
0 → 100644
public/500.html
0 → 100644
public/apple-touch-icon-precomposed.png
0 → 100644
public/apple-touch-icon.png
0 → 100644
public/favicon.ico
0 → 100644
public/robots.txt
0 → 100644
storage/.keep
0 → 100644
test/application_system_test_case.rb
0 → 100644
test/controllers/.keep
0 → 100644
test/fixtures/.keep
0 → 100644
test/fixtures/files/.keep
0 → 100644
test/helpers/.keep
0 → 100644
test/integration/.keep
0 → 100644
test/mailers/.keep
0 → 100644
test/models/.keep
0 → 100644
test/system/.keep
0 → 100644
test/test_helper.rb
0 → 100644
vendor/.keep
0 → 100644
Please
register
or
sign in
to comment