get_user_tweets 0.0.3 → 0.1.0
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 +4 -4
 - data/README.md +2 -18
 - data/get_user_tweets.gemspec +1 -2
 - data/lib/get_user_tweets/get_tweets.rb +0 -0
 - data/lib/get_user_tweets/twitter.rb +0 -0
 - data/lib/get_user_tweets/version.rb +1 -1
 - metadata +5 -17
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 1277b47c2c219d41ea415b0edc6329881025ebff
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 40d949bcd564f15fbf225df1cccba239cb551726
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: bdc1f5f0eb3623f88d2a40e174a8b1af5e6521d5cd6dbfa045239af714910b97d713003ebd147a2d8c351898c82e36da4bc51b9c5078402206ff9b2a7ddcdbcf
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 055f9396f330e6f02cdf52311f5a73b471af0ae0aff2da349121676cd38da3f919db06bada8d488c69b533c300986043e1d75e2bf020ccf2eed607d44b8101f3
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -22,23 +22,7 @@ Or install it yourself as: 
     | 
|
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
            ## Usage
         
     | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
            1) You need four parameters 
         
     | 
| 
       28 
     | 
    
         
            -
              a) consumer_key
         
     | 
| 
       29 
     | 
    
         
            -
              b) consumer_secret
         
     | 
| 
       30 
     | 
    
         
            -
              c) access_token
         
     | 
| 
       31 
     | 
    
         
            -
              d) access_token_secret
         
     | 
| 
       32 
     | 
    
         
            -
              e) Login to your twitter account
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
              Note* If you have not then follow this link
         
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
                https://apps.twitter.com/app/new
         
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
            2) 
         
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
            client = GetUserTweets::TwitterData.new('<consumer_key>', '<consumer_secret>', '<access_token>', '<access_token_secret>')
         
     | 
| 
       41 
     | 
    
         
            -
            client.get_tweets("your keyword")
         
     | 
| 
      
 25 
     | 
    
         
            +
            TODO: Write usage instructions here
         
     | 
| 
       42 
26 
     | 
    
         | 
| 
       43 
27 
     | 
    
         
             
            ## Development
         
     | 
| 
       44 
28 
     | 
    
         | 
| 
         @@ -48,7 +32,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To 
     | 
|
| 
       48 
32 
     | 
    
         | 
| 
       49 
33 
     | 
    
         
             
            ## Contributing
         
     | 
| 
       50 
34 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
            Bug reports and pull requests are welcome on GitHub at https://github.com/ 
     | 
| 
      
 35 
     | 
    
         
            +
            Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tweets. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
         
     | 
| 
       52 
36 
     | 
    
         | 
| 
       53 
37 
     | 
    
         | 
| 
       54 
38 
     | 
    
         
             
            ## License
         
     | 
    
        data/get_user_tweets.gemspec
    CHANGED
    
    | 
         @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
              spec.summary       = %q{User can fetch tweets via twitter handle.}
         
     | 
| 
       13 
13 
     | 
    
         
             
              spec.description   = %q{Return Tweets in JSON format}
         
     | 
| 
       14 
     | 
    
         
            -
              spec.homepage = 'https://github.com/ 
     | 
| 
      
 14 
     | 
    
         
            +
              spec.homepage = 'https://github.com/ruby/rake'
         
     | 
| 
       15 
15 
     | 
    
         
             
              spec.licenses = ['MIT', 'GPL-2.0']
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
              # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
         
     | 
| 
         @@ -30,5 +30,4 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       30 
30 
     | 
    
         
             
              spec.add_development_dependency "bundler", "~> 1.12"
         
     | 
| 
       31 
31 
     | 
    
         
             
              spec.add_development_dependency "rake", "~> 10.0"
         
     | 
| 
       32 
32 
     | 
    
         
             
              spec.add_development_dependency "rspec", "~> 3.0"
         
     | 
| 
       33 
     | 
    
         
            -
              spec.add_development_dependency "oauth", "~> 0.5.1"
         
     | 
| 
       34 
33 
     | 
    
         
             
            end
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: get_user_tweets
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.1.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - ravendra kumar
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2016-06- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2016-06-17 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: bundler
         
     | 
| 
         @@ -52,20 +52,6 @@ dependencies: 
     | 
|
| 
       52 
52 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       53 
53 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       54 
54 
     | 
    
         
             
                    version: '3.0'
         
     | 
| 
       55 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       56 
     | 
    
         
            -
              name: oauth
         
     | 
| 
       57 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       58 
     | 
    
         
            -
                requirements:
         
     | 
| 
       59 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       60 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
     | 
    
         
            -
                    version: 0.5.1
         
     | 
| 
       62 
     | 
    
         
            -
              type: :development
         
     | 
| 
       63 
     | 
    
         
            -
              prerelease: false
         
     | 
| 
       64 
     | 
    
         
            -
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       65 
     | 
    
         
            -
                requirements:
         
     | 
| 
       66 
     | 
    
         
            -
                - - "~>"
         
     | 
| 
       67 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       68 
     | 
    
         
            -
                    version: 0.5.1
         
     | 
| 
       69 
55 
     | 
    
         
             
            description: Return Tweets in JSON format
         
     | 
| 
       70 
56 
     | 
    
         
             
            email:
         
     | 
| 
       71 
57 
     | 
    
         
             
            - ravendra.kumar@nectechnologies.in
         
     | 
| 
         @@ -85,8 +71,10 @@ files: 
     | 
|
| 
       85 
71 
     | 
    
         
             
            - bin/setup
         
     | 
| 
       86 
72 
     | 
    
         
             
            - get_user_tweets.gemspec
         
     | 
| 
       87 
73 
     | 
    
         
             
            - lib/get_user_tweets.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - lib/get_user_tweets/get_tweets.rb
         
     | 
| 
      
 75 
     | 
    
         
            +
            - lib/get_user_tweets/twitter.rb
         
     | 
| 
       88 
76 
     | 
    
         
             
            - lib/get_user_tweets/version.rb
         
     | 
| 
       89 
     | 
    
         
            -
            homepage: https://github.com/ 
     | 
| 
      
 77 
     | 
    
         
            +
            homepage: https://github.com/ruby/rake
         
     | 
| 
       90 
78 
     | 
    
         
             
            licenses:
         
     | 
| 
       91 
79 
     | 
    
         
             
            - MIT
         
     | 
| 
       92 
80 
     | 
    
         
             
            - GPL-2.0
         
     |