yam 2.1.1 → 2.1.2
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
 - checksums.yaml.gz.sig +0 -0
 - data.tar.gz.sig +3 -4
 - data/lib/yammer/resources/base.rb +2 -2
 - data/lib/yammer/resources/message.rb +3 -2
 - data/lib/yammer/version.rb +1 -1
 - data/yam.gemspec +2 -1
 - metadata +2 -2
 - metadata.gz.sig +0 -0
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: f47bffff97620251c3605b228c70f428056959fc
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 23d701b97781aa74840b904d33b4d973b8f374b9
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a653837a0baebb878fec3a7ae97790922d35399f35fcc15cae1e932a97957bda62fa01dbcefbfe231136f7a4c77902958983f9641a1ffebb69c382614e3990a7
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 628d2fe473b79b3dd71cd4bbb2372dacea33fa8c9326ea2e94aa7fc589a295047becc3789cdcece6c9f57c98344101582ac9bdcf28cb2037c805960725b5a423
         
     | 
    
        checksums.yaml.gz.sig
    CHANGED
    
    | 
         Binary file 
     | 
    
        data.tar.gz.sig
    CHANGED
    
    | 
         @@ -1,4 +1,3 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            |��R:�(�3��>ꘆ�r��8��fѭ@�r
         
     | 
| 
      
 1 
     | 
    
         
            +
            �|���|Fpe��.j��<N-b)6�!�T�Cp�� ��b�A�i�u��}��=4l߲!���o=<��BI��T]��*�9u�T�ҹ�aW�=���>S,�U~�U��Z$��d��L�SW��f�눨�p�j W����
         
     | 
