mico 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.swp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mico.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Nícolas Iensen
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # Mico
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'mico'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install mico
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/lib/mico.rb ADDED
@@ -0,0 +1,25 @@
1
+ require "mico/version"
2
+ require "httparty"
3
+ require "json"
4
+
5
+ module Mico
6
+ class Member
7
+ URL = "http://meurio.org.br/members.json"
8
+ def self.all options = {}
9
+ JSON.parse(HTTParty.get(URL, :query => {:token => ENV["MEURIO_TOKEN"]}.merge(options)).body)
10
+ end
11
+ end
12
+
13
+ class Issue
14
+ URL = "http://meurio.org.br/issues.json"
15
+ def self.all
16
+ JSON.parse(HTTParty.get(URL, :query => {:token => ENV["MEURIO_TOKEN"]}).body)
17
+ end
18
+ end
19
+
20
+ class PetitionSignature
21
+ def self.find_all_by_issue_id issue_id, options = {}
22
+ JSON.parse(HTTParty.get("http://meurio.org.br/issues/#{issue_id}/signatures.json", :query => {:token => ENV["MEURIO_TOKEN"]}.merge(options)).body)
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,3 @@
1
+ module Mico
2
+ VERSION = "0.0.1"
3
+ end
data/mico.gemspec ADDED
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/mico/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Nícolas Iensen", "Luiz Fonseca"]
6
+ gem.email = ["nicolas@engage.is", "luiz@engage.is"]
7
+ gem.summary = %q{Wrapper para a API do Meu Rio}
8
+ gem.homepage = "https://github.com/meurio/mico"
9
+
10
+ gem.files = `git ls-files`.split($\)
11
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
12
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
+ gem.name = "mico"
14
+ gem.require_paths = ["lib"]
15
+ gem.version = Mico::VERSION
16
+
17
+ gem.add_development_dependency("rspec")
18
+ gem.add_development_dependency("httparty")
19
+ gem.add_development_dependency("webmock")
20
+ end
@@ -0,0 +1,17 @@
1
+ require 'webmock/rspec'
2
+ require "mico"
3
+ require 'iconv'
4
+
5
+ describe Mico::Issue do
6
+ before { ENV["MEURIO_TOKEN"] = "racecarsyayas" }
7
+
8
+ describe ".all" do
9
+ let(:issues_page1){ Iconv.conv('utf-8', 'iso-8859-1', File.open("spec/support/issues_page1.json").read) }
10
+ before{ stub_request(:get, Mico::Issue::URL).with(:query => {:token => ENV["MEURIO_TOKEN"]}).to_return(:body => issues_page1) }
11
+
12
+ it "should return a hash with all issues" do
13
+ Mico::Issue.all.should be_== JSON.parse(issues_page1)
14
+ end
15
+ end
16
+ end
17
+
@@ -0,0 +1,27 @@
1
+ require 'webmock/rspec'
2
+ require "mico"
3
+
4
+ describe Mico::Member do
5
+ before { ENV["MEURIO_TOKEN"] = "racecarsyayas" }
6
+
7
+ describe ".all" do
8
+ let(:members_page1){ File.open("spec/support/members_page1.json").read }
9
+ let(:members_page2){ File.open("spec/support/members_page2.json").read }
10
+ let(:members_page3){ File.open("spec/support/members_page3.json").read }
11
+ before{ stub_request(:get, Mico::Member::URL).with(:query => {:token => ENV["MEURIO_TOKEN"]}).to_return(:body => members_page1) }
12
+ before{ stub_request(:get, Mico::Member::URL).with(:query => {:token => ENV["MEURIO_TOKEN"], :page => 2}).to_return(:body => members_page2) }
13
+ before{ stub_request(:get, Mico::Member::URL).with(:query => {:token => ENV["MEURIO_TOKEN"], :by_updated_at => "2011-09-20T16:18:27-03:00"}).to_return(:body => members_page3) }
14
+
15
+ it "should return a hash with the first page of members" do
16
+ Mico::Member.all.should be_== JSON.parse(members_page1)
17
+ end
18
+
19
+ it "should return a hash with the second page of members" do
20
+ Mico::Member.all({:page => 2}).should be_== JSON.parse(members_page2)
21
+ end
22
+
23
+ it "should return a hash of members filtered by updated at attribute" do
24
+ Mico::Member.all({:by_updated_at => "2011-09-20T16:18:27-03:00"}).should be_== JSON.parse(members_page3)
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,26 @@
1
+ require "mico"
2
+
3
+ describe Mico::PetitionSignature do
4
+ before { ENV["MEURIO_TOKEN"] = "racecarsyayas" }
5
+
6
+ describe ".find_all_by_issue_id" do
7
+ let(:signatures_page1){ File.open("spec/support/signatures_page1.json").read }
8
+ let(:signatures_page2){ File.open("spec/support/signatures_page2.json").read }
9
+ let(:signatures_page3){ File.open("spec/support/signatures_page3.json").read }
10
+ before{ stub_request(:get, "http://meurio.org.br/issues/1/signatures.json").with(:query => {:token => ENV["MEURIO_TOKEN"]}).to_return(:body => signatures_page1) }
11
+ before{ stub_request(:get, "http://meurio.org.br/issues/1/signatures.json").with(:query => {:token => ENV["MEURIO_TOKEN"], :page => 2}).to_return(:body => signatures_page2) }
12
+ before{ stub_request(:get, "http://meurio.org.br/issues/1/signatures.json").with(:query => {:token => ENV["MEURIO_TOKEN"], :by_updated_at => "2011-09-20T16:18:27-03:00"}).to_return(:body => signatures_page3) }
13
+
14
+ it "should return a hash with the first page of the signatures" do
15
+ Mico::PetitionSignature.find_all_by_issue_id(1).should be_== JSON.parse(signatures_page1)
16
+ end
17
+
18
+ it "should return a hash with the second page of the signatures" do
19
+ Mico::PetitionSignature.find_all_by_issue_id(1, :page => 2).should be_== JSON.parse(signatures_page2)
20
+ end
21
+
22
+ it "should return a hash of signatures filtered by updated at attribute" do
23
+ Mico::PetitionSignature.find_all_by_issue_id(1, :by_updated_at => "2011-09-20T16:18:27-03:00").should be_== JSON.parse(signatures_page3)
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,11 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # Require this file using `require "spec_helper.rb"` to ensure that it is only
4
+ # loaded once.
5
+ #
6
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+ RSpec.configure do |config|
8
+ config.treat_symbols_as_metadata_keys_with_true_values = true
9
+ config.run_all_when_everything_filtered = true
10
+ config.filter_run :focus
11
+ end
@@ -0,0 +1,86 @@
1
+ [
2
+ {
3
+ "created_at": "2011-09-20T16:18:27-03:00",
4
+ "debate_call_to_action": "Como fortalecer mecanismos de prestação de contas na cidade do Rio?",
5
+ "description": "Tudo está acontecendo muito rápido, com pouca abertura para a sociedade. A principal preocupação parece ser a de entregar, no prazo, uma nova arena da FIFA e não um estádio dos cariocas, como o Maracanã sempre foi. A sociedade precisa participar desse processo para garantir que, depois da Copa, o Maracanã continue sendo um estádio singular onde os torcedores cariocas se manifestam e onde a história do futebol brasileiro é representada. O Maraca é nosso e nós vamos gritar por ele!\r\n\r\n<p><b>Dados importantes:</b> </p>\r\n\r\n<p><b>Prazo para finalização da obra:</b> o prazo já foi modificado desde o início da obra:\r\n<br>Original: dezembro de 2012\r\n<br>Prazo atual: fevereiro de 2013</p>\r\n\r\n<p><b>Custo estimado das obras do Maracanã:</b> os custos estimados já sofreram várias mudanças:\r\n<br>2010: R$ 705.000.000,00\r\n<br>Maio de 2011: R$ 956.787.720,00\r\n<br>Agosto de 2011: R$ 931.900.000 \r\n<br>Setembro de 2011: R$ 859.500.000,00</p>\r\n\r\n<p><b>Custo consolidado das sucessivas reformas do Maracanã nos últimos 12 anos:</b> o Maracanã já foi objeto de diversas obras, nos últimos 11 anos. Juntas, elas somas quase 1 bilhão e meio de reais:\r\n<br>Reforma para o Mundial de Clubes da FIFA 2000: R$ 106 milhões (R$ 237 milhões em valores atuais) \r\n<br>Reforma para o Pan 2007: R$ 304 milhões (R$ 397 milhões em valores atuais) -- vale lembrar que na época se justificou esse custo porque o Estádio estava se adaptando às exigências da FIFA já estando pronto para receber uma Copa do Mundo\r\n<br>Reforma atual: R$ 860 milhões </p> \r\n<p><b>Valor consolidado e atualizado: R$ 1,493 bilhões</b>\r\n(Fonte: Estudo realizado por João Carlos Assumpção e Francisco Pessoa). Índice utilizado: INPC do IBGE </p>\r\n\r\n\r\n<p><b>Capacidade do estádio:</b> a capacidade do estádio tem sido progressivamente diminuída\r\n<br>Em 1950: 200.000 pessoas\r\n<br>Antes da reforma: 82.238 pessoas\r\n<br>Depois da reforma: 76.000 pessoas</p>\r\n\r\n\r\n<p><b>Famílias removidas para a construção do estacionamento e obras do entorno:</b>\r\n<br>Aproximadamente 600 famílias</p>\r\n\r\n\r\n<p><b>Previsão de investimento de recursos federais (BNDES):</b>\r\n<br>R$ 400.000.000,00</p>\r\n\r\n<p><b>Previsão de investimento do Governo Estadual:</b>\r\n<br>R$ 459.500.000,00 dentre os quais estima-se a contração de divida junto à CAF no valor de US$ 120.666.000,00 (R$ 225.000.000,00)</p>\r\n",
6
+ "excerpt": "O Maracanã, como todos sabem, simboliza muito mais para os cariocas do que um simples estádio. No seu campo nós vimos a história do futebol brasileiro acontecer. Da geral e das arquibancadas lotadas, nós comemoramos, choramos, cantamos, sofremos e vibramos. Juntos. O Estádio Jornalista Mário Filho é um monumento à democracia do nosso futebol, uma construção incorporada à paisagem da cidade e um património tombado pelo IPHAN. Neste exato momento, o nosso Maracanã está sofrendo alterações irreversíveis em um processo nada transparente.\r\n\r\n",
7
+ "feature_ideas": false,
8
+ "featured_debate_id": 2,
9
+ "featured_personal_story_id": 10,
10
+ "featured_petition_id": 2,
11
+ "id": 1,
12
+ "ideas_call_to_action": null,
13
+ "ideas_headline": null,
14
+ "ideas_media": null,
15
+ "ideas_title": null,
16
+ "image_content_type": "image/jpeg",
17
+ "image_file_name": "issue_maracana_text.jpg",
18
+ "image_file_size": 196150,
19
+ "image_updated_at": "2011-09-26T13:20:00-03:00",
20
+ "letters_enabled": null,
21
+ "name": "O Maraca é Nosso!",
22
+ "personal_story_call_to_action": "Cariocas de coração respondem: Por que o Maracanã é tão importante?",
23
+ "petition_call_to_action": "Queremos ver os documentos públicos referentes às obras do Maracanã!",
24
+ "thumbnail_content_type": "image/jpeg",
25
+ "thumbnail_file_name": "issue_maracana.jpg",
26
+ "thumbnail_file_size": 9258,
27
+ "thumbnail_updated_at": "2011-09-26T13:20:01-03:00",
28
+ "updated_at": "2011-12-19T14:09:23-02:00"
29
+ },
30
+ {
31
+ "created_at": "2011-10-27T21:05:01-02:00",
32
+ "debate_call_to_action": null,
33
+ "description": "A aprovação do Projeto de Lei nº 902/2011 é um passo importante para termos representantes honestos e um Rio de Janeiro mais justo. Se não pressionarmos nossos deputados antes do recesso da Alerj, que começa dia 15 de dezembro, o projeto de lei provavelmente não será discutido antes do carnaval, já que até lá o Brasil costuma caminhar em outro ritmo. Entre março e outubro, os políticos estarão concentrados nas eleições e provavelmente faltarão ainda mais ao trabalho do que de costume. Se o FichaLimpa Estadual não for aprovado esse ano, pode acabar ficando só para 2013. Ou pior: o projeto será esquecido e o Rio continuará sendo vítima de corruptos.\r\n",
34
+ "excerpt": "A Lei Ficha Limpa em nível federal foi um projeto de iniciativa popular, aprovado pelo congresso e pelo Senado, que impede que políticos ficha-suja concorram em eleições em todo o território nacional. Porém, nada impede que o ficha-suja seja nomeado para cargos de confiança no alto escalão da administração pública no Estado do Rio de Janeiro. Recentemente, o Prefeito do Rio de Janeiro aprovou a Ficha Limpa para o município do Rio mas a administração do Estado ainda está vulnerável.\r\n",
35
+ "feature_ideas": false,
36
+ "featured_debate_id": null,
37
+ "featured_personal_story_id": null,
38
+ "featured_petition_id": 5,
39
+ "id": 5,
40
+ "ideas_call_to_action": null,
41
+ "ideas_headline": null,
42
+ "ideas_media": null,
43
+ "ideas_title": null,
44
+ "image_content_type": "image/png",
45
+ "image_file_name": "Screen shot 2011-10-27 at 5.51.38 PM.png",
46
+ "image_file_size": 689431,
47
+ "image_updated_at": "2011-10-27T21:05:01-02:00",
48
+ "letters_enabled": null,
49
+ "name": "Ficha Limpa Estadual",
50
+ "personal_story_call_to_action": null,
51
+ "petition_call_to_action": "Queremos o Ficha Limpa no Rio! Vamos exigir a aprovação da lei.",
52
+ "thumbnail_content_type": "image/png",
53
+ "thumbnail_file_name": "Screen shot 2011-10-27 at 5.52.54 PM.png",
54
+ "thumbnail_file_size": 34411,
55
+ "thumbnail_updated_at": "2011-10-27T21:05:01-02:00",
56
+ "updated_at": "2011-11-02T14:30:25-02:00"
57
+ },
58
+ {
59
+ "created_at": "2011-11-18T20:46:08-02:00",
60
+ "debate_call_to_action": null,
61
+ "description": "Neste exato momento, milhares de barris de Petróleo estão sendo impunemente despejados na Bacia de Campos, a apenas 120 quilômetros da costa do Rio. E o pior: a Chevron, empresa americana responsável pelo vazamento, se recusa a definir uma data limite para a eliminação do problema, e parece minimizar as dimensões do desastre. Em nota divulgada ontem, a empresa informou que o derramamento havia se reduzido a um “gotejamento ocasional”, no que foi prontamente desmentida por nosso secretário estadual do Meio Ambiente, Carlos Minc. Centenas de brasileiros indignados postaram suas perguntas na página de Facebook da Chevron, que deletou a maioria das mensagens e respondeu a algumas delas em inglês, direcionando os usuários à uma página também em inglês com um punhado de comunicados vagos informações contraditórias.\r\n\r\nTemos que mostrar à Chevron que os cidadãos cariocas não toleram tamanho desrespeito! Vamos exigir que a empresa divulgue informação precisa e completa sobre as dimensões do desastre e defina uma data e plano para sua resolução. E vamos deixar claro que queremos essa resposta em bom português! \r\n\r\nA imprensa brasileira tem coberto o derramamento com destaque, e mesmo assim a empresa não mudou seu comportamento. Por isso, o Meu Rio entregará uma carta pública diretamente à Chevron e também aos editores dos maiores jornais do mundo, inclusive dos Estados Unidos, pedindo que cubram o desastre com o merecido destaque. Vamos pressionar a Chevron em casa!\r\n",
62
+ "excerpt": "A Chevron teve todas as atividades no País suspensas pelas autoridades brasileiras, além de responder por diversas ações no Ministério Público. Em uma delas, o MPF em Campos, no Rio de Janeiro, pede que a Chevron e a empresa contratada, Transocean, paguem 20 bilhões de reais pelos danos ambientais e sociais causados pelo derramamento de óleo no Campo de Frade. ",
63
+ "feature_ideas": false,
64
+ "featured_debate_id": null,
65
+ "featured_personal_story_id": null,
66
+ "featured_petition_id": null,
67
+ "id": 6,
68
+ "ideas_call_to_action": null,
69
+ "ideas_headline": null,
70
+ "ideas_media": null,
71
+ "ideas_title": null,
72
+ "image_content_type": "image/jpeg",
73
+ "image_file_name": "chevron-campos.jpg",
74
+ "image_file_size": 12314,
75
+ "image_updated_at": "2011-11-22T09:51:00-02:00",
76
+ "letters_enabled": null,
77
+ "name": "Derramamento de Petróleo na bacia de Campos",
78
+ "personal_story_call_to_action": null,
79
+ "petition_call_to_action": "Chevron: não somos cidadãos de segunda classe, fale com a gente na nossa língua!",
80
+ "thumbnail_content_type": "image/jpeg",
81
+ "thumbnail_file_name": "chevron-campos.jpg",
82
+ "thumbnail_file_size": 12314,
83
+ "thumbnail_updated_at": "2011-11-22T09:51:00-02:00",
84
+ "updated_at": "2012-01-09T14:48:00-02:00"
85
+ }
86
+ ]
@@ -0,0 +1,136 @@
1
+ [
2
+ {"bio":null,
3
+ "celular":null,
4
+ "confirmation_sent_at":null,
5
+ "confirmation_token":null,
6
+ "confirmed_at":null,
7
+ "created_at":"2011-09-23T17:16:36-03:00",
8
+ "email":"test@meurio.org.br",
9
+ "encrypted_password":"",
10
+ "first_name":"Joao",
11
+ "has_login":null,
12
+ "has_non_oauth_login":null,
13
+ "id":43,
14
+ "image_content_type":null,
15
+ "image_file_name":null,
16
+ "image_file_size":null,
17
+ "image_updated_at":null,
18
+ "image_url":null,
19
+ "is_subscriber":true,
20
+ "last_name":"Pesanha",
21
+ "meu_rio_is":null,
22
+ "password":null,
23
+ "reset_password_sent_at":null,
24
+ "reset_password_token":null,
25
+ "updated_at":"2011-09-23T17:16:36-03:00",
26
+ "zona":""
27
+ },
28
+
29
+ {"bio":null,
30
+ "celular":null,
31
+ "confirmation_sent_at":null,
32
+ "confirmation_token":null,
33
+ "confirmed_at":null,
34
+ "created_at":"2011-09-23T17:16:36-03:00",
35
+ "email":"test2@meurio.org.br",
36
+ "encrypted_password":"",
37
+ "first_name":"Joao",
38
+ "has_login":null,
39
+ "has_non_oauth_login":null,
40
+ "id":43,
41
+ "image_content_type":null,
42
+ "image_file_name":null,
43
+ "image_file_size":null,
44
+ "image_updated_at":null,
45
+ "image_url":null,
46
+ "is_subscriber":true,
47
+ "last_name":"Pesanha",
48
+ "meu_rio_is":null,
49
+ "password":null,
50
+ "reset_password_sent_at":null,
51
+ "reset_password_token":null,
52
+ "updated_at":"2011-09-23T17:16:36-03:00",
53
+ "zona":""
54
+ },
55
+
56
+ {"bio":null,
57
+ "celular":null,
58
+ "confirmation_sent_at":null,
59
+ "confirmation_token":null,
60
+ "confirmed_at":null,
61
+ "created_at":"2011-09-23T17:16:36-03:00",
62
+ "email":"test3@meurio.org.br",
63
+ "encrypted_password":"",
64
+ "first_name":"Joao",
65
+ "has_login":null,
66
+ "has_non_oauth_login":null,
67
+ "id":43,
68
+ "image_content_type":null,
69
+ "image_file_name":null,
70
+ "image_file_size":null,
71
+ "image_updated_at":null,
72
+ "image_url":null,
73
+ "is_subscriber":true,
74
+ "last_name":"Pesanha",
75
+ "meu_rio_is":null,
76
+ "password":null,
77
+ "reset_password_sent_at":null,
78
+ "reset_password_token":null,
79
+ "updated_at":"2011-09-23T17:16:36-03:00",
80
+ "zona":""
81
+ },
82
+
83
+ {"bio":null,
84
+ "celular":null,
85
+ "confirmation_sent_at":null,
86
+ "confirmation_token":null,
87
+ "confirmed_at":null,
88
+ "created_at":"2011-09-23T17:16:36-03:00",
89
+ "email":"test4@meurio.org.br",
90
+ "encrypted_password":"",
91
+ "first_name":"Nicolas",
92
+ "has_login":null,
93
+ "has_non_oauth_login":null,
94
+ "id":43,
95
+ "image_content_type":null,
96
+ "image_file_name":null,
97
+ "image_file_size":null,
98
+ "image_updated_at":null,
99
+ "image_url":null,
100
+ "is_subscriber":true,
101
+ "last_name":"Iensen",
102
+ "meu_rio_is":null,
103
+ "password":null,
104
+ "reset_password_sent_at":null,
105
+ "reset_password_token":null,
106
+ "updated_at":"2011-09-23T17:16:36-03:00",
107
+ "zona":""
108
+ },
109
+
110
+ {"bio":null,
111
+ "celular":null,
112
+ "confirmation_sent_at":null,
113
+ "confirmation_token":null,
114
+ "confirmed_at":null,
115
+ "created_at":"2011-09-23T17:16:36-03:00",
116
+ "email":"test5@meurio.org.br",
117
+ "encrypted_password":"",
118
+ "first_name":"Luiz",
119
+ "has_login":null,
120
+ "has_non_oauth_login":null,
121
+ "id":43,
122
+ "image_content_type":null,
123
+ "image_file_name":null,
124
+ "image_file_size":null,
125
+ "image_updated_at":null,
126
+ "image_url":null,
127
+ "is_subscriber":true,
128
+ "last_name":"Fonseca",
129
+ "meu_rio_is":null,
130
+ "password":null,
131
+ "reset_password_sent_at":null,
132
+ "reset_password_token":null,
133
+ "updated_at":"2011-09-23T17:16:36-03:00",
134
+ "zona":""
135
+ }
136
+ ]
@@ -0,0 +1,136 @@
1
+ [
2
+ {"bio":null,
3
+ "celular":null,
4
+ "confirmation_sent_at":null,
5
+ "confirmation_token":null,
6
+ "confirmed_at":null,
7
+ "created_at":"2011-09-23T17:16:36-03:00",
8
+ "email":"test6@meurio.org.br",
9
+ "encrypted_password":"",
10
+ "first_name":"Joao",
11
+ "has_login":null,
12
+ "has_non_oauth_login":null,
13
+ "id":43,
14
+ "image_content_type":null,
15
+ "image_file_name":null,
16
+ "image_file_size":null,
17
+ "image_updated_at":null,
18
+ "image_url":null,
19
+ "is_subscriber":true,
20
+ "last_name":"Pesanha",
21
+ "meu_rio_is":null,
22
+ "password":null,
23
+ "reset_password_sent_at":null,
24
+ "reset_password_token":null,
25
+ "updated_at":"2011-09-23T17:16:36-03:00",
26
+ "zona":""
27
+ },
28
+
29
+ {"bio":null,
30
+ "celular":null,
31
+ "confirmation_sent_at":null,
32
+ "confirmation_token":null,
33
+ "confirmed_at":null,
34
+ "created_at":"2011-09-23T17:16:36-03:00",
35
+ "email":"test7@meurio.org.br",
36
+ "encrypted_password":"",
37
+ "first_name":"Joao",
38
+ "has_login":null,
39
+ "has_non_oauth_login":null,
40
+ "id":43,
41
+ "image_content_type":null,
42
+ "image_file_name":null,
43
+ "image_file_size":null,
44
+ "image_updated_at":null,
45
+ "image_url":null,
46
+ "is_subscriber":true,
47
+ "last_name":"Pesanha",
48
+ "meu_rio_is":null,
49
+ "password":null,
50
+ "reset_password_sent_at":null,
51
+ "reset_password_token":null,
52
+ "updated_at":"2011-09-23T17:16:36-03:00",
53
+ "zona":""
54
+ },
55
+
56
+ {"bio":null,
57
+ "celular":null,
58
+ "confirmation_sent_at":null,
59
+ "confirmation_token":null,
60
+ "confirmed_at":null,
61
+ "created_at":"2011-09-23T17:16:36-03:00",
62
+ "email":"test8@meurio.org.br",
63
+ "encrypted_password":"",
64
+ "first_name":"Joao",
65
+ "has_login":null,
66
+ "has_non_oauth_login":null,
67
+ "id":43,
68
+ "image_content_type":null,
69
+ "image_file_name":null,
70
+ "image_file_size":null,
71
+ "image_updated_at":null,
72
+ "image_url":null,
73
+ "is_subscriber":true,
74
+ "last_name":"Pesanha",
75
+ "meu_rio_is":null,
76
+ "password":null,
77
+ "reset_password_sent_at":null,
78
+ "reset_password_token":null,
79
+ "updated_at":"2011-09-23T17:16:36-03:00",
80
+ "zona":""
81
+ },
82
+
83
+ {"bio":null,
84
+ "celular":null,
85
+ "confirmation_sent_at":null,
86
+ "confirmation_token":null,
87
+ "confirmed_at":null,
88
+ "created_at":"2011-09-23T17:16:36-03:00",
89
+ "email":"test9@meurio.org.br",
90
+ "encrypted_password":"",
91
+ "first_name":"Nicolas",
92
+ "has_login":null,
93
+ "has_non_oauth_login":null,
94
+ "id":43,
95
+ "image_content_type":null,
96
+ "image_file_name":null,
97
+ "image_file_size":null,
98
+ "image_updated_at":null,
99
+ "image_url":null,
100
+ "is_subscriber":true,
101
+ "last_name":"Iensen",
102
+ "meu_rio_is":null,
103
+ "password":null,
104
+ "reset_password_sent_at":null,
105
+ "reset_password_token":null,
106
+ "updated_at":"2011-09-23T17:16:36-03:00",
107
+ "zona":""
108
+ },
109
+
110
+ {"bio":null,
111
+ "celular":null,
112
+ "confirmation_sent_at":null,
113
+ "confirmation_token":null,
114
+ "confirmed_at":null,
115
+ "created_at":"2011-09-23T17:16:36-03:00",
116
+ "email":"test10@meurio.org.br",
117
+ "encrypted_password":"",
118
+ "first_name":"Luiz",
119
+ "has_login":null,
120
+ "has_non_oauth_login":null,
121
+ "id":43,
122
+ "image_content_type":null,
123
+ "image_file_name":null,
124
+ "image_file_size":null,
125
+ "image_updated_at":null,
126
+ "image_url":null,
127
+ "is_subscriber":true,
128
+ "last_name":"Fonseca",
129
+ "meu_rio_is":null,
130
+ "password":null,
131
+ "reset_password_sent_at":null,
132
+ "reset_password_token":null,
133
+ "updated_at":"2011-09-23T17:16:36-03:00",
134
+ "zona":""
135
+ }
136
+ ]
@@ -0,0 +1,136 @@
1
+ [
2
+ {"bio":null,
3
+ "celular":null,
4
+ "confirmation_sent_at":null,
5
+ "confirmation_token":null,
6
+ "confirmed_at":null,
7
+ "created_at":"2011-09-23T17:16:36-03:00",
8
+ "email":"test@meurio.org.br",
9
+ "encrypted_password":"",
10
+ "first_name":"Joao",
11
+ "has_login":null,
12
+ "has_non_oauth_login":null,
13
+ "id":200,
14
+ "image_content_type":null,
15
+ "image_file_name":null,
16
+ "image_file_size":null,
17
+ "image_updated_at":null,
18
+ "image_url":null,
19
+ "is_subscriber":true,
20
+ "last_name":"Pesanha",
21
+ "meu_rio_is":null,
22
+ "password":null,
23
+ "reset_password_sent_at":null,
24
+ "reset_password_token":null,
25
+ "updated_at":"2011-09-23T17:16:36-03:00",
26
+ "zona":""
27
+ },
28
+
29
+ {"bio":null,
30
+ "celular":null,
31
+ "confirmation_sent_at":null,
32
+ "confirmation_token":null,
33
+ "confirmed_at":null,
34
+ "created_at":"2011-09-23T17:16:36-03:00",
35
+ "email":"test2@meurio.org.br",
36
+ "encrypted_password":"",
37
+ "first_name":"Joao",
38
+ "has_login":null,
39
+ "has_non_oauth_login":null,
40
+ "id":201,
41
+ "image_content_type":null,
42
+ "image_file_name":null,
43
+ "image_file_size":null,
44
+ "image_updated_at":null,
45
+ "image_url":null,
46
+ "is_subscriber":true,
47
+ "last_name":"Pesanha",
48
+ "meu_rio_is":null,
49
+ "password":null,
50
+ "reset_password_sent_at":null,
51
+ "reset_password_token":null,
52
+ "updated_at":"2011-09-23T17:16:36-03:00",
53
+ "zona":""
54
+ },
55
+
56
+ {"bio":null,
57
+ "celular":null,
58
+ "confirmation_sent_at":null,
59
+ "confirmation_token":null,
60
+ "confirmed_at":null,
61
+ "created_at":"2011-09-23T17:16:36-03:00",
62
+ "email":"test3@meurio.org.br",
63
+ "encrypted_password":"",
64
+ "first_name":"Joao",
65
+ "has_login":null,
66
+ "has_non_oauth_login":null,
67
+ "id":206,
68
+ "image_content_type":null,
69
+ "image_file_name":null,
70
+ "image_file_size":null,
71
+ "image_updated_at":null,
72
+ "image_url":null,
73
+ "is_subscriber":true,
74
+ "last_name":"Pesanha",
75
+ "meu_rio_is":null,
76
+ "password":null,
77
+ "reset_password_sent_at":null,
78
+ "reset_password_token":null,
79
+ "updated_at":"2011-09-23T17:16:36-03:00",
80
+ "zona":""
81
+ },
82
+
83
+ {"bio":null,
84
+ "celular":null,
85
+ "confirmation_sent_at":null,
86
+ "confirmation_token":null,
87
+ "confirmed_at":null,
88
+ "created_at":"2011-09-23T17:16:36-03:00",
89
+ "email":"test4@meurio.org.br",
90
+ "encrypted_password":"",
91
+ "first_name":"Nicolas",
92
+ "has_login":null,
93
+ "has_non_oauth_login":null,
94
+ "id":207,
95
+ "image_content_type":null,
96
+ "image_file_name":null,
97
+ "image_file_size":null,
98
+ "image_updated_at":null,
99
+ "image_url":null,
100
+ "is_subscriber":true,
101
+ "last_name":"Iensen",
102
+ "meu_rio_is":null,
103
+ "password":null,
104
+ "reset_password_sent_at":null,
105
+ "reset_password_token":null,
106
+ "updated_at":"2011-09-23T17:16:36-03:00",
107
+ "zona":""
108
+ },
109
+
110
+ {"bio":null,
111
+ "celular":null,
112
+ "confirmation_sent_at":null,
113
+ "confirmation_token":null,
114
+ "confirmed_at":null,
115
+ "created_at":"2011-09-23T17:16:36-03:00",
116
+ "email":"test5@meurio.org.br",
117
+ "encrypted_password":"",
118
+ "first_name":"Luiz",
119
+ "has_login":null,
120
+ "has_non_oauth_login":null,
121
+ "id":209,
122
+ "image_content_type":null,
123
+ "image_file_name":null,
124
+ "image_file_size":null,
125
+ "image_updated_at":null,
126
+ "image_url":null,
127
+ "is_subscriber":true,
128
+ "last_name":"Fonseca",
129
+ "meu_rio_is":null,
130
+ "password":null,
131
+ "reset_password_sent_at":null,
132
+ "reset_password_token":null,
133
+ "updated_at":"2011-09-23T17:16:36-03:00",
134
+ "zona":""
135
+ }
136
+ ]
@@ -0,0 +1,110 @@
1
+ [
2
+ {
3
+ "comment": null,
4
+ "comment_accepted": null,
5
+ "created_at": "2011-09-23T16:21:45-03:00",
6
+ "id": 29,
7
+ "member_id": 38,
8
+ "petition_id": 1,
9
+ "updated_at": "2011-09-23T16:21:45-03:00",
10
+ "member": {
11
+ "bio": null,
12
+ "celular": null,
13
+ "confirmation_sent_at": null,
14
+ "confirmation_token": null,
15
+ "confirmed_at": "2011-11-03T00:57:53-02:00",
16
+ "created_at": "2011-09-23T15:32:09-03:00",
17
+ "email": "patricia.oakim@gmail.com",
18
+ "encrypted_password": "$2a$10$MOxRqOmYVdNUdbbNd0Uyu.EjDMMhN7N3ZwiHk93CRe5DlaCEYkAgu",
19
+ "first_name": "Patricia",
20
+ "has_login": true,
21
+ "has_non_oauth_login": true,
22
+ "id": 38,
23
+ "image_content_type": "image/png",
24
+ "image_file_name": "Screen shot 2011-09-21 at 3.15.25 PM.png",
25
+ "image_file_size": 88273,
26
+ "image_updated_at": "2011-09-23T15:34:20-03:00",
27
+ "image_url": "http://www.gravatar.com/avatar/83ac25fb1b7273753fa5dea9a156dd29.jpg?s=260&d=http://meurio.org.br/assets/avatar_blank.png",
28
+ "is_subscriber": true,
29
+ "last_name": "Oakim",
30
+ "meu_rio_is": "",
31
+ "password": null,
32
+ "reset_password_sent_at": null,
33
+ "reset_password_token": null,
34
+ "updated_at": "2011-11-03T00:57:53-02:00",
35
+ "zona": null
36
+ }
37
+ },
38
+ {
39
+ "comment": null,
40
+ "comment_accepted": null,
41
+ "created_at": "2011-09-23T16:46:54-03:00",
42
+ "id": 30,
43
+ "member_id": 41,
44
+ "petition_id": 1,
45
+ "updated_at": "2011-09-23T16:46:54-03:00",
46
+ "member": {
47
+ "bio": null,
48
+ "celular": null,
49
+ "confirmation_sent_at": null,
50
+ "confirmation_token": null,
51
+ "confirmed_at": "2011-11-03T00:57:53-02:00",
52
+ "created_at": "2011-09-23T16:46:54-03:00",
53
+ "email": "petra@purpose.com",
54
+ "encrypted_password": "",
55
+ "first_name": "petra",
56
+ "has_login": true,
57
+ "has_non_oauth_login": null,
58
+ "id": 41,
59
+ "image_content_type": null,
60
+ "image_file_name": null,
61
+ "image_file_size": null,
62
+ "image_updated_at": null,
63
+ "image_url": "http://www.gravatar.com/avatar/0d5e7b8bacf2d26f1d14c1fd5a98deb7.jpg?s=260&d=http://meurio.org.br/assets/avatar_blank.png",
64
+ "is_subscriber": true,
65
+ "last_name": "farinha",
66
+ "meu_rio_is": null,
67
+ "password": null,
68
+ "reset_password_sent_at": null,
69
+ "reset_password_token": null,
70
+ "updated_at": "2011-11-03T00:57:53-02:00",
71
+ "zona": ""
72
+ }
73
+ },
74
+ {
75
+ "comment": null,
76
+ "comment_accepted": null,
77
+ "created_at": "2011-09-23T17:00:01-03:00",
78
+ "id": 31,
79
+ "member_id": 42,
80
+ "petition_id": 1,
81
+ "updated_at": "2011-09-23T17:00:01-03:00",
82
+ "member": {
83
+ "bio": null,
84
+ "celular": null,
85
+ "confirmation_sent_at": null,
86
+ "confirmation_token": null,
87
+ "confirmed_at": "2011-11-03T00:57:53-02:00",
88
+ "created_at": "2011-09-23T17:00:01-03:00",
89
+ "email": "patricia@purpose.com",
90
+ "encrypted_password": "",
91
+ "first_name": "Patricia",
92
+ "has_login": true,
93
+ "has_non_oauth_login": null,
94
+ "id": 42,
95
+ "image_content_type": null,
96
+ "image_file_name": null,
97
+ "image_file_size": null,
98
+ "image_updated_at": null,
99
+ "image_url": "http://www.gravatar.com/avatar/aca05e93fa99a71375f3ad466f1512ee.jpg?s=260&d=http://meurio.org.br/assets/avatar_blank.png",
100
+ "is_subscriber": true,
101
+ "last_name": "Mello",
102
+ "meu_rio_is": null,
103
+ "password": null,
104
+ "reset_password_sent_at": null,
105
+ "reset_password_token": null,
106
+ "updated_at": "2011-11-03T00:57:53-02:00",
107
+ "zona": ""
108
+ }
109
+ }
110
+ ]
@@ -0,0 +1,110 @@
1
+ [
2
+ {
3
+ "comment": null,
4
+ "comment_accepted": null,
5
+ "created_at": "2011-09-23T17:16:36-03:00",
6
+ "id": 32,
7
+ "member_id": 43,
8
+ "petition_id": 1,
9
+ "updated_at": "2011-09-23T17:16:36-03:00",
10
+ "member": {
11
+ "bio": null,
12
+ "celular": null,
13
+ "confirmation_sent_at": null,
14
+ "confirmation_token": null,
15
+ "confirmed_at": null,
16
+ "created_at": "2011-09-23T17:16:36-03:00",
17
+ "email": "joao@purpose.com",
18
+ "encrypted_password": "",
19
+ "first_name": "joao",
20
+ "has_login": null,
21
+ "has_non_oauth_login": null,
22
+ "id": 43,
23
+ "image_content_type": null,
24
+ "image_file_name": null,
25
+ "image_file_size": null,
26
+ "image_updated_at": null,
27
+ "image_url": null,
28
+ "is_subscriber": true,
29
+ "last_name": "JORGE",
30
+ "meu_rio_is": null,
31
+ "password": null,
32
+ "reset_password_sent_at": null,
33
+ "reset_password_token": null,
34
+ "updated_at": "2011-09-23T17:16:36-03:00",
35
+ "zona": ""
36
+ }
37
+ },
38
+ {
39
+ "comment": null,
40
+ "comment_accepted": null,
41
+ "created_at": "2011-09-23T17:21:33-03:00",
42
+ "id": 33,
43
+ "member_id": 44,
44
+ "petition_id": 1,
45
+ "updated_at": "2011-09-23T17:21:33-03:00",
46
+ "member": {
47
+ "bio": null,
48
+ "celular": null,
49
+ "confirmation_sent_at": null,
50
+ "confirmation_token": null,
51
+ "confirmed_at": "2011-11-03T00:57:53-02:00",
52
+ "created_at": "2011-09-23T17:21:33-03:00",
53
+ "email": "joao@meurio.org.br",
54
+ "encrypted_password": "",
55
+ "first_name": "Jo\u00e3o",
56
+ "has_login": true,
57
+ "has_non_oauth_login": null,
58
+ "id": 44,
59
+ "image_content_type": "image/jpeg",
60
+ "image_file_name": "19357_306479033176_586183176_3608967_7555351_a.jpeg",
61
+ "image_file_size": 11159,
62
+ "image_updated_at": "2011-09-23T18:49:44-03:00",
63
+ "image_url": "http://www.gravatar.com/avatar/787dcad1d2550dd7127710308fa6dd2f.jpg?s=260&d=http://blazing-flower-102.herokuapp.com/assets/avatar_blank.png",
64
+ "is_subscriber": true,
65
+ "last_name": "Pessanha",
66
+ "meu_rio_is": " hor\u00e1rio de ver\u00e3o, com sol o dia todo e tor\u00f3 no fim de tarde.",
67
+ "password": null,
68
+ "reset_password_sent_at": null,
69
+ "reset_password_token": null,
70
+ "updated_at": "2012-02-28T19:10:07-03:00",
71
+ "zona": "Sul"
72
+ }
73
+ },
74
+ {
75
+ "comment": null,
76
+ "comment_accepted": null,
77
+ "created_at": "2011-09-23T18:32:51-03:00",
78
+ "id": 34,
79
+ "member_id": 45,
80
+ "petition_id": 1,
81
+ "updated_at": "2011-09-23T18:32:51-03:00",
82
+ "member": {
83
+ "bio": null,
84
+ "celular": null,
85
+ "confirmation_sent_at": null,
86
+ "confirmation_token": null,
87
+ "confirmed_at": null,
88
+ "created_at": "2011-09-23T18:32:51-03:00",
89
+ "email": "petra2@purpose.com",
90
+ "encrypted_password": "",
91
+ "first_name": "petra",
92
+ "has_login": null,
93
+ "has_non_oauth_login": null,
94
+ "id": 45,
95
+ "image_content_type": null,
96
+ "image_file_name": null,
97
+ "image_file_size": null,
98
+ "image_updated_at": null,
99
+ "image_url": null,
100
+ "is_subscriber": true,
101
+ "last_name": "farinha",
102
+ "meu_rio_is": null,
103
+ "password": null,
104
+ "reset_password_sent_at": null,
105
+ "reset_password_token": null,
106
+ "updated_at": "2011-09-23T18:32:51-03:00",
107
+ "zona": "Centro"
108
+ }
109
+ }
110
+ ]
@@ -0,0 +1,110 @@
1
+ [
2
+ {
3
+ "comment": null,
4
+ "comment_accepted": null,
5
+ "created_at": "2011-09-23T18:37:37-03:00",
6
+ "id": 35,
7
+ "member_id": 46,
8
+ "petition_id": 1,
9
+ "updated_at": "2011-09-23T18:37:37-03:00",
10
+ "member": {
11
+ "bio": null,
12
+ "celular": null,
13
+ "confirmation_sent_at": null,
14
+ "confirmation_token": null,
15
+ "confirmed_at": "2011-11-03T00:57:57-02:00",
16
+ "created_at": "2011-09-23T18:33:35-03:00",
17
+ "email": "leesean@purpose.com",
18
+ "encrypted_password": "",
19
+ "first_name": "Lee-Sean",
20
+ "has_login": true,
21
+ "has_non_oauth_login": null,
22
+ "id": 46,
23
+ "image_content_type": "image/jpeg",
24
+ "image_file_name": "317493_989611787881_2630_42617639_501002663_n.jpeg",
25
+ "image_file_size": 69130,
26
+ "image_updated_at": "2011-09-23T18:34:40-03:00",
27
+ "image_url": "http://www.gravatar.com/avatar/1f3ee684f85ecae34a048975c2b44464.jpg?s=260&d=http://blazing-flower-102.herokuapp.com/assets/avatar_blank.png",
28
+ "is_subscriber": true,
29
+ "last_name": "Huang",
30
+ "meu_rio_is": null,
31
+ "password": null,
32
+ "reset_password_sent_at": null,
33
+ "reset_password_token": null,
34
+ "updated_at": "2011-11-03T00:57:57-02:00",
35
+ "zona": "Outra localidade"
36
+ }
37
+ },
38
+ {
39
+ "comment": null,
40
+ "comment_accepted": null,
41
+ "created_at": "2011-09-23T18:47:08-03:00",
42
+ "id": 36,
43
+ "member_id": 48,
44
+ "petition_id": 1,
45
+ "updated_at": "2011-09-23T18:47:08-03:00",
46
+ "member": {
47
+ "bio": null,
48
+ "celular": null,
49
+ "confirmation_sent_at": null,
50
+ "confirmation_token": null,
51
+ "confirmed_at": "2011-11-03T00:57:53-02:00",
52
+ "created_at": "2011-09-23T18:45:33-03:00",
53
+ "email": "meurio.test@gmail.com",
54
+ "encrypted_password": "",
55
+ "first_name": "Meu",
56
+ "has_login": true,
57
+ "has_non_oauth_login": null,
58
+ "id": 48,
59
+ "image_content_type": null,
60
+ "image_file_name": null,
61
+ "image_file_size": null,
62
+ "image_updated_at": null,
63
+ "image_url": "http://www.gravatar.com/avatar/2cf7846ffdd6feccd112709cd883a6a6.jpg?s=260&d=http://blazing-flower-102.herokuapp.com/assets/avatar_blank.png",
64
+ "is_subscriber": true,
65
+ "last_name": "Rio",
66
+ "meu_rio_is": null,
67
+ "password": null,
68
+ "reset_password_sent_at": null,
69
+ "reset_password_token": null,
70
+ "updated_at": "2011-11-03T00:57:53-02:00",
71
+ "zona": null
72
+ }
73
+ },
74
+ {
75
+ "comment": null,
76
+ "comment_accepted": null,
77
+ "created_at": "2011-09-23T19:19:48-03:00",
78
+ "id": 37,
79
+ "member_id": 51,
80
+ "petition_id": 1,
81
+ "updated_at": "2011-09-23T19:19:48-03:00",
82
+ "member": {
83
+ "bio": "Um carioca completamente apaixonado pela cidade e que sabe que ela tem tudo para ser a melhor do mundo de se viver. S\u00f3 depende da gente :)",
84
+ "celular": null,
85
+ "confirmation_sent_at": null,
86
+ "confirmation_token": null,
87
+ "confirmed_at": "2011-11-03T00:57:54-02:00",
88
+ "created_at": "2011-09-23T19:15:18-03:00",
89
+ "email": "leonardoeloialves@gmail.com",
90
+ "encrypted_password": "$2a$10$pyO7KfxV5HPjn7jDSlIhveXuamrxgyDh2L9nOWVOGJ0gaiubTcXo.",
91
+ "first_name": "Leonardo",
92
+ "has_login": true,
93
+ "has_non_oauth_login": null,
94
+ "id": 51,
95
+ "image_content_type": "image/pjpeg",
96
+ "image_file_name": "leo.jpg",
97
+ "image_file_size": 8393,
98
+ "image_updated_at": "2011-09-27T13:22:59-03:00",
99
+ "image_url": "http://www.gravatar.com/avatar/cc4da30633788a652895219f5284455d.jpg?s=260&d=http://blazing-flower-102.herokuapp.com/assets/avatar_blank.png",
100
+ "is_subscriber": true,
101
+ "last_name": "Eloi",
102
+ "meu_rio_is": "a cidade mais bacana de se viver!",
103
+ "password": null,
104
+ "reset_password_sent_at": null,
105
+ "reset_password_token": null,
106
+ "updated_at": "2012-05-25T16:16:45-03:00",
107
+ "zona": "Sul"
108
+ }
109
+ }
110
+ ]
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mico
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Nícolas Iensen
9
+ - Luiz Fonseca
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-06-27 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rspec
17
+ requirement: &2165623980 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :development
24
+ prerelease: false
25
+ version_requirements: *2165623980
26
+ - !ruby/object:Gem::Dependency
27
+ name: httparty
28
+ requirement: &2165623300 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *2165623300
37
+ - !ruby/object:Gem::Dependency
38
+ name: webmock
39
+ requirement: &2165639160 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ type: :development
46
+ prerelease: false
47
+ version_requirements: *2165639160
48
+ description:
49
+ email:
50
+ - nicolas@engage.is
51
+ - luiz@engage.is
52
+ executables: []
53
+ extensions: []
54
+ extra_rdoc_files: []
55
+ files:
56
+ - .gitignore
57
+ - .rspec
58
+ - Gemfile
59
+ - LICENSE
60
+ - README.md
61
+ - Rakefile
62
+ - lib/mico.rb
63
+ - lib/mico/version.rb
64
+ - mico.gemspec
65
+ - spec/issue_spec.rb
66
+ - spec/member_spec.rb
67
+ - spec/petition_signature_spec.rb
68
+ - spec/spec_helper.rb
69
+ - spec/support/issues_page1.json
70
+ - spec/support/members_page1.json
71
+ - spec/support/members_page2.json
72
+ - spec/support/members_page3.json
73
+ - spec/support/signatures_page1.json
74
+ - spec/support/signatures_page2.json
75
+ - spec/support/signatures_page3.json
76
+ homepage: https://github.com/meurio/mico
77
+ licenses: []
78
+ post_install_message:
79
+ rdoc_options: []
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubyforge_project:
96
+ rubygems_version: 1.8.17
97
+ signing_key:
98
+ specification_version: 3
99
+ summary: Wrapper para a API do Meu Rio
100
+ test_files:
101
+ - spec/issue_spec.rb
102
+ - spec/member_spec.rb
103
+ - spec/petition_signature_spec.rb
104
+ - spec/spec_helper.rb
105
+ - spec/support/issues_page1.json
106
+ - spec/support/members_page1.json
107
+ - spec/support/members_page2.json
108
+ - spec/support/members_page3.json
109
+ - spec/support/signatures_page1.json
110
+ - spec/support/signatures_page2.json
111
+ - spec/support/signatures_page3.json
112
+ has_rdoc: