panthoot 0.2.0 → 0.2.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.
- data/.travis.yml +5 -0
 - data/README.textile +1 -1
 - data/lib/panthoot/translator.rb +2 -0
 - data/panthoot.gemspec +1 -1
 - data/spec/requests/notifications_spec.rb +6 -0
 - metadata +4 -3
 
    
        data/.travis.yml
    ADDED
    
    
    
        data/README.textile
    CHANGED
    
    | 
         @@ -16,7 +16,7 @@ The next step is to tell Panthoot that you want to be informed whenever MailChim 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
            <pre><code>ActiveSupport::Notifications.subscribe('subscribe.panthoot') do |*args|
         
     | 
| 
       18 
18 
     | 
    
         
             
              event        = ActiveSupport::Notifications::Event.new(*args)
         
     | 
| 
       19 
     | 
    
         
            -
              subscription = event.payload[: 
     | 
| 
      
 19 
     | 
    
         
            +
              subscription = event.payload[:subscribe]
         
     | 
| 
       20 
20 
     | 
    
         
             
              fired_at     = event.payload[:fired_at]
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         
             
              # use subscription data however you wish
         
     | 
    
        data/lib/panthoot/translator.rb
    CHANGED
    
    
    
        data/panthoot.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: panthoot
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.1
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -84,6 +84,7 @@ extensions: [] 
     | 
|
| 
       84 
84 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       85 
85 
     | 
    
         
             
            files:
         
     | 
| 
       86 
86 
     | 
    
         
             
            - .gitignore
         
     | 
| 
      
 87 
     | 
    
         
            +
            - .travis.yml
         
     | 
| 
       87 
88 
     | 
    
         
             
            - Gemfile
         
     | 
| 
       88 
89 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       89 
90 
     | 
    
         
             
            - README.textile
         
     | 
| 
         @@ -123,7 +124,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       123 
124 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       124 
125 
     | 
    
         
             
                  segments:
         
     | 
| 
       125 
126 
     | 
    
         
             
                  - 0
         
     | 
| 
       126 
     | 
    
         
            -
                  hash: - 
     | 
| 
      
 127 
     | 
    
         
            +
                  hash: -4193872794997949165
         
     | 
| 
       127 
128 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       128 
129 
     | 
    
         
             
              none: false
         
     | 
| 
       129 
130 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       132 
133 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       133 
134 
     | 
    
         
             
                  segments:
         
     | 
| 
       134 
135 
     | 
    
         
             
                  - 0
         
     | 
| 
       135 
     | 
    
         
            -
                  hash: - 
     | 
| 
      
 136 
     | 
    
         
            +
                  hash: -4193872794997949165
         
     | 
| 
       136 
137 
     | 
    
         
             
            requirements: []
         
     | 
| 
       137 
138 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       138 
139 
     | 
    
         
             
            rubygems_version: 1.8.23
         
     |