| 
      
 2 
     | 
    
         
            +
            ~Ų[/z���x6��a��S�n7�Sn��Ħ[��	!{B��ǎ��֚��+�
         
     | 
| 
      
 3 
     | 
    
         
            +
            �=`8VŧH��{�qD�3�ĸ�u�a'#�2[���K�^{��/�X;��I�}��h�x~W
         
     | 
| 
         @@ -197,7 +197,7 @@ module Yammer 
     | 
|
| 
       197 
197 
     | 
    
         
             
                  # set all fetchable attributes 
         
     | 
| 
       198 
198 
     | 
    
         
             
                  def update(attrs={})
         
     | 
| 
       199 
199 
     | 
    
         
             
                    attrs.each do |key, value|
         
     | 
| 
       200 
     | 
    
         
            -
                      send("#{key}=", value)
         
     | 
| 
      
 200 
     | 
    
         
            +
                      send("#{key}=", value) if self.respond_to?("#{key}=")
         
     | 
| 
       201 
201 
     | 
    
         
             
                    end
         
     | 
| 
       202 
202 
     | 
    
         
             
                    if persisted? && !loaded?
         
     | 
| 
       203 
203 
     | 
    
         
             
                      @loaded = @klass.model_attributes.keys.inject(true) do |result, key|
         
     | 
| 
         @@ -207,4 +207,4 @@ module Yammer 
     | 
|
| 
       207 
207 
     | 
    
         
             
                  end
         
     | 
| 
       208 
208 
     | 
    
         
             
                end
         
     | 
| 
       209 
209 
     | 
    
         
             
              end
         
     | 
| 
       210 
     | 
    
         
            -
            end
         
     | 
| 
      
 210 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -19,7 +19,8 @@ module Yammer 
     | 
|
| 
       19 
19 
     | 
    
         
             
                  attr_accessor_deffered :direct_message, :privacy, :group_id, :created_at,
         
     | 
| 
       20 
20 
     | 
    
         
             
                  :attachments, :liked_by, :chat_client_sequence, :client_url, :content_excerpt,
         
     | 
| 
       21 
21 
     | 
    
         
             
                  :message_type, :url, :web_url, :network_id, :system_message, :client_type, 
         
     | 
| 
       22 
     | 
    
         
            -
                  :sender_type, :sender_id, :thread_id, :conversation_id, :replied_to_id, :body
         
     | 
| 
      
 22 
     | 
    
         
            +
                  :sender_type, :sender_id, :thread_id, :conversation_id, :replied_to_id, :body, 
         
     | 
| 
      
 23 
     | 
    
         
            +
                  :language, :notified_user_ids
         
     | 
| 
       23 
24 
     | 
    
         | 
| 
       24 
25 
     | 
    
         
             
                  attr_reader :replied_to_id
         
     | 
| 
       25 
26 
     | 
    
         | 
| 
         @@ -31,4 +32,4 @@ module Yammer 
     | 
|
| 
       31 
32 
     | 
    
         | 
| 
       32 
33 
     | 
    
         
             
                end
         
     | 
| 
       33 
34 
     | 
    
         
             
              end
         
     | 
| 
       34 
     | 
    
         
            -
            end
         
     | 
| 
      
 35 
     | 
    
         
            +
            end
         
     | 
    
        data/lib/yammer/version.rb
    CHANGED
    
    | 
         @@ -16,7 +16,7 @@ module Yammer 
     | 
|
| 
       16 
16 
     | 
    
         
             
              class Version
         
     | 
| 
       17 
17 
     | 
    
         
             
                MAJOR = 2 unless defined? Yammer::MAJOR
         
     | 
| 
       18 
18 
     | 
    
         
             
                MINOR = 1 unless defined? Yammer::MINOR
         
     | 
| 
       19 
     | 
    
         
            -
                PATCH =  
     | 
| 
      
 19 
     | 
    
         
            +
                PATCH = 2 unless defined? Yammer::PATCH
         
     | 
| 
       20 
20 
     | 
    
         
             
                PRE = nil unless defined? Yammer::PRE
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
                class << self
         
     | 
    
        data/yam.gemspec
    CHANGED
    
    | 
         @@ -20,12 +20,13 @@ 
     | 
|
| 
       20 
20 
     | 
    
         
             
            lib = File.expand_path('../lib', __FILE__)
         
     | 
| 
       21 
21 
     | 
    
         
             
            $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
         
     | 
| 
       22 
22 
     | 
    
         
             
            require 'yammer/version'
         
     | 
| 
      
 23 
     | 
    
         
            +
            require 'date'
         
     | 
| 
       23 
24 
     | 
    
         | 
| 
       24 
25 
     | 
    
         
             
            Gem::Specification.new do |s|
         
     | 
| 
       25 
26 
     | 
    
         
             
              s.name             = 'yam'
         
     | 
| 
       26 
27 
     | 
    
         
             
              s.version          = Yammer::Version
         
     | 
| 
       27 
28 
     | 
    
         | 
| 
       28 
     | 
    
         
            -
              s.date             =  
     | 
| 
      
 29 
     | 
    
         
            +
              s.date             = Date.today.to_s
         
     | 
| 
       29 
30 
     | 
    
         
             
              s.summary          = "Yammer API Client"
         
     | 
| 
       30 
31 
     | 
    
         | 
| 
       31 
32 
     | 
    
         
             
              s.description      = "A Ruby wrapper for accessing Yammer's REST API"
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: yam
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 2.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.1.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Kevin Mutyaba
         
     | 
| 
         @@ -29,7 +29,7 @@ cert_chain: 
     | 
|
| 
       29 
29 
     | 
    
         
             
              B+kZ9/4dAvmKkr2NPSoxBQtO7Rz0HDNLtjMxkXbQUWMDsGnB6Kk1WUBb/w3kQ9Ah
         
     | 
| 
       30 
30 
     | 
    
         
             
              JgIHF4cG
         
     | 
| 
       31 
31 
     | 
    
         
             
              -----END CERTIFICATE-----
         
     | 
| 
       32 
     | 
    
         
            -
            date:  
     | 
| 
      
 32 
     | 
    
         
            +
            date: 2014-02-03 00:00:00.000000000 Z
         
     | 
| 
       33 
33 
     | 
    
         
             
            dependencies:
         
     | 
| 
       34 
34 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       35 
35 
     | 
    
         
             
              name: oj
         
     | 
    
        metadata.gz.sig
    CHANGED
    
    | 
         Binary file 
     |