rciq 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 2d06111a743c5338ca19f0445ef0a03938e1ee2787c0a2766627665b1ed5a3da
4
- data.tar.gz: 67e545f2e2a5fc21dc34437cd00611c4a988a81e5339ce8434d7f19aaa3baa34
3
+ metadata.gz: 1dce86e2949f24988f2bfe5a46e53957490a5ed4c810526c88662dc9c8a2e364
4
+ data.tar.gz: d27c023d1fe096737fa1085a177408dddddfaffee1d375c1aa3b7308adb1a303
5
5
  SHA512:
6
- metadata.gz: b4fd1f74a98b6a3323319741416fde407b7f01762a603903916e8e4a9d74bfbff737f400e5fc1c2508d2253827589b6653e3c49db02409ade5fd038a61426eea
7
- data.tar.gz: 3176c0020a77a4cd4c38a60574555af41421af5a7bddb1b97711072efb4683be208fcfc18b9ce10ab8cf204654a154a0442fe7b6018985f475fc5855f417edf8
6
+ metadata.gz: 2d4276f6adc493088f7f4fd366b747b23acd40b36a418701497787cc8f21eb0c25634434a0c786bce49d8f2d83fefafa949f0042c3a0471df38a7f2825565129
7
+ data.tar.gz: 1e8cad54f573646772d8a55cb84c645bac505cda56015520c1a9e88691e954ca6f6234495db61678429c23f40b88e35114aa1d42b89152d35960c5207731d9e0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rciq (0.1.0)
4
+ rciq (0.1.1)
5
5
  bundler (~> 2.0)
6
6
  rspec (~> 3.0)
7
7
 
data/lib/rciq/raw.rb ADDED
@@ -0,0 +1,17 @@
1
+ require_relative 'base'
2
+
3
+ module Rciq
4
+ class Raw < Base
5
+ def self.youtube(id)
6
+ get("raw/yt/channel/info/?url=#{id}")
7
+ end
8
+
9
+ def self.instagram(id)
10
+ get("raw/ig/media/info/?code=#{id}")
11
+ end
12
+
13
+ def self.tiktok(id)
14
+ get("raw/tt/user/media/?url=#{id}")
15
+ end
16
+ end
17
+ end
data/lib/rciq/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rciq
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/rciq.rb CHANGED
@@ -4,6 +4,7 @@ require_relative "rciq/version"
4
4
  require_relative "rciq/configuration"
5
5
  require_relative "rciq/account"
6
6
  require_relative "rciq/dict"
7
+ require_relative "rciq/raw"
7
8
 
8
9
  module Rciq
9
10
  class Error < StandardError; end
data/rciq-0.1.0.gem ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rciq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Zhu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-22 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,9 +58,11 @@ files:
58
58
  - lib/rciq/base.rb
59
59
  - lib/rciq/configuration.rb
60
60
  - lib/rciq/dict.rb
61
+ - lib/rciq/raw.rb
61
62
  - lib/rciq/request.rb
62
63
  - lib/rciq/specs/iqdata_spec.rb
63
64
  - lib/rciq/version.rb
65
+ - rciq-0.1.0.gem
64
66
  homepage:
65
67
  licenses:
66
68
  - MIT