board_posting_duo 0.0.3 → 0.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/board_posting_duo.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9759750c6be96746850a551773cf42907495b96d577704a0a4ac73bd915cfe88
4
- data.tar.gz: 5dc02b9a929ee9927a4b7d7820b6d5c12788985c2e7bc53540fa0de85377d764
3
+ metadata.gz: b95b5b20a5c3e0057d8f01dd2551b23141291d0662b32401522a129b33b36363
4
+ data.tar.gz: 87238898aa621547869b6b34784ae4ad2722d1d3e91713fb5b5a878a3b8ed8b0
5
5
  SHA512:
6
- metadata.gz: 06e47fb8fd500834ff07d0791c2faa238275f1c689cfc2882e1e6985c9eecf72ae1c11a2d0265427859df31844c1fa466b0f4a41ece90dcf59086e52d9344574
7
- data.tar.gz: b4afbc977a7678c93148f10b1494d560510192286dab000d8faaac467ed39b8a1d977105bc473e2f1a13add0f77ed4eaaf69d3eb94dd3e9ba56123dc7c3dd923
6
+ metadata.gz: '088131e48e2003b47b70ac9259c513816f506d5cbeea9bbaeac1996cec2c54a6d82884e114c7aedd9cda5fce95553b5445ab39efbb0790966174da6ccfc06e90'
7
+ data.tar.gz: eca1764da5ae97a5415cd97c1a0cd653685d54e6d72cf2969f197483d152bca41c41659c1ebc1546abafe723cb6478ece7b72a45d621990277a197ab26ec269c
@@ -5784,7 +5784,7 @@ class Wordpress
5784
5784
  c = noko.xpath('//*[@id="at-main"]/div/table/tbody').to_s.split('<tr>').length-1
5785
5785
  for n in 1..c
5786
5786
  tt = noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']').to_s
5787
- if tt.include?(user_id.to_s) and tt.include?('T블로그 자동 포스팅 프로그램')
5787
+ if tt.include?(user_id.to_s) and tt.include?('그누보드 게시판 자동 등록기')
5788
5788
  if noko.xpath('//*[@id="at-main"]/div/table/tbody/tr['+n.to_s+']/td[7]/label[1]/input').to_s.include?('checked')
5789
5789
  if mac_check(user_id) == 1
5790
5790
  return 1
@@ -5812,7 +5812,7 @@ class Wordpress
5812
5812
  cookie[i.to_s.split('=')[0]] = i.to_s.split('=')[1]
5813
5813
  end
5814
5814
 
5815
- http = HTTP.cookies(cookie).get('http://marketingduo.co.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'--T블로그 자동 포스팅 프로그램')
5815
+ http = HTTP.cookies(cookie).get('http://marketingduo.co.kr/bbs/board.php?bo_table=product&sca=&sfl=wr_subject&sop=and&stx='+userid+'--그누보드 게시판 자동 등록기')
5816
5816
  noko = Nokogiri::HTML(http.to_s)
5817
5817
  mac_history = Array.new
5818
5818
  mac_url = Array.new
@@ -5858,7 +5858,7 @@ class Wordpress
5858
5858
  year2 = Time.now.to_s.split(' ')[1].split(':').join('')
5859
5859
  uid = year+year2
5860
5860
  puts uid
5861
- json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'--T블로그 자동 포스팅 프로그램', 'wr_content' => mac_address}
5861
+ json = {'token' => token, 'uid' => uid, 'bo_table' => 'product', 'wr_id' => '0', 'wr_subject' => userid+'--그누보드 게시판 자동 등록기', 'wr_content' => mac_address}
5862
5862
  http = HTTP.cookies(cookie).post('http://marketingduo.co.kr/bbs/write_update.php', :form => json)
5863
5863
  return 1
5864
5864
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: board_posting_duo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - soonje