lib/cocoapods_stats/sender.rb in cocoapods-stats-1.0.0.beta.3 vs lib/cocoapods_stats/sender.rb in cocoapods-stats-1.0.0.beta.4
- old
+ new
@@ -1,9 +1,9 @@
require 'rest'
module CocoaPodsStats
class Sender
- API_URL = 'https://stats.cocoapods.org/api/v1/install'
+ API_URL = 'https://stats.cocoapods.org/api/v1/install'.freeze
def send(targets, pod_try: false)
body = {
:targets => targets,
:cocoapods_version => Pod::VERSION,