cupid 0.2.1 → 0.2.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.
- data/README.md +2 -2
- data/lib/cupid/methods/email.rb +2 -2
- data/lib/cupid/version.rb +1 -1
- metadata +3 -3
    
        data/README.md
    CHANGED
    
    | @@ -77,13 +77,13 @@ send_tracking_ids = et_translator.send_emails_to_lists({'email_id' => 'list_id', | |
| 77 77 | 
             
            Puts this line into `Gemfile` then run `$ bundle`:
         | 
| 78 78 |  | 
| 79 79 | 
             
            ``` ruby
         | 
| 80 | 
            -
            gem 'cupid', '0.2. | 
| 80 | 
            +
            gem 'cupid', '0.2.2'
         | 
| 81 81 | 
             
            ```
         | 
| 82 82 |  | 
| 83 83 | 
             
            Or if you are old-school Rails 2 developer put this into `config/environment.rb` and run `$ rake gems:install`:
         | 
| 84 84 |  | 
| 85 85 | 
             
            ``` ruby
         | 
| 86 | 
            -
            config.gem 'cupid', :version => '0.2. | 
| 86 | 
            +
            config.gem 'cupid', :version => '0.2.2'
         | 
| 87 87 | 
             
            ```
         | 
| 88 88 |  | 
| 89 89 | 
             
            Or manually install cupid gem: `$ gem install cupid`
         | 
    
        data/lib/cupid/methods/email.rb
    CHANGED
    
    | @@ -113,7 +113,7 @@ module Cupid | |
| 113 113 |  | 
| 114 114 | 
             
                private
         | 
| 115 115 |  | 
| 116 | 
            -
                def prepare_email(subject, body,  | 
| 116 | 
            +
                def prepare_email(subject, body, args)
         | 
| 117 117 | 
             
                  options = args.extract_options!
         | 
| 118 118 | 
             
                  options[:subject] = CGI.escapeHTML subject.to_s
         | 
| 119 119 | 
             
                  options[:body] = CGI.escapeHTML body.to_s
         | 
| @@ -139,7 +139,7 @@ module Cupid | |
| 139 139 | 
             
                                   '<CharacterSet>' + options[:character_set] + '</CharacterSet></Objects>'
         | 
| 140 140 | 
             
                end
         | 
| 141 141 |  | 
| 142 | 
            -
                def prepare_folder(title,  | 
| 142 | 
            +
                def prepare_folder(title, args)
         | 
| 143 143 | 
             
                  options = args.extract_options!
         | 
| 144 144 | 
             
                  options[:title] = CGI.escapeHTML title.to_s
         | 
| 145 145 | 
             
                  options[:description] ||= 'description'
         | 
    
        data/lib/cupid/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED