qqpush 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d73a1f842b4b0cf1a0c6a1a1f506f7cbd5cbafa4
4
- data.tar.gz: c4bf7cb1329de5f33565ad4ac3f84dc911fecd49
3
+ metadata.gz: f66184800ba05b981f6588daacc379efda78d1f1
4
+ data.tar.gz: 10b5b5383c96134155fcd11f8b1c6403b1caedd1
5
5
  SHA512:
6
- metadata.gz: 5f724cd7d06cb65bb4f4ba8a01b94df377c001d3de2dd769a375c3021844476aecdfef1bc6ada222948715c96c01541fcc836b1cfb0585a87845f7c170bd0ee5
7
- data.tar.gz: 02d01e7e0f0a80343d65c1166f074748f1c699997ed4720048f553a428ca5637f07135b099b11dd60c56353fc755928ae1985cfd1494a63cd2401d9759316ce2
6
+ metadata.gz: bc7362d250b87ed8b8dff0187ced6c749c945e41c92161882c0976c8625437c7d08f2bf129ca1294cbc547b50aca16b651b7591daf69bb0c55fb9fc43c9ff282
7
+ data.tar.gz: 3eb730141b1981e949b0f1e5c7f8be11defc802b9f23e0095e76ec87e1d43e42113a72bf841e516f17b5b1efdc882630f78951a6f1b71eba946c0a0977841942
data/Rakefile CHANGED
@@ -24,7 +24,7 @@ end
24
24
  desc 'build gem'
25
25
  task :build do
26
26
  Dir.glob('*push-*.gem').each { |f| File.delete(f) }
27
- puts `bundle exec gem build xgpush.gemspec`
27
+ puts `bundle exec gem build qqpush.gemspec`
28
28
  end
29
29
 
30
30
  desc 'publish gem'
@@ -1,4 +1,4 @@
1
- module Xgpush
1
+ module QQpush
2
2
  class Android < General
3
3
  end
4
4
  end
@@ -2,7 +2,7 @@ require 'uri'
2
2
  require 'openssl'
3
3
  require 'rest-client'
4
4
 
5
- module Xgpush
5
+ module QQpush
6
6
  class General
7
7
  attr_accessor :settings
8
8
 
@@ -1,4 +1,4 @@
1
- module Xgpush
1
+ module QQpush
2
2
  class Ios < General
3
3
  end
4
4
  end
data/lib/qqpush.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'qqpush/android'
2
+ require 'qqpush/ios'
3
+
4
+ module QQpush
5
+ end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'qqpush'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.3'
4
4
  s.date = '2015-08-31'
5
5
  s.summary = 'Tencent XG Push'
6
6
  s.description = 'App push service by Tencent XG'
data/spec/general_spec.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- require 'xgpush/general'
2
+ require 'qqpush/general'
3
3
 
4
4
  describe 'General methods' do
5
5
  before do
6
- @request = Xgpush::General.new
6
+ @request = QQpush::General.new
7
7
  @request.settings = { access_id: '123' }
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qqpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chao Li
@@ -50,12 +50,12 @@ files:
50
50
  - LICENSE.txt
51
51
  - README.md
52
52
  - Rakefile
53
- - lib/xgpush.rb
54
- - lib/xgpush/android.rb
55
- - lib/xgpush/general.rb
56
- - lib/xgpush/ios.rb
53
+ - lib/qqpush.rb
54
+ - lib/qqpush/android.rb
55
+ - lib/qqpush/general.rb
56
+ - lib/qqpush/ios.rb
57
+ - qqpush.gemspec
57
58
  - spec/general_spec.rb
58
- - xgpush.gemspec
59
59
  homepage: https://github.com/chaoli46/qqpush
60
60
  licenses:
61
61
  - MIT
data/lib/xgpush.rb DELETED
@@ -1,5 +0,0 @@
1
- require 'xgpush/android'
2
- require 'xgpush/ios'
3
-
4
- module Xgpush
5
- end