Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 7648dd572e2311ee91049ab09ce7f7fea67337c7 Andrew ZInenko committed Aug 12, 2011
Showing with 452 additions and 0 deletions.
  1. +5 −0 .document
  2. +43 −0 .gitignore
  3. +8 −0 Gemfile
  4. +20 −0 Gemfile.lock
  5. +20 −0 LICENSE.txt
  6. +23 −0 README.rdoc
  7. +25 −0 Rakefile
  8. +1 −0 VERSION
  9. +9 −0 lib/vk-ruby.rb
  10. +109 −0 lib/vk-ruby/api/base.yml
  11. +63 −0 lib/vk-ruby/api/ext.yml
  12. +16 −0 lib/vk-ruby/api/secure.yml
  13. +63 −0 lib/vk-ruby/core.rb
  14. +14 −0 lib/vk-ruby/secure.rb
  15. +17 −0 lib/vk-ruby/serverside.rb
  16. +16 −0 lib/vk-ruby/standalone.rb
@@ -0,0 +1,5 @@
+lib/**/*.rb
+bin/*
+-
+features/**/*.feature
+LICENSE.txt
@@ -0,0 +1,43 @@
+# rcov generated
+coverage
+
+# rdoc generated
+rdoc
+
+# yard generated
+doc
+.yardoc
+
+# bundler
+.bundle
+
+# jeweler generated
+pkg
+.redcar
+
+# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
+#
+# * Create a file at ~/.gitignore
+# * Include files you want ignored
+# * Run: git config --global core.excludesfile ~/.gitignore
+#
+# After doing this, these files will be ignored in all your git projects,
+# saving you from having to 'pollute' every project you touch with them
+#
+# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
+#
+# For MacOS:
+#
+#.DS_Store
+#
+# For TextMate
+#*.tmproj
+#tmtags
+#
+# For emacs:
+#*~
+#\#*
+#.\#*
+#
+# For vim:
+#*.swp
@@ -0,0 +1,8 @@
+source "http://rubygems.org"
+
+group :development do
+ gem "shoulda", ">= 0"
+ gem "bundler", "~> 1.0.0"
+ gem "jeweler", "~> 1.6.0"
+ gem "rcov", ">= 0"
+end
@@ -0,0 +1,20 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ git (1.2.5)
+ jeweler (1.6.0)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ rake (0.9.2)
+ rcov (0.9.9)
+ shoulda (2.11.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler (~> 1.0.0)
+ jeweler (~> 1.6.0)
+ rcov
+ shoulda
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Andrew Zinenko
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
+= vk-ruby
+
+Ruby wrapper for vk.com API
+
+== Install
+
+ gem install vk-ruby
+
+== Contributing to vk-ruby
+
+* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
+* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
+* Fork the project
+* Start a feature/bugfix branch
+* Commit and push until you are happy with your contribution
+* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
+* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
+
+== Copyright
+
+Copyright (c) 2011 Andi Zinenko. See LICENSE.txt for
+further details.
+
@@ -0,0 +1,25 @@
+# encoding: utf-8
+
+require 'rubygems'
+require 'bundler'
+begin
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+require 'rake'
+
+require 'jeweler'
+Jeweler::Tasks.new do |gem|
+ gem.name = "vk-ruby"
+ gem.homepage = "http://github.com/zinenko/vk-ruby"
+ gem.license = "MIT"
+ gem.summary = %Q{ Ruby wrapper for vk.com API }
+ gem.description = %Q{ Ruby wrapper for vk.com API }
+ gem.email = "zinenkoan@gmail.com"
+ gem.authors = ["Andrew Zinenko"]
+ gem.files.include 'lib/**/*'
+ gem.add_runtime_dependency 'transformer'
+end
@@ -0,0 +1 @@
+0.6.0
@@ -0,0 +1,9 @@
+require 'rubygems'
+require 'net/https'
+require 'transformer'
+require 'json'
+require 'yaml'
+
+%w(core secure serverside standalone).each do |lib|
+ require "vk-ruby/#{lib}"
+end
@@ -0,0 +1,109 @@
+- isAppUser
+- getProfiles
+- getUserBalance
+- getUserSettings
+- getGroups
+- getGroupsFull
+- getVariable
+- getVariables
+- putVariable
+- getHighScores
+- setUserScore
+- getMessages
+- sendMessage
+- getServerTime
+- getAds
+- setNameInMenu
+- execute
+-
+ friends:
+ - get
+ - getAppUsers
+ - getOnline
+ - getMutual
+ photos:
+ - getAlbums
+ - get
+ - getById
+ - createAlbum
+ - editAlbum
+ - edit
+ - move
+ - makeCover
+ - reorderAlbums
+ - reorderPhotos
+ - getUploadServer
+ - save
+ - getProfileUploadServer
+ - saveProfilePhoto
+ - getWallUploadServer
+ - saveWallPhoto
+ wall:
+ - get
+ - getById
+ - savePost
+ - getPhotoUploadServer
+ audio:
+ - get
+ - audio
+ - getById
+ - getLyrics
+ - getUploadServer
+ - save
+ - search
+ - add
+ - delete
+ - edit
+ - restore
+ - reorder
+ video:
+ - get
+ - edit
+ - add
+ - delete
+ - search
+ - getUserVideos
+ - getComments
+ - createComment
+ - editComment
+ - deleteComment
+ - getTags
+ - putTag
+ - removeTag
+ - save
+ notes:
+ - get
+ - getById
+ - getFriendsNotes
+ - add
+ - edit
+ - delete
+ - getComments
+ - createComment
+ - editComment
+ - deleteComment
+ - restoreComment
+ pages:
+ - get
+ - save
+ - saveAccess
+ - getVersion
+ - getHistory
+ - getTitles
+ places:
+ - add
+ - getById
+ - search
+ - checkin
+ - getCheckins
+ - getTypes
+ - getCountries
+ - getCities
+ - getCountryById
+ - getCityById
+ storage:
+ - set
+ - get
+ sms:
+ - setSMSPrefix
+ - getSMSPrefix
@@ -0,0 +1,63 @@
+messages:
+ - get
+ - getDialogs
+ - search
+ - send
+ - delete
+ - restore
+ - markAsNew
+ - markAsRead
+ - getHistory
+ - getLongPollServer
+docs:
+ - get
+ - getById
+ - getUploadServer
+ - getWallUploadServer
+ - save
+wall:
+ - post
+ - delete
+ - restore
+ - getComments
+ - addComment
+ - deleteComment
+ - restoreComment
+ - addLike
+ - deleteLike
+photos:
+ - getComments
+ - getAllComments
+ - createComment
+ - editComment
+ - deleteComment
+ - restoreComment
+ - getAll
+ - getUserPhotos
+ - getTags
+ - putTag
+ - removeTag
+newsfeed:
+ - get
+ - getBanned
+ - addBan
+ - deleteBan
+status:
+ - get
+ - set
+likes:
+ - add
+ - delete
+ - getList
+ - isLiked
+friends:
+ - getLists
+polls:
+ - getById
+ - addVote
+ - deleteVote
+subscriptions:
+ - get
+ - getFollowers
+ - follow
+ - unfollow
@@ -0,0 +1,16 @@
+- sendNotification
+- getAppBalance
+- getBalance
+- withdrawVotes
+- getTransactionsHistory
+- addRating
+- setCounter
+- getSMSHistory
+- sendSMSNotification
+- getSMS
+- setLanguageValue
+- deleteLanguageValue
+- saveAppStatus
+- getAppStatus
+- setSMSPrefix
+- getSMSPrefix
Oops, something went wrong. Retry.

0 comments on commit 7648dd5

Please sign in to comment.