pilgrim 0.1.1 → 0.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 +8 -8
- data/README.rdoc +3 -3
- data/lib/pilgrim/engine.rb +1 -1
- data/lib/pilgrim/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTUyYjMwMTJlZTMwODRkMDg5ODdhMWZiNTRkYTI4NWI0ZTgwZDYzYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDRmNzkwYzM4OWNjNGIwNjRkNDcxZjJmY2I1ZTg4NTA0ODJhOTNlOQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2ExZWQ1NTZhYzI1OTM1NWNiOGU4M2NkOWI5NzVlODIxMGRkMDE2MmMxZTAx
|
10
|
+
YjBjOGU1MmRkYmMwOGU0MDg1YTRiZTk1NGIyNTU1ZjkxNzZiMDMxOTkyZjY5
|
11
|
+
M2I0NzQ0MDBkZWQxNmFiNjIwODBiY2ViZGNlODVkY2FhODdjN2M=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjhkMDg5MzlhNmEzMDlhYTM3ZDYwMGI1YjQ2MzczOTViMmIyZmU1ODc5NWYw
|
14
|
+
ZmYyNzhiYzA2MjA1Y2IyOTdlNzVkOTcwOGQyOTNiZmYzYzc2OTEyNzVhNGQ2
|
15
|
+
NWMyMzQzY2Y3MjU2ODRlZDM5NDZmN2Y3OTE3YWFhYzc2OWM1M2U=
|
data/README.rdoc
CHANGED
@@ -10,10 +10,10 @@ Choose countries, states and cities via Ajax
|
|
10
10
|
2. Run <tt>bundle</tt>
|
11
11
|
3. Execute: <tt>rails generate pilgrim:install</tt>
|
12
12
|
4. Run migrations: <tt>rake db:migrate</tt>
|
13
|
-
5.
|
13
|
+
5. At this time there is no seeds file, but some SQL files. You will have to import the SQL files that are generated in step7 - this files are stored in the db directory.
|
14
14
|
6. Add to your routes.rb: <tt>mount Pilgrim::Engine => "/pilgrim", :as => "pilgrim"</tt>
|
15
|
-
7.
|
16
|
-
8.
|
15
|
+
7. Add to your application.js: <tt>//= require pilgrim/application</tt>
|
16
|
+
8. (Optional) Generate the views so you can configure them executing: <tt>rails generate pilgrim:generate_views</tt> (this will save the views in your_project/app/views/pilgrim)
|
17
17
|
9. Watch the test/dummy for an example (watch the welcome controller and its views)
|
18
18
|
---
|
19
19
|
|
data/lib/pilgrim/engine.rb
CHANGED
@@ -4,7 +4,7 @@ module Pilgrim
|
|
4
4
|
|
5
5
|
config.generators.load_generators
|
6
6
|
|
7
|
-
initializer '
|
7
|
+
initializer 'pilgrim.action_controller' do |app|
|
8
8
|
ActiveSupport.on_load :action_controller do
|
9
9
|
extend Pilgrim::Methods::ClassMethods
|
10
10
|
include Pilgrim::Methods::InstanceMethods
|
data/lib/pilgrim/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pilgrim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pablo Marti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|